Difference between revisions of "Template:Navbox"
| Line 1: | Line 1: | ||
| − | {| style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;" | + | {| style="width:100%; margin-top:1em; border:1px solid #{{{999}}}; font-size:90%; text-align:center;" |
|- | |- | ||
! class="color1" style="padding:0em 0em; background:{{{bgcolor}}}; color:{{{textcolor}}}" nowrap="nowrap"| {{{header}}} | ! class="color1" style="padding:0em 0em; background:{{{bgcolor}}}; color:{{{textcolor}}}" nowrap="nowrap"| {{{header}}} | ||
| Line 8: | Line 8: | ||
<noinclude> | <noinclude> | ||
{{T}} | {{T}} | ||
| + | |||
| + | == Parameters == | ||
| + | header: header content<br> | ||
| + | body: body content<br> | ||
| + | bgcolor: header background color<br> | ||
| + | textcolor: header text color<br> | ||
| + | wt: border weight<br> | ||
| + | |||
| + | == Copyable == | ||
| + | <pre>{{Navbox | ||
| + | <nowiki>|header=</nowiki> | ||
| + | <nowiki>|body=</nowiki> | ||
| + | <nowiki>|bgcolor=</nowiki> | ||
| + | <nowiki>|textcolor=</nowiki> | ||
| + | <nowiki>|wt=</nowiki> | ||
| + | <nowiki>}}</nowiki></pre> | ||
| + | |||
| + | == Example == | ||
| + | <pre>{{Navbox | ||
| + | <nowiki>|header=Navbars R Cool</nowiki> | ||
| + | <nowiki>|body=See what I mean?</nowiki> | ||
| + | <nowiki>|bgcolor=orange</nowiki> | ||
| + | <nowiki>|textcolor=red</nowiki> | ||
| + | <nowiki>|wt=999</nowiki> | ||
| + | <nowiki>}}</nowiki></pre> | ||
| + | |||
| + | Yields: | ||
| + | {{Navbox | ||
| + | |header=Navbars R Cool | ||
| + | |body=See what I mean? | ||
| + | |bgcolor=orange | ||
| + | |textcolor=red | ||
| + | |wt=999 | ||
| + | }} | ||
| + | |||
</noinclude> | </noinclude> | ||
Revision as of 22:36, 15 October 2014
| {{{header}}} | Edit |
|---|---|
| {{{body}}} | |
Parameters
header: header content
body: body content
bgcolor: header background color
textcolor: header text color
wt: border weight
Copyable
{{Navbox
|header=
|body=
|bgcolor=
|textcolor=
|wt=
}}
Example
{{Navbox
|header=Navbars R Cool
|body=See what I mean?
|bgcolor=orange
|textcolor=red
|wt=999
}}
Yields:
| Navbars R Cool | |
|---|---|
| See what I mean? | |