Template:Soundtrack: Difference between revisions

From Halopedia, the Halo wiki

m (Implementing new structure as new standard.)
mNo edit summary
Line 1: Line 1:
{{clear}}
{{clear}}
{{#switch:{{{1|}}}|H1={{Template:Soundtrack/H1|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Combat Evolved OST|{{PAGENAME}}]]}}</includeonly>
{{#switch:{{{1|}}}|H1={{Template:Soundtrack/H1}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Combat Evolved OST|{{PAGENAME}}]]}}</includeonly>
|H2={{Template:Soundtrack/H2|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 2 OST|{{PAGENAME}}]]}}</includeonly>
|H2={{Template:Soundtrack/H2}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 2 OST|{{PAGENAME}}]]}}</includeonly>
|H3={{Template:Soundtrack/H3|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 3 OST|{{PAGENAME}}]]}}</includeonly>
|H3={{Template:Soundtrack/H3}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 3 OST|{{PAGENAME}}]]}}</includeonly>
|HW={{Template:Soundtrack/HW|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo Wars OST|{{PAGENAME}}]]}}</includeonly>
|HW={{Template:Soundtrack/HW}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo Wars OST|{{PAGENAME}}]]}}</includeonly>
|ODST={{Template:Soundtrack/ODST|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 3: ODST OST|{{PAGENAME}}]]}}</includeonly>
|ODST={{Template:Soundtrack/ODST}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 3: ODST OST|{{PAGENAME}}]]}}</includeonly>
|HL={{Template:Soundtrack/HL|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Legends OST|{{PAGENAME}}]]}}</includeonly>
|HL={{Template:Soundtrack/HL}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Legends OST|{{PAGENAME}}]]}}</includeonly>
|HR={{Template:Soundtrack/HR|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Reach OST|{{PAGENAME}}]]}}</includeonly>
|HR={{Template:Soundtrack/HR}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Reach OST|{{PAGENAME}}]]}}</includeonly>
|HA={{Template:Soundtrack/HA|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Anniversary OST|{{PAGENAME}}]]}}</includeonly>
|HA={{Template:Soundtrack/HA}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Anniversary OST|{{PAGENAME}}]]}}</includeonly>
|H4={{Template:Soundtrack/H4|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 4 OST|{{PAGENAME}}]]}}</includeonly>
|H4={{Template:Soundtrack/H4}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 4 OST|{{PAGENAME}}]]}}</includeonly>
|SA={{Template:Soundtrack/SA|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Spartan Assault OST|{{PAGENAME}}]]}}</includeonly>
|SA={{Template:Soundtrack/SA}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Spartan Assault OST|{{PAGENAME}}]]}}</includeonly>
|SS={{Template:Soundtrack/SS|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Spartan Strike OST|{{PAGENAME}}]]}}</includeonly>
|SS={{Template:Soundtrack/SS}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: Spartan Strike OST|{{PAGENAME}}]]}}</includeonly>
|FUD={{Template:Soundtrack/FUD|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 4: Forward Unto Dawn OST|{{PAGENAME}}]]}}</includeonly>
|FUD={{Template:Soundtrack/FUD}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 4: Forward Unto Dawn OST|{{PAGENAME}}]]}}</includeonly>
|H2A={{Template:Soundtrack/H2A|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 2: Anniversary OST|{{PAGENAME}}]]}}</includeonly>
|H2A={{Template:Soundtrack/H2A}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 2: Anniversary OST|{{PAGENAME}}]]}}</includeonly>
|H5G={{Template:Soundtrack/H5G|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 5: Guardians OST|{{PAGENAME}}]]}}</includeonly>
|H5G={{Template:Soundtrack/H5G}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 5: Guardians OST|{{PAGENAME}}]]}}</includeonly>
|HTFOR={{Template:Soundtrack/HTFOR|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: The Fall of Reach OST|{{PAGENAME}}]]}}</includeonly>
|HTFOR={{Template:Soundtrack/HTFOR}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo: The Fall of Reach OST|{{PAGENAME}}]]}}</includeonly>
|HW2={{Template:Soundtrack/HW2|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo Wars 2 OST|{{PAGENAME}}]]}}</includeonly>
|HW2={{Template:Soundtrack/HW2}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo Wars 2 OST|{{PAGENAME}}]]}}</includeonly>
|ATN={{Template:Soundtrack/ATN|Yes}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo Wars 2: Awakening the Nightmare OST|{{PAGENAME}}]]}}</includeonly>
|ATN={{Template:Soundtrack/ATN}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo Wars 2: Awakening the Nightmare OST|{{PAGENAME}}]]}}</includeonly>
|#default=
|#default=
{{Navbox|name = Soundtrack|title = List of soundtracks|state = plain
{{Navbox|name = Soundtrack|title = List of soundtracks|state = plain

Revision as of 11:43, February 5, 2019

About

This template puts a Soundtrack 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 only the links.

  • |H1 - Halo: Combat Evolved
  • |H2 - Halo 2
  • |H3 - Halo 3
  • |H4 - Halo 4
  • |HR - Halo: Reach
  • |HA - Halo: Combat Evolved Anniversary
  • |H2A - Halo 2: Anniversary
  • |HW - Halo Wars
  • |ODST - Halo 3: ODST
  • |SA - Spartan Assault
  • |SS - Spartan Strike
  • |HL - Halo: Legends
  • |FUD - Halo 4: Forward Unto Dawn
  • |H5G - Halo 5: Guardians
  • |HTFOR - Halo: The Fall of Reach
  • |HW2 - Halo Wars 2
  • |ATN - Halo Wars 2: Awakening the Nightmare
  • Adding anything in |category= will remove the Soundtrack directory.
  • Adding anything in |mode= will replace the Soundtrack category with a specific soundtrack category.