Difference between revisions of "Template:Box"

From CPUdev wiki
Jump to navigation Jump to search
(Created page with "<div style="background-color: #fff7f2; border: solid 1px #ffddc6; padding: 0.5em; margin-bottom: 13px;"> <div style="font-weight: bold; background-color: #ffe7d6; margin: 0; b...")
 
(Params start at 1)
 
Line 1: Line 1:
<div style="background-color: #fff7f2; border: solid 1px #ffddc6; padding: 0.5em; margin-bottom: 13px;">
<div style="background-color: #fff7f2; border: solid 1px #ffddc6; padding: 0.5em; margin-bottom: 13px;">
<div style="font-weight: bold; background-color: #ffe7d6; margin: 0; border: solid 1px #ffddc6; padding: 0 0.5em 0 0.5em;">{{{title}}}</div>
<div style="font-weight: bold; background-color: #ffe7d6; margin: 0; border: solid 1px #ffddc6; padding: 0 0.5em 0 0.5em;">{{{title}}}</div>
{{{0}}}
{{{1}}}
</div>
</div>
<noinclude>
<noinclude>
Line 7: Line 7:
{
{
"params": {
"params": {
"0": {
"1": {
"label": "Body",
"label": "Body",
"description": "Contents of the box",
"description": "Contents of the box",
Line 25: Line 25:
"paramOrder": [
"paramOrder": [
"title",
"title",
"0"
"1"
],
],
"format": "block"
"format": "block"

Latest revision as of 20:55, 5 July 2021

{{{title}}}

{{{1}}}

makes a box like on the homepage

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Title of the box

Contentoptional
Body1

Contents of the box

Contentrequired