Difference between revisions of "Template:Map"

From DoomWiki.org

(Usage: (new section))
m (Correct noname usage)
Line 12: Line 12:
 
Optional parameters:
 
Optional parameters:
 
* '''{{c|<nowiki>nocat=true</nowiki>}}''' suppresses categorization; use for single-map mods.
 
* '''{{c|<nowiki>nocat=true</nowiki>}}''' suppresses categorization; use for single-map mods.
 +
* '''{{c|<nowiki>nocat=noname</nowiki>}}''' invokes the subcategory for levels without individual titles (e.g. [[E1M1 (Galaxia)|Galaxia]]).
 
* '''{{c|<nowiki>name=</nowiki>}}''' overrides automatic detection of the title, for example to ignore a leading "The" or "A".
 
* '''{{c|<nowiki>name=</nowiki>}}''' overrides automatic detection of the title, for example to ignore a leading "The" or "A".
* '''{{c|<nowiki>noname</nowiki>}}''' invokes the subcategory for levels without individual titles (e.g. [[E1M1 (Galaxia)|Galaxia]]).
 
  
 
[[Category:Disambiguation templates]]</noinclude>
 
[[Category:Disambiguation templates]]</noinclude>

Revision as of 15:36, 2 December 2016

This level occupies the map slot {{{slot}}}. For other maps which occupy this slot, see [[:Category:{{{slot}}}]].


Usage

{{map}} categorizes a map by its number, and outputs a disambiguation notice linking to that category. This should be placed at the top of every map article (see also Template:Map skel).

Required parameter:

  • slot= is the level number in the Doom engine's usual format, e.g. E2M1 or MAP05.

Optional parameters:

  • nocat=true suppresses categorization; use for single-map mods.
  • nocat=noname invokes the subcategory for levels without individual titles (e.g. Galaxia).
  • name= overrides automatic detection of the title, for example to ignore a leading "The" or "A".