FANDOM


(Undo revision 199103 by 452 (talk))
(hopefully adding the DLC task force footer to SSC activities)
Line 155: Line 155:
 
|{{#if:{{#pos:, {{{cats|}}},|, Vehicles in Saints Row: The Third DLC,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|DLC}}
 
|{{#if:{{#pos:, {{{cats|}}},|, Vehicles in Saints Row: The Third DLC,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|DLC}}
 
|{{#if:{{#pos:, {{{cats|}}},|, Vehicles in Saints Row IV DLC,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|DLC}}
 
|{{#if:{{#pos:, {{{cats|}}},|, Vehicles in Saints Row IV DLC,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|DLC}}
}} }} }} }} }} }} }} }} }} }} |{{{{{|safesubst:}}}#if:{{{cat|}}}|{{{{{|safesubst:}}}#switch: {{{cat}}}
+
|{{#if:{{#pos:, {{{cats|}}},|, Activities and Diversions in Saints Row IV: How the Saints Save Christmas,}}|{{#replace:{{{out|REPLACE}}}|REPLACE|DLC}}
  +
}} }} }} }} }} }} }} }} }} }} }} |{{{{{|safesubst:}}}#if:{{{cat|}}}|{{{{{|safesubst:}}}#switch: {{{cat}}}
 
|Activities
 
|Activities
 
|Activities in Saints Row IV
 
|Activities in Saints Row IV

Revision as of 04:00, September 29, 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.