Template:Levels: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "directory" to "category")
Line 9: Line 9:


|list1= {{Template:Levels/HCE|yes}}
|list1= {{Template:Levels/HCE|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo: Combat Evolved multiplayer maps]]|[[Category:Halo: Combat Evolved campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo: Combat Evolved multiplayer maps]]|[[Category:Halo: Combat Evolved campaign]]}}</includeonly>
<!-- ### Halo: Combat Evolved Anniversary ### -->
<!-- ### Halo: Combat Evolved Anniversary ### -->
Line 20: Line 20:


|list1= {{Template:Levels/HCE|yes}}
|list1= {{Template:Levels/HCE|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo: Reach multiplayer maps]] [[Category:Anniversary Map Pack]]|[[Category:Halo: Combat Evolved campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo: Reach multiplayer maps]] [[Category:Anniversary Map Pack]]|[[Category:Halo: Combat Evolved campaign]]}}</includeonly>
<!-- ### Halo 2### -->
<!-- ### Halo 2### -->
Line 31: Line 31:


|list1= {{Template:Levels/H2|yes}}
|list1= {{Template:Levels/H2|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 2 multiplayer maps]]|[[Category:Halo 2 campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 2 multiplayer maps]]|[[Category:Halo 2 campaign]]}}</includeonly>
<!-- ### Halo 2: Anniversary ### -->
<!-- ### Halo 2: Anniversary ### -->
Line 42: Line 42:


|list1= {{Template:Levels/H2|yes}}
|list1= {{Template:Levels/H2|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 2: Anniversary multiplayer maps]]|[[Category:Halo 2 campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 2: Anniversary multiplayer maps]]|[[Category:Halo 2 campaign]]}}</includeonly>
<!-- ### Halo 3 ### -->
<!-- ### Halo 3 ### -->
Line 53: Line 53:


|list1= {{Template:Levels/H3|yes}}
|list1= {{Template:Levels/H3|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 3 multiplayer maps]]|[[Category:Halo 3 campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 3 multiplayer maps]]|[[Category:Halo 3 campaign]]}}</includeonly>
<!-- ### Halo Wars ### -->
<!-- ### Halo Wars ### -->
Line 64: Line 64:


|list1= {{Template:Levels/HW|yes}}
|list1= {{Template:Levels/HW|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo Wars multiplayer maps]]|[[Category:Halo Wars campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo Wars multiplayer maps]]|[[Category:Halo Wars campaign]]}}</includeonly>
<!-- ### Halo 3: ODST ### -->
<!-- ### Halo 3: ODST ### -->
Line 75: Line 75:


|list1= {{Template:Levels/H3R|yes}}
|list1= {{Template:Levels/H3R|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 3: ODST Firefight maps]]|[[Category:Halo 3: ODST campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 3: ODST Firefight maps]]|[[Category:Halo 3: ODST campaign]]}}</includeonly>
<!-- ### Halo: Reach ### -->
<!-- ### Halo: Reach ### -->
Line 86: Line 86:


|list1= {{Template:Levels/HR|yes}}
|list1= {{Template:Levels/HR|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo: Reach multiplayer maps]]|[[Category:Halo: Reach campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo: Reach multiplayer maps]]|[[Category:Halo: Reach campaign]]}}</includeonly>
<!-- ### Halo 4 ### -->
<!-- ### Halo 4 ### -->
Line 97: Line 97:


|list1= {{Template:Levels/H4|yes}}
|list1= {{Template:Levels/H4|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 4 multiplayer maps]]|[[Category:Halo 4 campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 4 multiplayer maps]]|[[Category:Halo 4 campaign]]}}</includeonly>
<!-- ### Halo: Spartan Assault ### -->
<!-- ### Halo: Spartan Assault ### -->
Line 108: Line 108:


|list1= {{Template:Levels/HSA|yes}}
|list1= {{Template:Levels/HSA|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Spartan Assault campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Spartan Assault campaign]]}}</includeonly>
<!-- ### Halo: Spartan Strike ### -->
<!-- ### Halo: Spartan Strike ### -->
Line 119: Line 119:


|list1= {{Template:Levels/HSS|yes}}
|list1= {{Template:Levels/HSS|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Spartan Strike campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Spartan Strike campaign]]}}</includeonly>
<!-- ### Halo 5: Guardians ### -->
<!-- ### Halo 5: Guardians ### -->
Line 130: Line 130:


|list1= {{Template:Levels/H5G|yes}}
|list1= {{Template:Levels/H5G|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 5: Guardians multiplayer maps]]|[[Category:Halo 5: Guardians campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo 5: Guardians multiplayer maps]]|[[Category:Halo 5: Guardians campaign]]}}</includeonly>
<!-- ### Halo: Fleet Battles ### -->
<!-- ### Halo: Fleet Battles ### -->
Line 141: Line 141:


|list1= {{Template:Levels/HFB|yes}}
|list1= {{Template:Levels/HFB|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo: Fleet Battles multiplayer maps]]|[[Category:Halo: Fleet Battles campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo: Fleet Battles multiplayer maps]]|[[Category:Halo: Fleet Battles campaign]]}}</includeonly>
<!-- ### Halo Wars 2 ### -->
<!-- ### Halo Wars 2 ### -->
Line 152: Line 152:


|list1= {{Template:Levels/HW2|yes}}
|list1= {{Template:Levels/HW2|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo Wars 2 multiplayer maps]]|[[Category:Halo Wars 2 campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo Wars 2 multiplayer maps]]|[[Category:Halo Wars 2 campaign]]}}</includeonly>
<!-- ### Halo: Fireteam Raven ### -->
<!-- ### Halo: Fireteam Raven ### -->
Line 163: Line 163:


|list1= {{Template:Levels/HFR|yes}}
|list1= {{Template:Levels/HFR|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo: Fireteam Raven campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo: Fireteam Raven campaign]]}}</includeonly>
<!-- ### Halo Infinite ### -->
<!-- ### Halo Infinite ### -->
Line 174: Line 174:


|list1= {{Template:Levels/HI|yes}}
|list1= {{Template:Levels/HI|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo Infinite multiplayer maps]]|[[Category:Halo Infinite campaign]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo Infinite multiplayer maps]]|[[Category:Halo Infinite campaign]]}}</includeonly>
<!-- ### Halo Online ### -->
<!-- ### Halo Online ### -->
Line 185: Line 185:


|list1= {{Template:Levels/HO|yes}}
|list1= {{Template:Levels/HO|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo Online multiplayer maps]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo Online multiplayer maps]]}}</includeonly>
<!-- ### Halo Interactive Strategy Game ### -->
<!-- ### Halo Interactive Strategy Game ### -->
Line 196: Line 196:


|list1= {{Template:Levels/ISG|yes}}
|list1= {{Template:Levels/ISG|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels directory</span>]].</div>
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Levels|<span style="color:#F1F1F1; text-decoration:underline;">our levels category</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo Interactive Strategy Game levels]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}|[[Category:Halo Interactive Strategy Game levels]]}}</includeonly>


Line 224: Line 224:
}}<includeonly>{{#if: {{{category|}}}||[[Category:Levels]]}}</includeonly>}}<noinclude>
}}<includeonly>{{#if: {{{category|}}}||[[Category:Levels]]}}</includeonly>}}<noinclude>
== About ==
== About ==
This template puts a [[:Category:Levels|levels directory]] wherever it is placed. 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 puts a [[:Category:Levels|levels category]] wherever it is placed. 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.


*<code>HCE</code> - displays [[/HCE]]
*<code>HCE</code> - displays [[/HCE]]
Line 244: Line 244:
*<code>HO</code> - displays [[/HO]]
*<code>HO</code> - displays [[/HO]]
*<code>ISG</code> - displays [[/ISG]]
*<code>ISG</code> - displays [[/ISG]]
*Adding anything in <code>|category=</code> will remove the levels directory.
*Adding anything in <code>|category=</code> will remove the levels category.
*Adding anything in <code>|mode=</code> will prioritise [[:Category:Multiplayer maps|Multiplayer Maps category]] over the general [[:Category:Levels|Campaign category]].
*Adding anything in <code>|mode=</code> will prioritise [[:Category:Multiplayer maps|Multiplayer Maps category]] over the general [[:Category:Levels|Campaign category]].


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

Revision as of 11:26, March 15, 2022

About

This template puts a levels category wherever it is placed. 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.

  • HCE - displays /HCE
  • CEA - displays /HCE and /HR, and gives the Anniversary Map Pack category.
  • H2 - displays /H2
  • H2A - displays /H2 but gives the Halo 2: Anniversary category.
  • H3 - displays /H3
  • HW - displays /HW
  • H3R - displays /H3R
  • HR - displays /HR
  • H4 - displays /H4
  • HSA - displays /HSA
  • HSS - displays /HSS
  • H5 - displays /H5G
  • HFB - displays /HFB
  • HW2 - displays /HW2
  • HFR - displays /HFR
  • HI - displays /HI
  • HO - displays /HO
  • ISG - displays /ISG
  • Adding anything in |category= will remove the levels category.
  • Adding anything in |mode= will prioritise Multiplayer Maps category over the general Campaign category.