Template:Box: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Jhmaster2000 (talk | contribs) (idk anymore? ?) |
Jhmaster2000 (talk | contribs) (ok) |
||
Line 19: | Line 19: | ||
--></span ><!-- |
--></span ><!-- |
||
--><div style="font-size: 100%;font-weight: bold;border: none; margin: 0; padding: 0; padding-bottom: 0.1em;"><font color="{{{titleforeground|#FFFFFF}}}">{{{title}}}</font></div></div> |
--><div style="font-size: 100%;font-weight: bold;border: none; margin: 0; padding: 0; padding-bottom: 0.1em;"><font color="{{{titleforeground|#FFFFFF}}}">{{{title}}}</font></div></div> |
||
<div style="display: block; border: 1px solid {{{border|# |
<div style="display: block; border: 1px solid {{{border|#2C8AA1}}}; vertical-align: top; margin-bottom: 10px; padding: .8em 1em 1em 1.3em; margin-top: 0em; border-radius: 0 0 1.5em 1.5em; {{{style|}}};">{{{1}}}</div> |
||
<noinclude> |
<noinclude> |
||
Usage: <code><nowiki>{{Box|title=Title|Text goes here}}</nowiki></code>. |
|||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
Line 32: | Line 33: | ||
"border": { |
"border": { |
||
"type": "string", |
"type": "string", |
||
"default": "# |
"default": "#2C8AA1", |
||
"label": "Border Color" |
"label": "Border Color" |
||
}, |
}, |
||
"titlebackground": { |
"titlebackground": { |
||
"type": "string", |
"type": "string", |
||
"default": "# |
"default": "#2C8AA1", |
||
"label": "Title Background Color" |
"label": "Title Background Color" |
||
}, |
}, |
||
Line 68: | Line 69: | ||
"border" |
"border" |
||
], |
], |
||
"description": " |
"description": "Copied from Horizon." |
||
} |
} |
||
</templatedata> |
</templatedata> |
||
Line 74: | Line 75: | ||
Examples: |
Examples: |
||
{{Box|title=Example Title|Example Content}} |
{{Box|title=Example Title|Example Content}} |
||
{{Box|title=Example Title| |
{{Box|title=Example Title|}} |
||
{{Box |
{{Box|title=Example Title}} |
||
{{Box|Example Content}} |
{{Box|Example Content}} |
||
{{Box|}} |
|||
{{Box}} |
|||
</noinclude> |
</noinclude> |
Revision as of 13:04, 30 March 2021
{{{title}}}
{{{1}}}
Usage: {{Box|title=Title|Text goes here}}
.
Copied from Horizon.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | 1 | no description | String | required |
Title | title | no description | String | required |
Title Foreground Color | titleforeground | no description
| String | optional |
Title Background Color | titlebackground | no description
| String | optional |
Title CSS | titlestyle | no description | String | optional |
Extra CSS | style | no description | String | optional |
Border Color | border | no description
| String | optional |
Examples:
Example Title
Example Content
Example Title
Example Title
{{{1}}}
{{{title}}}
Example Content
{{{title}}}
{{{title}}}
{{{1}}}