Difference between revisions of "MapCategory"

From Sega Retro

 
Line 12: Line 12:
 
| [[Category:{{Code2Format|{{{10|}}}}} map images]] }}{{#if:{{{11|}}}
 
| [[Category:{{Code2Format|{{{10|}}}}} map images]] }}{{#if:{{{11|}}}
 
| [[Category:{{Code2Format|{{{11|}}}}} map images]] }}{{#if:{{{12|}}}
 
| [[Category:{{Code2Format|{{{11|}}}}} map images]] }}{{#if:{{{12|}}}
| [[Category:{{Code2Format|{{{12|}}}}} map images]] }}</includeonly><noinclude>
+
| [[Category:{{Code2Format|{{{12|}}}}} map images]] }}{{#ifeq:{{#sub:{{PAGENAME}} | 0 | 4 }} | The | {{DEFAULTSORT:{{#sub:{{PAGENAME}} | 4 }}, The }} | }}</includeonly><noinclude>
 
Used for game subcategories in [[:Category:Map images]]. Adds boilerplate text and includes the category in the appropriate console categories and the appropriate game category.
 
Used for game subcategories in [[:Category:Map images]]. Adds boilerplate text and includes the category in the appropriate console categories and the appropriate game category.
  

Latest revision as of 06:58, 26 October 2024

Used for game subcategories in Category:Map images. Adds boilerplate text and includes the category in the appropriate console categories and the appropriate game category.

See also Template:ScreenshotCategory and Template:SpriteCategory.

Usage

{{MapCategory|SMS|GG}}

Multiple platforms can be included as positional arguments (using format codes).

The optional named arguments are:

| override=
| italics=