Template: Maplinkgen
From 3DGE Wiki
Revision as of 16:15, 12 November 2018 by Corbin (talk | contribs) (Created page with "[[{{{1}}}:_{{{2}}}{{#if:{{{3|}}}|_({{{3}}})|}}|{{{1}}}: {{{2}}}{{#if:{{{4|}}}| ({{{3}}})|}}]]<noinclude> ==Usage== Fully generic map article generation template that hand...")
[[{{{1}}}:_{{{2}}}|{{{1}}}: {{{2}}}]]
Usage
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.
Examples
- {{maplinkgen|E1M1|Hangar|Doom}}: E1M1: Hangar
- {{maplinkgen|Hub 1|Brackenwood}}: Hub 1: Brackenwood
- {{maplinkgen|MAP01|Entryway|Doom II|true}}: MAP01: Entryway (Doom II)