Difference between revisions of "Template:Navbox"
From Machina Main Cluster Official Wiki
Tag: mw-reverted |
Tag: mw-reverted |
||
| Line 5: | Line 5: | ||
|style="width: 100%; margin: 1em; text-align: {{{align|center}}}; padding: 0.5em 1em; color: {{{listcolor|#000000}}}; font-size: {{{fontsize|100}}}%"| {{{list}}} | |style="width: 100%; margin: 1em; text-align: {{{align|center}}}; padding: 0.5em 1em; color: {{{listcolor|#000000}}}; font-size: {{{fontsize|100}}}%"| {{{list}}} | ||
|}{{{category|}}}<noinclude> | |}{{{category|}}}<noinclude> | ||
| − | == | + | == Parameters == |
| − | + | {| {{STDT}} | |
| − | + | |- style="background:lightgray;" | |
| − | + | ! Parameter !! Optional? !! Default !! Notes | |
| − | + | |- | |
| − | * | + | | '''title''' || || || The title (header) of the box |
| − | + | |- | |
| − | + | | '''list''' || || || The contents (list) of the box | |
| + | |- | ||
| + | | '''image''' || Optional || || | ||
| + | |- | ||
| + | | '''boxbackcolor''' || Optional || #f8f8ff || The box's background color | ||
| + | |- | ||
| + | | '''bordercolor''' || Optional || #bebebe || The box's border color | ||
| + | |- | ||
| + | | '''titlebackcolor''' || Optional || #ccddee || The box's header background color | ||
| + | |- | ||
| + | | '''titlecolor''' || Optional || #000000 || The box's header font color | ||
| + | |- | ||
| + | | '''align''' || Optional || center || Use only these values: | ||
| + | * ''center'' — Centers the text | ||
| + | * ''justify'' — Stretches the lines so that each line has equal width | ||
| + | * ''left'' — Aligns the text to the left | ||
| + | * ''right'' — Aligns the text to the right | ||
| + | |- | ||
| + | | '''listcolor''' || Optional || #000000 || The list's font color | ||
| + | |- | ||
| + | | '''fontsize''' || Optional || 100 || The list's font size in percentages | ||
| + | |- | ||
| + | | '''category''' || Optional || || | ||
| + | |} | ||
Revision as of 20:19, 23 August 2021
| {{{title}}} | |
| {{{list}}} |
Parameters
| Parameter | Optional? | Default | Notes |
|---|---|---|---|
| title | The title (header) of the box | ||
| list | The contents (list) of the box | ||
| image | Optional | ||
| boxbackcolor | Optional | #f8f8ff | The box's background color |
| bordercolor | Optional | #bebebe | The box's border color |
| titlebackcolor | Optional | #ccddee | The box's header background color |
| titlecolor | Optional | #000000 | The box's header font color |
| align | Optional | center | Use only these values:
|
| listcolor | Optional | #000000 | The list's font color |
| fontsize | Optional | 100 | The list's font size in percentages |
| category | Optional |