Difference between revisions of "Template:Class Strategy Nav"

From Team Fortress Wiki
Jump to: navigation, search
m (Only set a DEFAULTSORT for pages of interest.)
(I wound up needing a special template anyways.)
Line 145: Line 145:
 
   -->
 
   -->
 
}}<includeonly>{{lang cat|Strategy}}</includeonly><!-- Specialized sorting for the "Community strategy" "Anti-strategy" and "Basic strategy" pages, so that they'll be sorted based on class name.
 
}}<includeonly>{{lang cat|Strategy}}</includeonly><!-- Specialized sorting for the "Community strategy" "Anti-strategy" and "Basic strategy" pages, so that they'll be sorted based on class name.
-->{{DEFAULTSORT:{{#switch:{{BASEPAGENAME}}
+
-->{{Custom sort key|{{#switch:{{BASEPAGENAME}}
| Community Scout strategy | Anti-Scout strategy | Basic Scout strategy = Scout, {{BASEPAGENAME}}
+
| Community Scout strategy | Anti-Scout strategy | Basic Scout strategy = Scout
| Community Soldier strategy | Anti-Soldier strategy | Basic Soldier strategy = Soldier, {{BASEPAGENAME}}
+
| Community Soldier strategy | Anti-Soldier strategy | Basic Soldier strategy = Soldier
| Community Pyro strategy | Anti-Pyro strategy | Basic Pyro strategy = Pyro, {{BASEPAGENAME}}
+
| Community Pyro strategy | Anti-Pyro strategy | Basic Pyro strategy = Pyro
| Community Demoman strategy | Anti-Demoman strategy | Basic Demoman strategy = Demoman, {{BASEPAGENAME}}
+
| Community Demoman strategy | Anti-Demoman strategy | Basic Demoman strategy = Demoman
| Community Heavy strategy | Anti-Heavy strategy | Basic Heavy strategy = Heavy, {{BASEPAGENAME}}
+
| Community Heavy strategy | Anti-Heavy strategy | Basic Heavy strategy = Heavy
| Community Engineer strategy | Anti-Engineer strategy | Basic Engineer strategy = Engineer, {{BASEPAGENAME}}
+
| Community Engineer strategy | Anti-Engineer strategy | Basic Engineer strategy = Engineer
| Community Medic strategy | Anti-Medic strategy | Basic Medic strategy = Medic, {{BASEPAGENAME}}
+
| Community Medic strategy | Anti-Medic strategy | Basic Medic strategy = Medic
| Community Sniper strategy | Anti-Sniper strategy | Basic Sniper strategy = Sniper, {{BASEPAGENAME}}
+
| Community Sniper strategy | Anti-Sniper strategy | Basic Sniper strategy = Sniper
| Community Spy strategy | Anti-Spy strategy | Basic Spy strategy = Spy, {{BASEPAGENAME}}
+
| Community Spy strategy | Anti-Spy strategy | Basic Spy strategy = Spy
| #default = {{ns:0}}
+
}}|, {{BASEPAGENAME}}}}<noinclude><!-- Note that the ,BASEPAGENAME will cause Anti- strategy to be listed before Basic strategy.-->
}}}}<noinclude><!-- Note that the ,BASEPAGENAME will cause Anti- strategy to be listed before Basic strategy.-->
 
 
{{translation switching|en, ar, cs, da, de, es, fr, hu, it, ja, ko, nl, pl, pt-br, ru, tr, zh-hans, zh-hant}}
 
{{translation switching|en, ar, cs, da, de, es, fr, hu, it, ja, ko, nl, pl, pt-br, ru, tr, zh-hans, zh-hant}}
 
[[Category:Navigational templates|Class strategy]]
 
[[Category:Navigational templates|Class strategy]]
 
</noinclude>
 
</noinclude>

Revision as of 06:45, 1 May 2023