Difference between revisions of "Template:Navbox"

From Captain of Industry Wiki
Jump to: navigation, search
(migrate some styling from element.style to styles.css)
(more cleanup)
Line 2: Line 2:
<templatestyles src="Template:Navbox/styles.css" />{{clear}}
<templatestyles src="Template:Navbox/styles.css" />{{clear}}
{| class="{{#ifeq:{{{collapsed}}}|true|mw-collapsible mw-collapsed|mw-collapsible}} navbox" data-expandtext="show" data-collapsetext="hide" width:{{#switch:{{lc:{{{size|}}}}} | wide = 90 | thin = 30 | #default = 80}}%" align="center" cellpadding="4px" cellspacing="2px"
{| class="{{#ifeq:{{{collapsed}}}|true|mw-collapsible mw-collapsed|mw-collapsible}} navbox" data-expandtext="show" data-collapsetext="hide" width:{{#switch:{{lc:{{{size|}}}}} | wide = 90 | thin = 30 | #default = 80}}%" align="center" cellpadding="4px" cellspacing="2px"
|-
|-
| colspan=2 height=30px class="header" | <span style="font: bold 20px sans-serif">[[:Category:{{{title}}}|{{{title}}}]]</span> <span style="float:left; font: 12px/24px sans-serif;"></span>
| colspan=2 height=30px class="navbox_header" | <span class="navbox_title">[[:Category:{{{title}}}|{{{title}}}]]</span>
|-  
|-  
{{#if:{{{above|}}}|
{{#if:{{{above|}}}|
{{!}} class="above" {{!}} {{{above}}}
{{!}} class="above" {{!}} {{{above}}}

Revision as of 06:59, 22 January 2022

{{Navbox
|size=default
|title=Machines
|group1=Metallurgy & Smelting
|list1=[[Arc Furnace]] •
|group2=Storage
|list2=Mixer, Other
|group3=Other
|list3=Mixer
}}