Template:Soundtrack: Difference between revisions

From Halopedia, the Halo wiki

m (I'm pretty sure this will work)
No edit summary
Line 98: Line 98:
|list4      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#ffffff;">For a complete list, check out [[:Category:Soundtrack|<span style="color:#ffffff; text-decoration:underline;">our Soundtrack directory</span>]].</div>
|list4      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#ffffff;">For a complete list, check out [[:Category:Soundtrack|<span style="color:#ffffff; text-decoration:underline;">our Soundtrack directory</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 5: Guardians OST|{{PAGENAME}}]]}}</includeonly>
}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 5: Guardians OST|{{PAGENAME}}]]}}</includeonly>
|HTFOR=
{{Navbox|name = Soundtrack|title = List of soundtracks <span style="font-size:smaller;">(''[[:Category:Soundtrack|complete list]]'')</span>|state = plain
|style= width:600px; background:#333333; margin:4px auto; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;
|titlestyle= background:#FFFF00; text-align:center; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;
|list1      = {{Template:Soundtrack/HTFOR}}
|list4      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#ffffff;">For a complete list, check out [[:Category:Soundtrack|<span style="color:#ffffff; text-decoration:underline;">our Soundtrack directory</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo 5: Guardians OST|{{PAGENAME}}]]}}</includeonly>
|HW2=
{{Navbox|name = Soundtrack|title = List of soundtracks <span style="font-size:smaller;">(''[[:Category:Soundtrack|complete list]]'')</span>|state = plain
|style= width:600px; background:#333333; margin:4px auto; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;
|titlestyle= background:#FFFF00; text-align:center; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;
|list1      = {{Template:Soundtrack/HW2}}
|list4      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#ffffff;">For a complete list, check out [[:Category:Soundtrack|<span style="color:#ffffff; text-decoration:underline;">our Soundtrack directory</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo Wars 2 OST|{{PAGENAME}}]]}}</includeonly>
|ATN=
{{Navbox|name = Soundtrack|title = List of soundtracks <span style="font-size:smaller;">(''[[:Category:Soundtrack|complete list]]'')</span>|state = plain
|style= width:600px; background:#333333; margin:4px auto; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;
|titlestyle= background:#FFFF00; text-align:center; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;
|list1      = {{Template:Soundtrack/ATN}}
|list4      = <div style="text-align:center; font-style:italic; font-size:smaller; color:#ffffff;">For a complete list, check out [[:Category:Soundtrack|<span style="color:#ffffff; text-decoration:underline;">our Soundtrack directory</span>]].</div>
}}<includeonly>{{#if: {{{mode|}}}||[[Category:Halo Wars 2: Awakening the Nightmare OST|{{PAGENAME}}]]}}</includeonly>
|#default=
|#default=
{{Navbox|name = Soundtrack|title = List of soundtracks <span style="font-size:smaller;">(''[[:Category:Soundtrack|complete list]]'')</span>|state = plain
{{Navbox|name = Soundtrack|title = List of soundtracks <span style="font-size:smaller;">(''[[:Category:Soundtrack|complete list]]'')</span>|state = plain
Line 103: Line 124:
|titlestyle= background:#FFFF00; text-align:center; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; <!-- Below is for default -->
|titlestyle= background:#FFFF00; text-align:center; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; <!-- Below is for default -->
|liststyle= background:#F1F1F1; text-align:center; font-style:italic; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; <!-- Above is for default -->
|liststyle= background:#F1F1F1; text-align:center; font-style:italic; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; <!-- Above is for default -->
|list1 = [[Halo: Original Soundtrack]] ([[Halo: Combat Evolved Anniversary Original Soundtrack|Anniversary]]) • [[Halo 2: Original Soundtrack]] ([[Halo 2: Anniversary Original Soundtrack|Anniversary]]) • [[Halo 3: Original Soundtrack]] • [[Halo Wars: Original Soundtrack]] • [[Halo 3: ODST Original Soundtrack]] • [[Halo Legends: Original Soundtrack]] • [[Halo: Reach Original Soundtrack]] • [[Halo 4: Forward Unto Dawn Original Soundtrack]] • [[Halo 4: Original Soundtrack]] • [[Halo: Spartan Assault Original Soundtrack]] • [[Halo: Spartan Strike Original Soundtrack]] • [[Halo 5: Guardians Original Soundtrack]] • [[Halo: The Fall of Reach Original Soundtrack]] • [[Halo Wars 2: Original Soundtrack]]
|list1 = [[Halo: Original Soundtrack]] ([[Halo: Combat Evolved Anniversary Original Soundtrack|Anniversary]]) • [[Halo 2: Original Soundtrack]] ([[Halo 2: Anniversary Original Soundtrack|Anniversary]]) • [[Halo 3: Original Soundtrack]] • [[Halo Wars: Original Soundtrack]] • [[Halo 3: ODST Original Soundtrack]] • [[Halo Legends: Original Soundtrack]] • [[Halo: Reach Original Soundtrack]] • [[Halo 4: Forward Unto Dawn Original Soundtrack]] • [[Halo 4: Original Soundtrack]] • [[Halo: Spartan Assault Original Soundtrack]] • [[Halo: Spartan Strike Original Soundtrack]] • [[Halo 5: Guardians Original Soundtrack]] • [[Halo: The Fall of Reach Original Soundtrack]] • [[Halo Wars 2: Original Soundtrack]] • [[Halo Wars 2: Awakening the Nightmare Original Soundtrack]]
}}<includeonly>{{#if: {{{category|}}}||[[Category:Soundtrack|{{PAGENAME}}]]}}</includeonly>}}
}}<includeonly>{{#if: {{{category|}}}||[[Category:Soundtrack|{{PAGENAME}}]]}}</includeonly>}}
<noinclude>
<noinclude>
Line 125: Line 146:
*<code>[[/HTFOR|<nowiki>|</nowiki>HTFOR]]</code> - ''Halo: The Fall of Reach''
*<code>[[/HTFOR|<nowiki>|</nowiki>HTFOR]]</code> - ''Halo: The Fall of Reach''
*<code>[[/HW2|<nowiki>|</nowiki>HW2]]</code> - ''Halo Wars 2''
*<code>[[/HW2|<nowiki>|</nowiki>HW2]]</code> - ''Halo Wars 2''
*<code>[[/ATN|<nowiki>|</nowiki>ATN]]</code> - ''Halo Wars 2: Awakening the Nightmare''
*Adding anything in <code>|category=</code> will remove the Soundtrack directory.
*Adding anything in <code>|category=</code> will remove the Soundtrack directory.
*Adding anything in <code>|mode=</code> will replace the Soundtrack category with a specific soundtrack category.
*Adding anything in <code>|mode=</code> will replace the Soundtrack category with a specific soundtrack category.


[[Category:Navigation boxes]]</noinclude>
[[Category:Navigation boxes]]</noinclude>

Revision as of 14:21, September 15, 2017

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.