Difference between revisions of "Template:Navbox"
From Captain of Industry Wiki
(add icon parameter) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|- | |- | ||
{{#if:{{{group1|}}}| | {{#if:{{{group1|}}}| | ||
{{!}} class="group" {{!}} {{#if:{{{nocat1|}}}|{{{group1}}}|[[:Category:{{{group1}}}|{{{group1}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list1}}} | {{!}} 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:{{{nocat2|}}}|{{{group2}}}|[[:Category:{{{group2}}}|{{{group2}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list2}}} | {{!}} 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:{{{nocat3|}}}|{{{group3}}}|[[:Category:{{{group3}}}|{{{group3}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list3}}} | {{!}} 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:{{{nocat4|}}}|{{{group4}}}|[[:Category:{{{group4}}}|{{{group4}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list4}}} | {{!}} 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:{{{nocat5|}}}|{{{group5}}}|[[:Category:{{{group5}}}|{{{group5}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list5}}} | {{!}} 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:{{{nocat6|}}}|{{{group6}}}|[[:Category:{{{group6}}}|{{{group6}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list6}}} | {{!}} 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:{{{nocat7|}}}|{{{group7}}}|[[:Category:{{{group7}}}|{{{group7}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list7}}} | {{!}} 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:{{{nocat8|}}}|{{{group8}}}|[[:Category:{{{group8}}}|{{{group8}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list8}}} | {{!}} 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:{{{nocat9|}}}|{{{group9}}}|[[:Category:{{{group9}}}|{{{group9}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list9}}} | {{!}} 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:{{{nocat10|}}}|{{{group10}}}|[[:Category:{{{group10}}}|{{{group10}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list10}}} | {{!}} 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:{{{nocat11|}}}|{{{group11}}}|[[:Category:{{{group11}}}|{{{group11}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list11}}} | {{!}} 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:{{{nocat12|}}}|{{{group12}}}|[[:Category:{{{group12}}}|{{{group12}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list12}}} | {{!}} 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:{{{nocat13|}}}|{{{group13}}}|[[:Category:{{{group13}}}|{{{group13}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list13}}} | {{!}} 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:{{{nocat14|}}}|{{{group14}}}|[[:Category:{{{group14}}}|{{{group14}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list14}}} | {{!}} 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:{{{nocat15|}}}|{{{group15}}}|[[:Category:{{{group15}}}|{{{group15}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list15}}} | {{!}} 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:{{{nocat16|}}}|{{{group16}}}|[[:Category:{{{group16}}}|{{{group16}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list16}}} | {{!}} 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:{{{nocat17|}}}|{{{group17}}}|[[:Category:{{{group17}}}|{{{group17}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list17}}} | {{!}} 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:{{{nocat18|}}}|{{{group18}}}|[[:Category:{{{group18}}}|{{{group18}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list18}}} | {{!}} 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:{{{nocat19|}}}|{{{group19}}}|[[:Category:{{{group19}}}|{{{group19}}}]]}} {{!}}{{!}} class="row_even" {{!}} {{{list19}}} | {{!}} 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:{{{nocat20|}}}|{{{group20}}}|[[:Category:{{{group20}}}|{{{group20}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list20}}} | {{!}} class="group" {{!}} {{#if:{{{icon20|}}}|{{infoicon|{{{icon20}}}|icononly=yes|new=yes}}}} {{#if:{{{nocat|}}}{{{nocat20|}}}|{{{group20}}}|[[:Category:{{{group20}}}|{{{group20}}}]]}} {{!}}{{!}} class="row_odd" {{!}} {{{list20}}} | ||
}} | }} | ||
|- | |- | ||
Line 96: | Line 96: | ||
|title=Machines | |title=Machines | ||
|group1=Metallurgy & Smelting | |group1=Metallurgy & Smelting | ||
|icon1=Metallurgy & Smelting | |||
|list1=[[Arc Furnace]] • | |list1=[[Arc Furnace]] • | ||
|group2=Storage | |group2=Storage | ||
|icon2=Storage | |||
|list2=Mixer, Other | |list2=Mixer, Other | ||
|group3=Other | |group3=Other | ||
|list3=Mixer | |list3=Mixer | ||
|nocat3=1 | |||
}}</pre> | }}</pre> | ||
{{Navbox | {{Navbox | ||
Line 106: | Line 109: | ||
|title=Machines | |title=Machines | ||
|group1=Metallurgy & Smelting | |group1=Metallurgy & Smelting | ||
|icon1=Metallurgy & Smelting | |||
|list1=[[Arc Furnace]] • [[Arc Furnace II]] • | |list1=[[Arc Furnace]] • [[Arc Furnace II]] • | ||
|group2=Storage | |group2=Storage | ||
|icon2=Storage | |||
|list2=Mixer, Other | |list2=Mixer, Other | ||
|group3=Other | |group3=Other | ||
|list3=Mixer | |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 |