Difference between revisions of "Genre2num"

From Sega Retro

(I understand it has to do with this template)
Line 1: Line 1:
 
<div style="display:none">
 
<div style="display:none">
 
{{#vardefine:genre|0}}
 
{{#vardefine:genre|0}}
 +
<includeonly>{{#switch: {{{1}}}
 +
| Action =
 +
| Adventure =
 +
| Fighting =
 +
| Puzzle =
 +
| Racing =
 +
| RPG =
 +
| Shoot-'em-Up = [[Category:Change to Shooting]]
 +
| Shooting =
 +
| Simulation =
 +
| Sports =
 +
| Table =
 +
| [[Category:Genres that need to be looked at]]
 +
}}</includeonly>
 
{{#ifeq: {{#sub:{{{1}}}|0|6}} | Action | {{#vardefine:genre|1}} }}
 
{{#ifeq: {{#sub:{{{1}}}|0|6}} | Action | {{#vardefine:genre|1}} }}
 
{{#ifeq: {{#sub:{{{1}}}|0|11}} | Educational | {{#vardefine:genre|2}} }}
 
{{#ifeq: {{#sub:{{{1}}}|0|11}} | Educational | {{#vardefine:genre|2}} }}

Revision as of 14:09, 7 May 2012