Template:Box: Difference between revisions

From Zenith
Jump to navigation Jump to search
Content added Content deleted
m (hate this)
(idk anymore? ?)
Line 22: Line 22:


<noinclude>
<noinclude>
To use this, type <nowiki>{{Box|title=Title|Text goes here}}</nowiki>.
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"1": {},
"1": {
"label": "Content",
"type": "string",
"required": true
},
"border": {
"border": {
"type": "string",
"type": "string",
Line 54: Line 57:
"label": "Extra CSS",
"label": "Extra CSS",
"type": "string"
"type": "string"
},
"text": {
"label": "Text",
"type": "string",
"required": true
}
}
},
},
Line 64: Line 62:
"1",
"1",
"title",
"title",
"text",
"titleforeground",
"titleforeground",
"titlebackground",
"titlebackground",
"border",
"titlestyle",
"titlestyle",
"style"
"style",
"border"
]
],
"description": "Usage: <code><nowiki>{{Box|title=Title|Text goes here}}</nowiki></code>."
}
}
</templatedata>
</templatedata>

Revision as of 13:00, 30 March 2021

 
{{{title}}}
{{{1}}}


Usage: <code><nowiki>{{Box|title=Title|Text goes here}}</nowiki></code>.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Content1

no description

Stringrequired
Titletitle

no description

Stringrequired
Title Foreground Colortitleforeground

no description

Default
#FFFFFF
Stringoptional
Title Background Colortitlebackground

no description

Default
#2c8aa1
Stringoptional
Title CSStitlestyle

no description

Stringoptional
Extra CSSstyle

no description

Stringoptional
Border Colorborder

no description

Default
#2c8aa1
Stringoptional

Examples:

 
Example Title
Example Content


 
Example Title
Example Content


 
Example Title
Example Content


 
{{{title}}}
Example Content