FANDOM


(using error as a parameter removes the need for testing result)
(testing)
Line 8: Line 8:
   
 
</noinclude><includeonly>{{{{{|safesubst:}}}#if:{{{cats|}}}
 
</noinclude><includeonly>{{{{{|safesubst:}}}#if:{{{cats|}}}
|{{#if:{{#pos:, {{{cats|}}},|, Characters in Saints Row IV,}}|{{info|c iv}}
+
|{{#if:{{#pos:, {{{cats|}}},|, Characters in Saints Row IV,}} |{{#replace:{{{message|}}}|PROJECTNAME|c iv}}
|{{#if:{{#pos:, {{{cats|}}},|, Characters in Saints Row,}}|{{info|c 1}}
+
|{{#if:{{#pos:, {{{cats|}}},|, Characters in Saints Row,}} |{{#replace:{{{message|}}}|PROJECTNAME|c iv}}
|{{#if:{{#pos:, {{{cats|}}},|, Characters in Saints Row 2,}}|{{info|c 2}}
+
|{{#if:{{#pos:, {{{cats|}}},|, Characters in Saints Row 2,}} |{{#replace:{{{message|}}}|PROJECTNAME|c iv}}
|{{#if:{{#pos:, {{{cats|}}},|, Characters in Saints Row: The Third,}}|{{info|c 3}}
+
|{{#if:{{#pos:, {{{cats|}}},|, Characters in Saints Row: The Third,}} |{{#replace:{{{message|}}}|PROJECTNAME|c iv}}
 
|{{{error|}}} }}}}}}}}
 
|{{{error|}}} }}}}}}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>

Revision as of 04:16, March 27, 2014

Attempting to overhaul Template:Project_categories.

  • It's not broken, but it is overly complicated, and there might be a better way to do it.
  • Instead of check categories 1 through 6, and comparing each category to a list, compare the list to the category.


The template is used for look up the task force based on categories.

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