v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Difference between revisions of "Template:Av/v2"
Jump to navigation
Jump to search
(test) |
(migrate variables) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{version links| | + | <noinclude> |
− | r1=[[*DF2012: | + | <!-- DO NOT edit this template unless you know very well what you are doing. This template is extremely easy to break. --> |
− | |r2=[[Masterwork: | + | {{shortcut|template:av}} |
+ | </noinclude>{{ | ||
+ | #vardefine:PAGE|{{{1|{{PAGENAME}}}}}}}{{ | ||
+ | #vardefine:ecur|{{#ifexist:DF2012:{{#var:PAGE}}|1}}}}{{ | ||
+ | #vardefine:e4|{{#var:ecur}}}}{{ | ||
+ | #vardefine:e3|{{#ifexist:v0.31:{{#var:PAGE}}|1}}}}{{ | ||
+ | #vardefine:e2|{{#ifexist:40d:{{#var:PAGE}}|1}}}}{{ | ||
+ | #vardefine:e1|{{#ifexist:23a:{{#var:PAGE}}|1}}}}{{ | ||
+ | #vardefine:emw|{{#ifexist:Masterwork:{{#var:PAGE}}|1}}}}{{ | ||
+ | #vardefine:evan|{{#if:{{#var:e4}}{{#var:e3}}{{#var:e2}}{{#var:e1}}|1}}}}{{ | ||
+ | #vardefine:emod|{{#if:{{#var:emw}}|1}}}}{{ | ||
+ | #vardefine:ismod|{{#switch:{{NAMESPACE}}|Masterwork=1}} | ||
+ | }}{{version links | ||
+ | |theme={{#switch:{{NAMESPACE}}|{{DF:Current}}=green|Template|Dwarf Fortress Wiki=blue|Masterwork=purple|#default=orange}} | ||
+ | |r1={{#if:{{#var:evan}}| | ||
+ | [[{{#ifeq:{{NAMESPACE}}|DF2012|*}}DF2012:{{PAGENAME}}|v0.34.11]] | ||
+ | [[{{#ifeq:{{NAMESPACE}}|v0.31|*}}v0.31:{{PAGENAME}}|v0.31.25]] | ||
+ | [[{{#ifeq:{{NAMESPACE}}|40d|*}}40d:{{PAGENAME}}|v0.28.181.40d]] | ||
+ | [[{{#ifeq:{{NAMESPACE}}|23a|*}}23a:{{PAGENAME}}|v0.23.130.23a]] | ||
+ | }} | ||
+ | |r2={{#if:{{#var:emod}}| | ||
+ | {{#if:{{#var:ismod}}||Mods: }} | ||
+ | [[{{#ifeq:{{NAMESPACE}}|Masterwork|*}}Masterwork:{{PAGENAME}}|Masterwork]] | ||
+ | }} | ||
+ | |bottom={{version links/link|Template:av|More Info}} | ||
+ | |center={{#switch:{{NAMESPACE}}|#default=This article is about an '''older version''' of DF.[[category:Obsolete|{{PAGENAME}}]]{{#if:{{#var:e4}}||[[category:Missing current version|{{PAGENAME}}]]}}|Template=This article is in the template namespace.|Dwarf Fortress Wiki=This article is in the DF wiki namespace.|{{df:current}}=This article is about the current version of DF.[[category:Current|{{PAGENAME}}]]|Masterwork=This article is about a '''[[Main:mod|mod]]'''.}} | ||
}} | }} |
Latest revision as of 13:42, 13 June 2014
This article is in the template namespace. |