Actions

Template

Difference between revisions of "Genre2num"

From NEC Retro

(Copied)
 
Line 1: Line 1:
<div style="display:none">
+
<includeonly><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}}}|Educational}} | {{#vardefine:genre_education|1}} }}
+
{{#if: {{#pos:{{{1}}}|Edu}} | {{#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}}}|Driving}} | {{#vardefine:genre_racing|1}} }}
+
{{#if: {{#pos:{{{1}}}|Driv}} | {{#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 60: Line 13:
 
{{#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}}}|Typing}} | {{#vardefine:genre_table|1}} }}
 +
{{#if: {{#pos:{{{1}}}|Variety}} | {{#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 76: Line 31:
 
{{#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>[[Category:NEC Retro templates]]</noinclude>
+
{{#if: {{#pos:{{{1}}}|Arcade}} | {{#vardefine:genre_arcade|1}} }}
 +
{{#if: {{#pos:{{{1}}}|Card}} | {{#vardefine:genre_card|1}} }}
 +
</div></includeonly><noinclude>{{TODO}}[[Category:Sega Retro templates]]</noinclude>

Revision as of 15:37, 31 December 2021

48
This task is unfinished
This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of NEC Retro:Todo until this message is removed.