Difference between revisions of "Genre2num"
From Sega Retro
Line 1: | Line 1: | ||
− | <div style="display:none">{{#vardefine:genre|0}}<includeonly>{{#switch: {{{1}}} | + | <div style="display:none"> |
+ | {{#vardefine:genre|0}} | ||
+ | <includeonly>{{#switch: {{{1}}} | ||
| Action = | | Action = | ||
| Adventure = | | Adventure = | ||
Line 14: | Line 16: | ||
| Table = | | Table = | ||
| {{#ifeq: {{#sub:{{{1}}}|0|1}} | ? | | [[Category:Genres that need to be looked at]] }} | | {{#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|11}} | Educational | {{#vardefine:genre|2}} }} | ||
{{#ifeq: {{#sub:{{{1}}}|0|6}} | Puzzle | {{#vardefine:genre|3}} }} | {{#ifeq: {{#sub:{{{1}}}|0|6}} | Puzzle | {{#vardefine:genre|3}} }} | ||
Line 41: | Line 44: | ||
{{#ifeq: {{#sub:{{{1}}}|0|4}} | Demo | {{#vardefine:genre|19}} }} | {{#ifeq: {{#sub:{{{1}}}|0|4}} | Demo | {{#vardefine:genre|19}} }} | ||
{{#ifeq: {{#sub:{{{1}}}|0|5}} | Multi | {{#vardefine:genre|20}} }} | {{#ifeq: {{#sub:{{{1}}}|0|5}} | Multi | {{#vardefine:genre|20}} }} | ||
− | {{#ifeq: {{#sub:{{{1}}}|0|1}} | ? | {{#vardefine:genre|99}} }}</div><noinclude>[[Category:Sega Retro templates|{{PAGENAME}}]]</noinclude> | + | {{#ifeq: {{#sub:{{{1}}}|0|1}} | ? | {{#vardefine:genre|99}} }} |
+ | </div></includeonly><noinclude>[[Category:Sega Retro templates|{{PAGENAME}}]]</noinclude> |