Difference between revisions of "GenreCatNav"
From Sega Retro
Line 1: | Line 1: | ||
<div style="display:none;">{{#vardefine:genre|{{#if:{{#pos:{{PAGENAME}}|action}}|action|{{ | <div style="display:none;">{{#vardefine:genre|{{#if:{{#pos:{{PAGENAME}}|action}}|action|{{ | ||
#if:{{#pos:{{PAGENAME}}|adventure}}|adventure|{{ | #if:{{#pos:{{PAGENAME}}|adventure}}|adventure|{{ | ||
− | #if:{{#pos:{{PAGENAME}}|compilations}}| | + | #if:{{#pos:{{PAGENAME}}|compilations}}|compilation|{{ |
− | #if:{{#pos:{{PAGENAME}}|demo discs}}|demo | + | #if:{{#pos:{{PAGENAME}}|demo discs}}|demo|{{ |
#if:{{#pos:{{PAGENAME}}|educational}}|educational|{{ | #if:{{#pos:{{PAGENAME}}|educational}}|educational|{{ | ||
#if:{{#pos:{{PAGENAME}}|fighting}}|fighting|{{ | #if:{{#pos:{{PAGENAME}}|fighting}}|fighting|{{ | ||
Line 14: | Line 14: | ||
#if:{{#pos:{{PAGENAME}}|table}}|table|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}{{#switch:{{#var:genre}}| | #if:{{#pos:{{PAGENAME}}|table}}|table|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}{{#switch:{{#var:genre}}| | ||
|action={{#vardefine:icon|Genre action.svg}}{{#vardefine:category|action games}} | |action={{#vardefine:icon|Genre action.svg}}{{#vardefine:category|action games}} | ||
− | | | + | |adventure={{#vardefine:icon|Genre adventure.svg}}{{#vardefine:category|adventure games}} |
− | | | + | |compilation={{#vardefine:icon|}}{{#vardefine:category|game compilations}} |
− | | | + | |demo={{#vardefine:icon|}}{{#vardefine:category|demo discs}} |
− | | | + | |educational={{#vardefine:icon|Genre edu.svg}}{{#vardefine:category|educational games}} |
− | | | + | |fighting={{#vardefine:icon|Genre fighting.png}}{{#vardefine:category|fighting games}} |
− | | | + | |miscellaneous={{#vardefine:icon|}}{{#vardefine:category|miscellaneous software}} |
− | | | + | |puzzle={{#vardefine:icon|Genre puzzle.svg}}{{#vardefine:category|puzzle games}} |
− | | | + | |RPGs={{#vardefine:icon|Genre rpg.svg}}{{#vardefine:category|RPGs}} |
− | | | + | |racing={{#vardefine:icon|Genre racing.svg}}{{#vardefine:category|racing games}} |
− | | | + | |shoot-'em-up={{#vardefine:icon|Genre shmup.svg}}{{#vardefine:category|shoot-'em-up games}} |
− | | | + | |simulation={{#vardefine:icon|Genre simulation.svg}}{{#vardefine:category|simulation games}} |
− | | | + | |sports={{#vardefine:icon|Genre sports.svg}}{{#vardefine:category|sports games}} |
− | | | + | |table={{#vardefine:icon|Genre home.png}}{{#vardefine:category|table games}} |
}}</div>{{#if:{{#var:icon}}|[[File:{{#var:icon}}|right|200px]]}}{{#ifeq:{{NAMESPACE}}|Category|[[Category:{{#var:category}}]]}} | }}</div>{{#if:{{#var:icon}}|[[File:{{#var:icon}}|right|200px]]}}{{#ifeq:{{NAMESPACE}}|Category|[[Category:{{#var:category}}]]}} | ||
{| class="toc plainlinks noprint" align="left" | {| class="toc plainlinks noprint" align="left" |