Difference between revisions of "Genre2num"
From NEC Retro
Ccawley2011 (talk | contribs) |
m (Text replacement - "Category:NEC Retro templates" to "Category:Templates") |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | <div style="display:none"> | |
+ | {{#vardefine:genre|0}} | ||
+ | <includeonly>{{#switch: {{{1}}} | ||
+ | | Action = | ||
+ | | Adventure = | ||
+ | | Arithmetic = | ||
+ | | English | ||
+ | | Fighting = | ||
+ | | Puzzle = | ||
+ | | Racing = | ||
+ | | RPG = | ||
+ | | Shoot-'em-Up = [[Category:Change to Shooting]] | ||
+ | | Shooting = | ||
+ | | Simulation = | ||
+ | | Sports = | ||
+ | | Table = | ||
+ | | {{#ifeq: {{#sub:{{{1}}}|0|1}} | ? | | [[Category:Genres that need to be looked at]] }} | ||
+ | }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|6}} | Action | {{#vardefine:genre|1}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|11}} | Educational | {{#vardefine:genre|2}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|6}} | Puzzle | {{#vardefine:genre|3}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|3}} | RPG | {{#vardefine:genre|4}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|4}} | Role | {{#vardefine:genre|4}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|6}} | Racing | {{#vardefine:genre|5}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|7}} | Driving | {{#vardefine:genre|5}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|5}} | Shoot | {{#vardefine:genre|6}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|5}} | Shmup | {{#vardefine:genre|6}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|5}} | Sport | {{#vardefine:genre|7}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|5}} | Table | {{#vardefine:genre|8}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|4}} | Home | {{#vardefine:genre|8}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|6}} | Family | {{#vardefine:genre|8}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|9}} | Adventure | {{#vardefine:genre|9}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|11}} | Compilation | {{#vardefine:genre|10}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|3}} | Sim | {{#vardefine:genre|11}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|5}} | Strat | {{#vardefine:genre|11}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|4}} | Misc | {{#vardefine:genre|12}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|3}} | ETC | {{#vardefine:genre|12}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|5}} | Fight | {{#vardefine:genre|13}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|10}} | Arithmetic | {{#vardefine:genre|14}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|6}} | Ethics | {{#vardefine:genre|15}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|7}} | English | {{#vardefine:genre|16}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|6}} | Social | {{#vardefine:genre|17}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|9}} | Athletics | {{#vardefine:genre|18}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|4}} | Demo | {{#vardefine:genre|19}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|5}} | Multi | {{#vardefine:genre|20}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|10}} | Experience | {{#vardefine:genre|21}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|7}} | Drawing | {{#vardefine:genre|22}} }} | ||
+ | {{#ifeq: {{#sub:{{{1}}}|0|1}} | ? | {{#vardefine:genre|99}} }} | ||
{{#if: {{#pos:{{{1}}}|Action}} | {{#vardefine:genre_action|1}} }} | {{#if: {{#pos:{{{1}}}|Action}} | {{#vardefine:genre_action|1}} }} | ||
− | {{#if: {{#pos:{{{1}}}| | + | {{#if: {{#pos:{{{1}}}|Educational}} | {{#vardefine:genre_education|1}} }} |
{{#if: {{#pos:{{{1}}}|Puzzle}} | {{#vardefine:genre_puzzle|1}} }} | {{#if: {{#pos:{{{1}}}|Puzzle}} | {{#vardefine:genre_puzzle|1}} }} | ||
{{#if: {{#pos:{{{1}}}|RPG}} | {{#vardefine:genre_rpg|1}} }} | {{#if: {{#pos:{{{1}}}|RPG}} | {{#vardefine:genre_rpg|1}} }} | ||
{{#if: {{#pos:{{{1}}}|Role}} | {{#vardefine:genre_rpg|1}} }} | {{#if: {{#pos:{{{1}}}|Role}} | {{#vardefine:genre_rpg|1}} }} | ||
{{#if: {{#pos:{{{1}}}|Racing}} | {{#vardefine:genre_racing|1}} }} | {{#if: {{#pos:{{{1}}}|Racing}} | {{#vardefine:genre_racing|1}} }} | ||
− | {{#if: {{#pos:{{{1}}}| | + | {{#if: {{#pos:{{{1}}}|Driving}} | {{#vardefine:genre_racing|1}} }} |
{{#if: {{#pos:{{{1}}}|Shoot}} | {{#vardefine:genre_shooting|1}} }} | {{#if: {{#pos:{{{1}}}|Shoot}} | {{#vardefine:genre_shooting|1}} }} | ||
{{#if: {{#pos:{{{1}}}|Shmup}} | {{#vardefine:genre_shooting|1}} }} | {{#if: {{#pos:{{{1}}}|Shmup}} | {{#vardefine:genre_shooting|1}} }} | ||
Line 13: | Line 60: | ||
{{#if: {{#pos:{{{1}}}|Home}} | {{#vardefine:genre_table|1}} }} | {{#if: {{#pos:{{{1}}}|Home}} | {{#vardefine:genre_table|1}} }} | ||
{{#if: {{#pos:{{{1}}}|Family}} | {{#vardefine:genre_table|1}} }} | {{#if: {{#pos:{{{1}}}|Family}} | {{#vardefine:genre_table|1}} }} | ||
− | |||
− | |||
{{#if: {{#pos:{{{1}}}|Adventure}} | {{#vardefine:genre_adventure|1}} }} | {{#if: {{#pos:{{{1}}}|Adventure}} | {{#vardefine:genre_adventure|1}} }} | ||
{{#if: {{#pos:{{{1}}}|Compilation}} | {{#vardefine:genre_compilation|1}} }} | {{#if: {{#pos:{{{1}}}|Compilation}} | {{#vardefine:genre_compilation|1}} }} | ||
Line 31: | Line 76: | ||
{{#if: {{#pos:{{{1}}}|Experience}} | {{#vardefine:genre_experience|1}} }} | {{#if: {{#pos:{{{1}}}|Experience}} | {{#vardefine:genre_experience|1}} }} | ||
{{#if: {{#pos:{{{1}}}|Drawing}} | {{#vardefine:genre_drawing|1}} }} | {{#if: {{#pos:{{{1}}}|Drawing}} | {{#vardefine:genre_drawing|1}} }} | ||
− | + | </div></includeonly><noinclude>{{TODO}}[[Category:Templates]]</noinclude> | |
− | |||
− | </div></includeonly><noinclude>{{TODO}}[[Category: |