Difference between revisions of "SpriteCategory"
From Sega Retro
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:name | {{#if:{{{override|}}} | {{{override}}} | {{PAGENAME}} }} }} | + | <includeonly>{{#vardefine:name | {{#if:{{{override|}}} | {{{override}}} | {{PAGENAME}} }} }}{{#vardefine:title | {{#sub:{{#var:name}} | 0 | -8 }} }} |
− | {{#vardefine:title | {{#sub:{{#var:name}} | 0 | -8 }} }} | ||
''[[{{#var:title}}]]'' sprites. | ''[[{{#var:title}}]]'' sprites. | ||
[[Category:{{#var:title}}]]{{#if:{{{1|}}} | [[Category:{{Code2Format|{{{1|}}}}} sprites]] }}{{#if:{{{2|}}} | [[Category:{{#var:title}}]]{{#if:{{{1|}}} | [[Category:{{Code2Format|{{{1|}}}}} sprites]] }}{{#if:{{{2|}}} |
Revision as of 23:37, 12 October 2024
Used for game subcategories in Category:Sprites. Adds boilerplate text and includes the category in the appropriate console categories and the appropriate game category.
Usage
{{ScanCategory|SMS|GG}}
Multiple platforms can be included as positional arguments.