Template:HW buildings: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
m (Text replacement - "|style= background:#555;↵|titlestyle= color:#fff;↵" to "")
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{clear}}
{{#switch:{{{1|}}}|HW=
{{Navbox
{{Navbox
|name=HW buildings
|name=HW buildings
|state=plain
|title=Buildings in the ''Halo Wars'' series
|title=Buildings in the ''Halo Wars'' series <span style="font-size:smaller;">(''[[:Category:Buildings and structures|complete list]]'')</span>
|liststyle= background:none;
|style= width:100%; background:#555; border-radius:.5em;
|titlestyle= background:#555; text-align:center; color:#FFF;


|list1= {{HW buildings/HW}}
|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 directory</span>]].</div>
}}
|HW2=
{{Navbox
|name=HW buildings
|state=plain
|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}}
|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
|name=HW buildings
|state=plain
|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>
|below= {{#if:{{{1|}}}|For a complete list, check out [[:Category:Buildings and structures|our buildings category]].}}
}}<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><nowiki>{{HW buildings|HW}}</nowiki></code> - displays [[/HW]]
*<code><nowiki>{{HW buildings|HW}}</nowiki></code> - displays [[/HW]]
*<code><nowiki>{{HW buildings|HW2}}</nowiki></code> - displays [[/HW2]]
*<code><nowiki>{{HW buildings|HW2}}</nowiki></code> - displays [[/HW2]]
*Adding anything in <code>|category=</code> will remove the Levels directory.


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

Latest revision as of 14: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