Template:Maplinkgen
[[{{{1}}}:_{{{2}}}|{{{1}}}: {{{2}}}]]
UsageEdit
Fully generic map article generation template that handles 99% of map article linking needs. Arguments:
- 1: The WAD file "slot" that this map occupies. For E1M1 of the original Doom, this is E1M1.
- 2: Undecorated name of the map. For E1M1 again, this is Hangar.
- 3: Game or PWAD, if specified (optional). For E1M1, this is Doom.
- 4: If specified with any value, the game name will appear in the visible link text. Default is to not show it.
ExamplesEdit
- {{maplinkgen|E1M1|Hangar|Doom}}: E1M1: Hangar
- {{maplinkgen|Hub 1|Brackenwood}}: Hub 1: Brackenwood
- {{maplinkgen|MAP01|Entryway|Doom II|true}}: MAP01: Entryway (Doom II)