Difference between revisions of "Template:Wad/test"
From DoomWiki.org
(aha! blank + "Hexen" -> "Vanilla Hexen" but "ZDoom" + "Hexen" -> "Hexen") |
(#if vs #ifexpr, film at 11) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
! style="background-color: #000000;" {{!}} [[File:Top100.png|50px]] | ! style="background-color: #000000;" {{!}} [[File:Top100.png|50px]] | ||
{{!}} 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>}} | {{!}} 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:{{#expr:{{{caco|2003}}}>=2004}}| |
! style="background-color: #000000;" {{!}} [[File:Cacoward.png|50px]] | ! style="background-color: #000000;" {{!}} [[File:Cacoward.png|50px]] | ||
− | {{!}} style="background-color: #CEDFF2; vertical-align: middle;" {{!}} This mod {{#if:{{{ru|}}}|was a runner-up for|received one of}} the [https://www.doomworld.com/{{{caco| | + | {{!}} style="background-color: #CEDFF2; vertical-align: middle;" {{!}} This mod {{#if:{{{ru|}}}|was a runner-up for|received one of}} the [https://www.doomworld.com/{{#expr:{{{caco|2003}}}-1993}}years/ {{{caco|2003}}}] [[Cacowards]] on [[Doomworld]]{{#if:{{{category|}}}| in the {{{category}}} category}}!<includeonly>[[Category:Cacoward {{#if:{{{ru|}}}|runners-up|winners}}]]</includeonly>}} |
|}<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]]|#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:{{{year|}}}|[[Category:{{{year}}} WADs]]}}[[Category:PWADs by name]]</includeonly><noinclude><div style="clear:right;"> | {{#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]]|#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:{{{year|}}}|[[Category:{{{year}}} WADs]]}}[[Category:PWADs by name]]</includeonly><noinclude><div style="clear:right;"> |
Latest revision as of 22:53, 15 March 2018
Wad/test | |
---|---|
Add a screenshot and caption | |
Author | Unknown |
Port | Vanilla Doom |
IWAD | Unknown |
Year | N/A |
Link | N/A |
Infobox for the upper right corner of a mod article. All parameters are optional, although most should be obvious from the file and readme.
- name: Mod title; defaults to the page name. (Thus, do not use this template for maps within a multi-map WAD.)
- author: Author, if there is only one.
- authors: Authors, if multiple. Ignored if author is populated.
- screenshot: File name (without File: prefix) of a TITLEPIC or other representative screenshot uploaded to the wiki.
- caption: Screenshot caption. If undefined, a specified screenshot is expected to be the title screen.
- port: Intended port; defaults to vanilla. Do not include a version number, as the template will attempt to link to the port article.
- port2: Other port with which the mod is compatible (if not implied by port, e.g. do not put "GZDoom" for every Boom compatible file).
- iwad: Intended IWAD for play.
- year: Year of release.
- link: External download link. Use only maintained archives (such as /idgames), not temporary sharing services.
- top: If the mod was recognized in the Top 100 WADs of All Time, enter the year.
- caco: If the mod received a Cacoward, enter the edition (11, 12, 13...)
- ru: (true/false) The Cacoward was a runner-up.
- 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.m: Megawad
l: Single-level WAD
u: Multilevel WAD
e: Episode WAD
d: Demonstration WAD created specifically for the wiki
n: Multiplayer mod
p: Partial conversion
t: Total conversion
{{wad
|author=The Innocent Crew
|iwad=Doom II
|year=1995
|link={{idgames|file=levels/doom2/m-o/obtic11|title=Obituary 1.1}}
|top=1995
|screenshot=Obituary-splash.png
|type=m
}}
This template automatically adds category tags for these parameters: author, iwad, port/port2, type, top, caco/ru, year.