Difference between revisions of "Template:Navbox"

From Captain of Industry Wiki
Jump to: navigation, search
(+clear)
(migrate some styling from element.style to styles.css)
Line 1: Line 1:
<includeonly>
<includeonly>
<templatestyles src="Template:Navbox/styles.css" />{{clear}}
<templatestyles src="Template:Navbox/styles.css" />{{clear}}
{| class="{{#ifeq:{{{collapsed}}}|true|mw-collapsible mw-collapsed|mw-collapsible}}" data-expandtext="show" data-collapsetext="hide" style="font-size: 14px; text-align:left; background-color: rgba(252,162,58,1); border: 1px solid rgba(0,0,0,1); 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 style="text-align:center; background-color:rgba(0,0,0,1); color:#fff;" | <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="header" | <span style="font: bold 20px sans-serif">[[:Category:{{{title}}}|{{{title}}}]]</span> <span style="float:left; font: 12px/24px sans-serif;"></span>
|-  
|-  



Revision as of 06:56, 22 January 2022

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