FANDOM


(adding new category)
(fixing)
Line 33: Line 33:
 
|{{#if:{{#pos:, {{{cats|}}},|, Diversions in Saints Row 2,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|Activity}}
 
|{{#if:{{#pos:, {{{cats|}}},|, Diversions in Saints Row 2,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|Activity}}
 
|{{#if:{{#pos:, {{{cats|}}},|, Diversions in Saints Row: The Third,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|Activity}}
 
|{{#if:{{#pos:, {{{cats|}}},|, Diversions in Saints Row: The Third,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|Activity}}
}} }} }} }} }} }} }} }} }} }} }} {{#if:{{#pos:, {{{cats|}}},|, Radio Stations,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|Audio}}
+
}} }} }} }} }} }} }} }} }} }} }} }} {{#if:{{#pos:, {{{cats|}}},|, Radio Stations,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|Audio}}
 
|{{#if:{{#pos:, {{{cats|}}},|, Radio Stations in Saints Row,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|Audio}}
 
|{{#if:{{#pos:, {{{cats|}}},|, Radio Stations in Saints Row,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|Audio}}
 
|{{#if:{{#pos:, {{{cats|}}},|, Radio Stations in Saints Row IV,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|Audio}}
 
|{{#if:{{#pos:, {{{cats|}}},|, Radio Stations in Saints Row IV,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|Audio}}

Revision as of 02:16, July 19, 2014

This template can be used in three ways

  • Usage: {{project categories|(Task Force Name)}}
    • Returns ¦ separated list of categories related to that task force, for use with DPL
    • Example: {{project categories|Mission}}
  • Usage: {{project categories|cat=(Category)}}
    • Parameter is one category only. Returns one task force based on that category.
    • Example: {{project categories|cat=Vehicles in Saints Row DLC}}
    • In this example, only "Vehicle" is returned.
  • Usage: {{project categories|cats=(Category list)}}
    • Parameter is comma separated list of categories, returns all task forces related to that category
    • Example: {{project categories|cats=Vehicles in Saints Row DLC, Vehicles in Saints Row IV}}
    • In this example, both "Vehicle" and "DLC" are returned.
    • This usage has the additional parameter "out", which can be used to format the output.
    • Example: {{project categories|cats=Vehicles in Saints Row DLC, Vehicles in Saints Row IV|out={{info|See the REPLACE task force}}}}
    • The word replace is replaced with Vehicle and DLC.

This category is used with Category:Task Force, Template:Project lookup, Template:Random.

Community content is available under CC-BY-SA unless otherwise noted.