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"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (color link)
(migrate variables)
 
Line 1: Line 1:
{{version links
+
<noinclude>
 +
<!-- DO NOT edit this template unless you know very well what you are doing. This template is extremely easy to break. -->
 +
{{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}}
 
|theme={{#switch:{{NAMESPACE}}|{{DF:Current}}=green|Template|Dwarf Fortress Wiki=blue|Masterwork=purple|#default=orange}}
|r1=
+
|r1={{#if:{{#var:evan}}|
 
[[{{#ifeq:{{NAMESPACE}}|DF2012|*}}DF2012:{{PAGENAME}}|v0.34.11]]
 
[[{{#ifeq:{{NAMESPACE}}|DF2012|*}}DF2012:{{PAGENAME}}|v0.34.11]]
 
[[{{#ifeq:{{NAMESPACE}}|v0.31|*}}v0.31:{{PAGENAME}}|v0.31.25]]
 
[[{{#ifeq:{{NAMESPACE}}|v0.31|*}}v0.31:{{PAGENAME}}|v0.31.25]]
 
[[{{#ifeq:{{NAMESPACE}}|40d|*}}40d:{{PAGENAME}}|v0.28.181.40d]]
 
[[{{#ifeq:{{NAMESPACE}}|40d|*}}40d:{{PAGENAME}}|v0.28.181.40d]]
 
[[{{#ifeq:{{NAMESPACE}}|23a|*}}23a:{{PAGENAME}}|v0.23.130.23a]]
 
[[{{#ifeq:{{NAMESPACE}}|23a|*}}23a:{{PAGENAME}}|v0.23.130.23a]]
|r2={{#if:{{#ifexist:Masterwork:{{PAGENAME}}|1}}|
+
}}
 +
|r2={{#if:{{#var:emod}}|
 +
{{#if:{{#var:ismod}}||Mods:&nbsp;}}
 
[[{{#ifeq:{{NAMESPACE}}|Masterwork|*}}Masterwork:{{PAGENAME}}|Masterwork]]
 
[[{{#ifeq:{{NAMESPACE}}|Masterwork|*}}Masterwork:{{PAGENAME}}|Masterwork]]
 
}}
 
}}

Latest revision as of 13:42, 13 June 2014

Shortcut:
template:av
This article is in the template namespace.