Template:HW buildings: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#switch:{{{1|}}}|" to "{{#switch:{{{1|}}} |")
No edit summary
Line 1: Line 1:
{{#switch:{{{1|}}}
|HW=
{{Navbox
{{Navbox
|name=HW buildings
|name=HW buildings
|title=Buildings in the ''Halo Wars'' series <span style="font-size:smaller;">(''[[:Category:Buildings and structures|complete list]]'')</span>
|title=Buildings in the ''Halo Wars'' series
|style= width:100%; background:#555; border-radius:.5em;
|style= width:100%; background:#555; border-radius:.5em;
|titlestyle= background:#555; text-align:center; color:#FFF;
|titlestyle= background:#555; text-align:center; color:#FFF;


|list1= {{HW buildings/HW|yes}}
|list1= {{#if:{{{1|}}}|{{HW buildings/{{{1}}}|yes}}|{{HW buildings/HW}}{{HW buildings/HW2}}}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Buildings and structures|<span style="color:#F1F1F1; text-decoration:underline;">our buildings category</span>]].</div>
|list2= {{#if:{{{1|}}}|<div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Buildings and structures|<span style="color:#F1F1F1; text-decoration:underline;">our buildings category</span>]].</div>}}
}}
}}<noinclude>
|HW2=
{{Navbox
|name=HW buildings
|title=Buildings in the ''Halo Wars'' series <span style="font-size:smaller;">(''[[:Category:Buildings and structures|complete list]]'')</span>
|style= width:100%; background:#555; border-radius:.5em;
|titlestyle= background:#555; text-align:center; color:#FFF;
 
|list1= {{HW buildings/HW2|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Buildings and structures|<span style="color:#F1F1F1; text-decoration:underline;">our buildings category</span>]].</div>
}}
|#default=
{{Navbox
|name=HW buildings
|title=List of buildings in the ''Halo Wars'' series
|style= width:100%; background:#555; border-radius:.5em;
|titlestyle= background:#555; text-align:center; color:#FFF;
 
|list1={{HW buildings/HW}}
|list2={{HW buildings/HW2}}
 
}}}}<noinclude>
== About ==
== About ==
This template has been adjusted to display certain child templates at a time. Placing one of the following will instruct the template to only display that child template. By default, it will display all of them.
This template has been adjusted to display certain child templates at a time. Placing one of the following will instruct the template to only display that child template. By default, it will display all of them.

Revision as of 14:24, March 15, 2022

About

This template has been adjusted to display certain child templates at a time. Placing one of the following will instruct the template to only display that child template. By default, it will display all of them.

  • {{HW buildings|HW}} - displays /HW
  • {{HW buildings|HW2}} - displays /HW2