Template:Navbox: Difference between revisions

From Splatoon Fanon
Created page with "<templatestyles src="Template:Navbox/styles.css" /> {| class="round templatetext navbox mw-collapsible autocollapse {{{class|}}}" style="border:2px #{{{tableborder|000000}}} solid; background-color:#{{{tablecolor|{{color|burnt-gold}}}}}; {{{style|}}}" ! class="round" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|medium-yellow}}}}} solid; background-color:#{{{headercolor|{{color|yellow}}}}}; padding:2px" | '''{{{header|Header}}}''' |-<noinclude> |}..."
 
tweaking to be just a little prettier
 
(One intermediate revision by one other user not shown)
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|burnt-gold}}}}}; {{{style|}}}"
{| 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|medium-yellow}}}}} solid; background-color:#{{{headercolor|{{color|yellow}}}}}; padding:2px" | '''{{{header|Header}}}'''
! class="round" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|black}}}}} solid; background-color:#{{{headercolor|{{color|site-pink}}}}}; padding:2px" | '''{{{header|Header}}}'''
|-<noinclude>
|-<noinclude>
|}
|}
 
{{Uses TemplateStyles}}
Navbox framework. '''Do not use this template directly!''' Instead, use it as the header to create other subpage templates to this page.
Navbox framework. '''Do not use this template directly!''' Instead, use it as the header to create other subpage templates to this page.


Line 26: Line 26:
|}
|}
</pre>
</pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:44, 29 May 2026

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 color
  • tablecolor: Changes the table color
  • headerborder: Changes the header border color
  • headercolor: Changes the header background color
  • header: Text to go within the header
  • class: Any auxiliary classes for the entire navbox
  • style: Any auxiliary styles for the entire navbox
{{Naxbox|tableborder=|tablecolor=|headerborder=|headercolor=|header=|class=|style=}}
!
|
|-
!
|
|}