Changes

From DoomWiki.org

Template:Wad

195 bytes added, 14:40, 7 December 2021
add honorable mention flag
{{!}} style="background-color: #CEDFF2; vertical-align: middle;" {{!}} This mod was one of the ten [https://www.doomworld.com/10years/bestwads/{{{top}}}.php {{{top}}} mods] to feature in the [[Top 100 WADs of All Time]] on [[Doomworld]]!<includeonly>[[Category:Top 100 WADs of All Time]]</includeonly>}}
{{#ifexpr:{{{caco|2003}}}>=2004|
{{!}}-
! style="background-color: #000000;" {{!}} [[File:{{#ifexpr:{{{caco|2003}}}>=2018|Cacoward-2018.png|Cacoward.png}}|50px]]
{{!}} style="background-color: #CEDFF2; vertical-align: middle;" {{!}} This mod {{#if:{{{ru|}}}|was a runner-up for|{{#if:{{{hm|}}}|received an honorable mention at|received one of}}}} the [{{#ifexpr:{{{caco|2003}}}>=2018|https://www.doomworld.com/cacowards/{{{caco|2003}}}/|https://www.doomworld.com/{{#expr:{{{caco|2003}}}-1993}}years/}} {{{caco|2003}}}] [[Cacowards]] on [[Doomworld]]{{#if:{{{category|}}}|&nbsp;in the {{{category}}} category}}!<includeonly>[[Category:Cacoward {{#if:{{{ru|}}}|runners-up|{{#if:{{{hm|}}}|honorable mentions|winners}}}}]]</includeonly>}}
|}<includeonly>
{{#switch:{{{type}}}|m = [[Category:Megawads]]|l = [[Category:Level WADs]]{{#if:{{{author|}}}|[[Category:{{{author}}} levels]]}}|u = [[Category:Multilevel WADs]]|e = [[Category:Episode WADs]]|d = [[Category:Demonstration WADs]]|n = [[Category:Multiplayer WADs]]|p = [[Category:Partial conversions]]|t = [[Category:Total conversions]]|x = [[Category:Texture packs]]|s = [[Category:Music packs]]|#default = [[Category:PWADs without maps]]}}{{#if:{{{port|}}}|[[Category:{{{port}}} WADs]]|[[Category:Vanilla WADs]]}}{{#if:{{{port2|}}}|[[Category:{{{port2}}} WADs]]}}{{#switch:{{{iwad}}}|Doom|Plutonia|Heretic|Hexen|Strife = [[Category:{{{iwad}}} WADs]]|Chex = [[Category:Chex Quest WADs]]|Doom2|Doom II|Doom 2 = [[Category:Doom II WADs]]|TNT = [[Category:TNT: Evilution WADs]]}}{{#if:{{{iwad2|}}}|{{#switch:{{{iwad2}}}|Doom|Plutonia|Heretic|Hexen|Strife = [[Category:{{{iwad2}}} WADs]]|Chex = [[Category:Chex Quest WADs]]|Doom2|Doom II|Doom 2 = [[Category:Doom II WADs]]|TNT = [[Category:TNT: Evilution WADs]]}}}}{{#if:{{{year|}}}|[[Category:{{{year}}} WADs]]}}[[Category:PWADs by name]]</includeonly><noinclude><div style="clear:right;">
* '''caco:''' If the mod received a [[Cacowards|Cacoward]], enter the year.
* '''ru:''' ''(true/false)'' The Cacoward was a runner-up.
* '''hm:''' ''(true/false)'' Received an honorable mention or general recommendation at that year's Cacowards.
* '''category:''' Special prize category for Cacowards, if applicable.
* '''type:''' General type. The template will attempt to auto-categorize based on this; the default is a gameplay mod.<div class="dw-div-dl">''m:'' [[Megawad]]<br />''l:'' Single-level WAD<br />''u:'' Multilevel WAD<br />''e:'' [[Megawad#Episode replacement|Episode WAD]]<br />''d:'' Demonstration WAD created specifically for the wiki<br />''n:'' [[Multiplayer]] mod<br />''p:'' [[Partial conversion]]<br />''t:'' [[Total conversion]]<br />''s:'' Soundtrack pack<br />''x:'' TeXture pack</div>
</div>produces the box seen [[Special:Permalink/124780|here]].</div>
This template automatically adds category tags for these parameters: author, iwad, port/port2, type, top, caco/ru/hm, year.
[[Category:Templates]]</noinclude>