Difference between revisions of "Template:Competnmap"
From DoomWiki.org
(clarify explanation of third parameter) |
m (fix copy-paste mistake) |
||
Line 7: | Line 7: | ||
: <tt><nowiki>{{</nowiki>competnmap|'''<span style="color:green">WAD index</span>'''|'''<span style="color:green">map index</span>'''|'''<span style="color:green">map number</span>'''<nowiki>}}</nowiki></tt> | : <tt><nowiki>{{</nowiki>competnmap|'''<span style="color:green">WAD index</span>'''|'''<span style="color:green">map index</span>'''|'''<span style="color:green">map number</span>'''<nowiki>}}</nowiki></tt> | ||
− | All three parameters are required. The <span style="color:green">'''WAD index'''</span> and <span style="color:green">'''map index'''</span> come from the ''<nowiki>&wad=##&map=###</nowiki>'' segment of the map's URLs, which must be looked up manually. For example, ''&wad=1&map=127'' indicates [[E2M6: Halls of the Damned (Doom)]], while ''&wad=9&map=920'' points to [[MAP19: The Shaft (Memento Mori II)]]. <span style="color:green">'''map number'''</span> is used only in the rendered text and should simply be copied from the article title, e.g. ''E2M6'' or ''Memento Mori MAP19''. | + | All three parameters are required. The <span style="color:green">'''WAD index'''</span> and <span style="color:green">'''map index'''</span> come from the ''<nowiki>&wad=##&map=###</nowiki>'' segment of the map's URLs, which must be looked up manually. For example, ''&wad=1&map=127'' indicates [[E2M6: Halls of the Damned (Doom)]], while ''&wad=9&map=920'' points to [[MAP19: The Shaft (Memento Mori II)]]. <span style="color:green">'''map number'''</span> is used only in the rendered text and should simply be copied from the article title, e.g. ''E2M6'' or ''Memento Mori II MAP19''. |
[[Category:External link templates]]</noinclude> | [[Category:External link templates]]</noinclude> |
Revision as of 21:50, 9 February 2016
Instructions
This template assembles links to the various speedrun style subdirectories for a single map within the COMPET-N archive.
Syntax:
- {{competnmap|WAD index|map index|map number}}
All three parameters are required. The WAD index and map index come from the &wad=##&map=### segment of the map's URLs, which must be looked up manually. For example, &wad=1&map=127 indicates E2M6: Halls of the Damned (Doom), while &wad=9&map=920 points to MAP19: The Shaft (Memento Mori II). map number is used only in the rendered text and should simply be copied from the article title, e.g. E2M6 or Memento Mori II MAP19.