Editing Template:Map From DoomWiki.org Warning: You are not logged in. Your IP address will be recorded in this page's edit history. Anti-spam check. Do not fill this in! <div class="dw-div-dl">''This level occupies the map slot {{uc:{{{slot}}}}}. For other maps {{#if:{{{nonstd|}}}|with a non-standard slot, see [[:Category:Non-standard map slots]]|which occupy this slot, see [[:Category:{{uc:{{{slot}}}}}]]}}.''</div> {{#ifeq:{{NAMESPACENUMBER}}|0|<includeonly>{{#ifeq:{{lc:{{{nocat|false}}}}}|false|{{DEFAULTSORT:{{{name|{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}| |0}}|0}}}}}}}[[{{#if:{{{nonstd|}}}|Category:Non-standard map slots|Category:{{uc:{{{slot}}}}}}}]][[Category:Levels by name]]|{{#ifeq:{{lc:{{{nocat|}}}}}|noname|{{DEFAULTSORT:{{{name|{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|(|0}}+1}}|0}} {{#sub:{{PAGENAME}}|0|{{#expr:{{#pos:{{PAGENAME}}|(|0}}-1}}}}}}}}}[[{{#if:{{{nonstd|}}}|Category:Non-standard map slots|Category:{{uc:{{{slot}}}}}}}]][[Category:Levels without name]]|<!-- Category suppressed -->}}}}</includeonly>|}}<noinclude> === Usage === '''{{c|<nowiki>{{map}}</nowiki>}}''' 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: * '''{{c|<nowiki>slot=</nowiki>}}''' is the level number in the Doom engine's usual format, e.g. ''E2M1'' or ''MAP05''. Optional parameters: * '''{{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]]). Ignored if the ''name'' parameter is used. This parameter may create strange results if the page title is not in the standard form ''SLOT (Mod Name).'' * '''{{c|<nowiki>nonstd=true</nowiki>}}''' categorizes non-standard slot numbers (i.e. other than ExMy and MAPzz) in the general "Non-standard map slots" category. * '''{{c|<nowiki>name=</nowiki>}}''' overrides automatic detection of the title, for example to ignore a leading "The" or "A". <u>Technical note about automatic sort keys:</u> The algorithm in this template is not designed to cover every possible grammatical situation (to avoid creating unmaintainable {{wp|Kudzu in the United States|kudzu}}). Unusual cases should be spot checked on category pages once they have updated, and if sorting is incorrect, just use '''{{c|nocat{{=}}true}}''' and manually add a [[mw:Help:Magic words#Technical metadata|DEFAULTSORT]] and the additional categories. In particular, there are known issues with: * Map names beginning with '''{{c|A}}''', '''{{c|An}}''', '''{{c|The}}''', or similar words in other languages. * Map names containing colons, where the mod is a single map not inhabiting MAP01 (e.g. [[Jägermörder 2: Terra Nova]]). * Custom map slot ''systems'' in advanced ports, especially containing spaces (e.g. [[Zone 15: Final Battle Zone (Super Sonic Doom)]]). [[Category:Disambiguation templates]]</noinclude> Summary: All contributions to DoomWiki.org are considered to be released under the CC BY-SA 4.0 International (see Doom Wiki:Copyrights for details). By contributing, you agree to be bound by the Terms of Use. Your changes will be visible immediately. Please enter a summary of your changes above. Do not submit copyrighted images or text without permission! This includes text taken from in-game codices or logbooks, or from official instruction manuals, strategy guides, and other such books. This project is not affiliated with id Software, Raven Software, ZeniMax Media, Bethesda SoftWorks, or any other commercial software developer or publisher. Use of trademarked logos and other protected intellectual property is solely for the purpose of analysis and critical commentary on the identified products and associated fan community activity, and does not imply any endorsement by any of these organizations or their employees, past or present. Upload images to the wiki. Don't forget to categorize pages! For testing, please use a sandbox. View this template Cancel | Editing help (opens in new window) Templates used on this page: Template:= (edit) Template:C (edit) Template:Wp (edit)