Template:Navbox: Difference between revisions
From Splatoon Fanon
Trig Jegman (talk | contribs) mNo edit summary |
tweaking to be just a little prettier |
||
| Line 1: | Line 1: | ||
<templatestyles src="Template:Navbox/styles.css" /> | <templatestyles src="Template:Navbox/styles.css" /> | ||
{| class="round templatetext navbox mw-collapsible autocollapse {{{class|}}}" style="border:2px #{{{tableborder|000000}}} solid; background-color:#{{{tablecolor|{{color| | {| class="round templatetext navbox mw-collapsible autocollapse {{{class|}}}" style="border:2px #{{{tableborder|000000}}} solid; background-color:#{{{tablecolor|{{color|site-purple}}}}}; {{{style|}}}" | ||
! class="round" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color| | ! class="round" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|black}}}}} solid; background-color:#{{{headercolor|{{color|site-pink}}}}}; padding:2px" | '''{{{header|Header}}}''' | ||
|-<noinclude> | |-<noinclude> | ||
|} | |} | ||
Latest revision as of 19:44, 29 May 2026
| Header |
|---|
| This page uses CSS from Template:Navbox/styles.css. | |
|---|---|
| Most style elements should be controlled from there. |
Navbox framework. Do not use this template directly! Instead, use it as the header to create other subpage templates to this page.
Some configurations are available:
tableborder: Changes the outside border colortablecolor: Changes the table colorheaderborder: Changes the header border colorheadercolor: Changes the header background colorheader: Text to go within the headerclass: Any auxiliary classes for the entire navboxstyle: Any auxiliary styles for the entire navbox
{{Naxbox|tableborder=|tablecolor=|headerborder=|headercolor=|header=|class=|style=}}
!
|
|-
!
|
|}