Difference between revisions of "SpriteCategory"

From Sega Retro

(Created page with "<includeonly>{{#vardefine:name | {{#if:{{{override|}}} | {{{override}}} | {{PAGENAME}} }} }} {{#vardefine:title | {{#sub:{{#var:name}} | 0 | -8 }} }} ''[[{{#var:title}}]]'' sp...")
 
m
Line 8: Line 8:
 
{{#if:{{{5|}}} | [[Category:{{Code2Format|{{{5|}}}}} sprites]] }}
 
{{#if:{{{5|}}} | [[Category:{{Code2Format|{{{5|}}}}} sprites]] }}
 
{{#if:{{{6|}}} | [[Category:{{Code2Format|{{{6|}}}}} sprites]] }}
 
{{#if:{{{6|}}} | [[Category:{{Code2Format|{{{6|}}}}} sprites]] }}
[[Category:{{#var|title}}]]</includeonly><noinclude>
+
[[Category:{{#var:title}}]]</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:35, 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.