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:ArticleVersion"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (fix)
(shorten older version numbers in different namespaces)
Line 4: Line 4:
 
</noinclude>{{
 
</noinclude>{{
 
#vardefine:PAGE|{{{1|{{PAGENAME}}}}}}}{{
 
#vardefine:PAGE|{{{1|{{PAGENAME}}}}}}}{{
 +
#vardefine:NSID|{{ns-rel-id|{{NAMESPACE}}}}}}{{
 
#vardefine:ecur|{{#ifexist:DF2014:{{#var:PAGE}}|1}}}}{{
 
#vardefine:ecur|{{#ifexist:DF2014:{{#var:PAGE}}|1}}}}{{
 
#vardefine:e5|{{#var:ecur}}}}{{
 
#vardefine:e5|{{#var:ecur}}}}{{
Line 17: Line 18:
 
|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={{#if:{{#var:evan}}|
 
|r1={{#if:{{#var:evan}}|
[[{{#ifeq:{{NAMESPACE}}|DF2014|*}}DF2014:{{PAGENAME}}|v{{current/version}}]]
+
[[{{#ifeq:{{#var:NSID}}|5|*}}{{ns-name|5}}:{{PAGENAME}}|v{{current/version}}]]
[[{{#ifeq:{{NAMESPACE}}|v0.34|*}}v0.34:{{PAGENAME}}|v0.34.11]]
+
[[{{#ifeq:{{#var:NSID}}|4|*}}{{ns-name|4}}:{{PAGENAME}}|v0.34.11]]
[[{{#ifeq:{{NAMESPACE}}|v0.31|*}}v0.31:{{PAGENAME}}|v0.31.25]]
+
[[{{#ifeq:{{#var:NSID}}|3|*}}{{ns-name|3}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|3|0.31.25|0.31}}]]
[[{{#ifeq:{{NAMESPACE}}|40d|*}}40d:{{PAGENAME}}|v0.28.181.40d]]
+
[[{{#ifeq:{{#var:NSID}}|2|*}}{{ns-name|2}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|2|0.28.181.40d|0.28}}]]
[[{{#ifeq:{{NAMESPACE}}|23a|*}}23a:{{PAGENAME}}|v0.23.130.23a]]
+
[[{{#ifeq:{{#var:NSID}}|1|*}}{{ns-name|1}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|1|0.23.130.23a|0.23}}]]
 
}}
 
}}
 
<!--|r2={{#if:{{#var:emod}}|
 
<!--|r2={{#if:{{#var:emod}}|

Revision as of 04:06, 28 November 2015

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