Difference between revisions of "Template:Navbox"
From Captain of Industry Wiki
ABravePanda (talk | contribs) (Created page with "<includeonly>{| class="{{#ifeq:{{{collapsed}}}|true|mw-collapsible mw-collapsed|mw-collapsible}}" data-expandtext="show" data-collapsetext="hide" style="text-align:left; background-color:#F9F9F9; border: 1px solid #68191B; width:{{#switch:{{lc:{{{size|}}}}} | wide = 90 | thin = 30 | #default = 60}}%" align="center" cellpadding="4px" cellspacing="2px" |- | colspan=2 height=30px style="text-align:center; background-color:#68191B; color:#fff;" | <span style="font: bold 20px...") |
(add icon parameter) |
||
(23 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="{{#ifeq:{{{collapsed}}}|true|mw-collapsible mw-collapsed|mw-collapsible}}" data-expandtext="show" data-collapsetext="hide" | <includeonly> | ||
<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" | |||
|- | |- | ||
| colspan=2 height=30px | | colspan=2 height=30px class="navbox_header" | <span class="navbox_title">[[:Category:{{{title}}}|{{{title}}}]]</span> | ||
|- | |- | ||
{{#if:{{{above|}}}| | {{#if:{{{above|}}}| | ||
{{!}} colspan=2 | {{!}} class="above" colspan="2" {{!}} {{{above}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group1|}}}| | {{#if:{{{group1|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon1|}}}|{{infoicon|{{{icon1}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat1|}}}|{{{group1}}}|[[:Category:{{{group1}}}|{{{group1}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list1}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group2|}}}| | {{#if:{{{group2|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon2|}}}|{{infoicon|{{{icon2}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat2|}}}|{{{group2}}}|[[:Category:{{{group2}}}|{{{group2}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list2}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group3|}}}| | {{#if:{{{group3|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon3|}}}|{{infoicon|{{{icon3}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat3|}}}|{{{group3}}}|[[:Category:{{{group3}}}|{{{group3}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list3}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group4|}}}| | {{#if:{{{group4|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon4|}}}|{{infoicon|{{{icon4}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat4|}}}|{{{group4}}}|[[:Category:{{{group4}}}|{{{group4}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list4}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group5|}}}| | {{#if:{{{group5|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon5|}}}|{{infoicon|{{{icon5}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat5|}}}|{{{group5}}}|[[:Category:{{{group5}}}|{{{group5}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list5}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group6|}}}| | {{#if:{{{group6|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon6|}}}|{{infoicon|{{{icon6}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat6|}}}|{{{group6}}}|[[:Category:{{{group6}}}|{{{group6}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list6}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group7|}}}| | {{#if:{{{group7|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon7|}}}|{{infoicon|{{{icon7}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat7|}}}|{{{group7}}}|[[:Category:{{{group7}}}|{{{group7}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list7}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group8|}}}| | {{#if:{{{group8|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon8|}}}|{{infoicon|{{{icon8}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat8|}}}|{{{group8}}}|[[:Category:{{{group8}}}|{{{group8}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list8}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group9|}}}| | {{#if:{{{group9|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon9|}}}|{{infoicon|{{{icon9}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat9|}}}|{{{group9}}}|[[:Category:{{{group9}}}|{{{group9}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list9}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group10|}}}| | {{#if:{{{group10|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon10|}}}|{{infoicon|{{{icon10}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat10|}}}|{{{group10}}}|[[:Category:{{{group10}}}|{{{group10}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list10}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group11|}}}| | {{#if:{{{group11|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon11|}}}|{{infoicon|{{{icon11}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat11|}}}|{{{group11}}}|[[:Category:{{{group11}}}|{{{group11}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list11}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group12|}}}| | {{#if:{{{group12|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon12|}}}|{{infoicon|{{{icon12}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat12|}}}|{{{group12}}}|[[:Category:{{{group12}}}|{{{group12}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list12}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group13|}}}| | {{#if:{{{group13|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon13|}}}|{{infoicon|{{{icon13}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat13|}}}|{{{group13}}}|[[:Category:{{{group13}}}|{{{group13}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list13}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group14|}}}| | {{#if:{{{group14|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon14|}}}|{{infoicon|{{{icon14}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat14|}}}|{{{group14}}}|[[:Category:{{{group14}}}|{{{group14}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list14}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group15|}}}| | {{#if:{{{group15|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon15|}}}|{{infoicon|{{{icon15}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat15|}}}|{{{group15}}}|[[:Category:{{{group15}}}|{{{group15}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list15}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group16|}}}| | {{#if:{{{group16|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon16|}}}|{{infoicon|{{{icon16}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat16|}}}|{{{group16}}}|[[:Category:{{{group16}}}|{{{group16}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list16}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group17|}}}| | {{#if:{{{group17|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon17|}}}|{{infoicon|{{{icon17}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat17|}}}|{{{group17}}}|[[:Category:{{{group17}}}|{{{group17}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list17}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group18|}}}| | {{#if:{{{group18|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon18|}}}|{{infoicon|{{{icon18}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat18|}}}|{{{group18}}}|[[:Category:{{{group18}}}|{{{group18}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list18}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group19|}}}| | {{#if:{{{group19|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon19|}}}|{{infoicon|{{{icon19}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat19|}}}|{{{group19}}}|[[:Category:{{{group19}}}|{{{group19}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list19}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group20|}}}| | {{#if:{{{group20|}}}| | ||
{{!}} | {{!}} class="group" {{!}} {{#if:{{{icon20|}}}|{{infoicon|{{{icon20}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat20|}}}|{{{group20}}}|[[:Category:{{{group20}}}|{{{group20}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list20}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{below|}}}| | {{#if:{{{below|}}}| | ||
{{!}} colspan=2 | {{!}} class="below" colspan="2" {{!}} {{{below}}} | ||
}} | |||
</includeonly><noinclude><pre>{{Navbox | |||
|size=default | |size=default | ||
|title=Machines | |||
|title= | |group1=Metallurgy & Smelting | ||
| | |icon1=Metallurgy & Smelting | ||
| | |list1=[[Arc Furnace]] • | ||
|list1= | |group2=Storage | ||
|group2= | |icon2=Storage | ||
|list2= | |list2=Mixer, Other | ||
|group3= | |group3=Other | ||
|list3= | |list3=Mixer | ||
| | |nocat3=1 | ||
}}</pre> | }}</pre> | ||
{{Navbox | {{Navbox | ||
|size=default | |size=default | ||
|title=Machines | |||
|title= | |group1=Metallurgy & Smelting | ||
| | |icon1=Metallurgy & Smelting | ||
| | |list1=[[Arc Furnace]] • [[Arc Furnace II]] • | ||
|list1= | |group2=Storage | ||
|group2= | |icon2=Storage | ||
|list2= | |list2=Mixer, Other | ||
|group3= | |group3=Other | ||
|list3= | |list3=Mixer | ||
| | |nocat3=1 | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 06:35, 23 May 2023
{{Navbox |size=default |title=Machines |group1=Metallurgy & Smelting |icon1=Metallurgy & Smelting |list1=[[Arc Furnace]] • |group2=Storage |icon2=Storage |list2=Mixer, Other |group3=Other |list3=Mixer |nocat3=1 }}
Metallurgy & Smelting | Arc Furnace • Arc Furnace II • |
Storage | Mixer, Other |
Other | Mixer |