Difference between revisions of "SpriteCategory"
From Sega Retro
m |
m |
||
Line 2: | Line 2: | ||
{{#vardefine:title | {{#sub:{{#var:name}} | 0 | -8 }} }} | {{#vardefine:title | {{#sub:{{#var:name}} | 0 | -8 }} }} | ||
''[[{{#var:title}}]]'' sprites. | ''[[{{#var:title}}]]'' sprites. | ||
− | {{#if:{{{1|}}} | [[Category:{{Code2Format|{{{1|}}}}} sprites]] }} | + | [[Category:{{#var:title}}]]{{#if:{{{1|}}} | [[Category:{{Code2Format|{{{1|}}}}} sprites]] }}{{#if:{{{2|}}} |
− | {{#if:{{{2|}}} | [[Category:{{Code2Format|{{{2|}}}}} sprites]] }} | + | | [[Category:{{Code2Format|{{{2|}}}}} sprites]] }}{{#if:{{{3|}}} |
− | {{#if:{{{3|}}} | [[Category:{{Code2Format|{{{3|}}}}} sprites]] }} | + | | [[Category:{{Code2Format|{{{3|}}}}} sprites]] }}{{#if:{{{4|}}} |
− | {{#if:{{{4|}}} | [[Category:{{Code2Format|{{{4|}}}}} sprites]] }} | + | | [[Category:{{Code2Format|{{{4|}}}}} sprites]] }}{{#if:{{{5|}}} |
− | {{#if:{{{5|}}} | [[Category:{{Code2Format|{{{5|}}}}} sprites]] }} | + | | [[Category:{{Code2Format|{{{5|}}}}} sprites]] }}{{#if:{{{6|}}} |
− | {{#if:{{{6|}}} | [[Category:{{Code2Format|{{{6|}}}}} sprites]] }} | + | | [[Category:{{Code2Format|{{{6|}}}}} sprites]] }}</includeonly><noinclude> |
− | |||
Used for game subcategories in [[:Category:Sprites]]. Adds boilerplate text and includes the category in the appropriate console categories and the appropriate game category. | Used for game subcategories in [[:Category:Sprites]]. Adds boilerplate text and includes the category in the appropriate console categories and the appropriate game category. | ||
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.