Template:HW buildings: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
m (Text replacement - "|style= background:#555;↵|titlestyle= color:#fff;↵" to "")
 
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{clear}}
{{#switch:{{{1|}}}|HW=
{{Navbox
|name=Buildings
|state=plain
|title=Buildings in the ''Halo Wars'' series <span style="font-size:smaller;">(''[[:Category:Buildings and structures|complete list]]'')</span>
|style= width:660px; background:#333333; margin:0 auto; border-radius:.5em;
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
|list1= {{HW buildings/HW}}
|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 directory</span>]].</div>
}}
|HW2=
{{Navbox
|name=Buildings
|state=plain
|title=Buildings in the ''Halo Wars'' series <span style="font-size:smaller;">(''[[:Category:Buildings and structures|complete list]]'')</span>
|style= width:660px; background:#333333; margin:0 auto; border-radius:.5em;
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
|list1= {{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 directory</span>]].</div>
}}
|#default=
{{Navbox
{{Navbox
|name=HW buildings
|name=HW buildings
|state=plain
|title=Buildings in the ''Halo Wars'' series
|title=List of buildings in the ''Halo Wars'' series
|liststyle= background:none;
|style= width:160px; background:#333333; margin:0 auto; border-radius:.5em;
 
|titlestyle= background:lightsteelblue; border-radius:.5em; text-align:center;
|list1= {{#if:{{{1|}}}|{{HW buildings/{{{1}}}|yes}}| {{HW buildings/HW}} {{HW buildings/HW2}} }}
|list1= {{HW buildings/HW}}
 
|list2= {{HW buildings/HW2}}
|below= {{#if:{{{1|}}}|For a complete list, check out [[:Category:Buildings and structures|our buildings category]].}}
}}}}
}}<noinclude>
<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 those child templates. 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.


*<code>HW</code> - displays [[/HW]]
*<code><nowiki>{{HW buildings|HW}}</nowiki></code> - displays [[/HW]]
*<code>HW2</code> - displays [[/HW2]]
*<code><nowiki>{{HW buildings|HW2}}</nowiki></code> - displays [[/HW2]]
*Adding anything in <code>|category=</code> will remove the Levels directory.


[[Category:Navigation boxes]]
[[Category:Special navigation templates]]</noinclude>
</noinclude>

Latest revision as of 13:43, August 27, 2023

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