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 (may as well change 0.34 too)
(update for v50?)
Line 5: Line 5:
 
#vardefine:PAGE|{{{1|{{PAGENAME}}}}}}}{{
 
#vardefine:PAGE|{{{1|{{PAGENAME}}}}}}}{{
 
#vardefine:NSID|{{ns-rel-id|{{NAMESPACE}}}}}}{{
 
#vardefine:NSID|{{ns-rel-id|{{NAMESPACE}}}}}}{{
#vardefine:ecur|{{#ifexist:DF2014:{{#var:PAGE}}|1}}}}{{
+
#vardefine:e6|{{#ifexist:Main:{{#var:PAGE}}|1}}}}{{
#vardefine:e5|{{#var:ecur}}}}{{
+
#vardefine:e5|{{#ifexist:DF2014:{{#var:PAGE}}|1}}}}{{
 
#vardefine:e4|{{#ifexist:v0.34:{{#var:PAGE}}|1}}}}{{
 
#vardefine:e4|{{#ifexist:v0.34:{{#var:PAGE}}|1}}}}{{
 
#vardefine:e3|{{#ifexist:v0.31:{{#var:PAGE}}|1}}}}{{
 
#vardefine:e3|{{#ifexist:v0.31:{{#var:PAGE}}|1}}}}{{
 
#vardefine:e2|{{#ifexist:40d:{{#var:PAGE}}|1}}}}{{
 
#vardefine:e2|{{#ifexist:40d:{{#var:PAGE}}|1}}}}{{
 
#vardefine:e1|{{#ifexist:23a:{{#var:PAGE}}|1}}}}{{
 
#vardefine:e1|{{#ifexist:23a:{{#var:PAGE}}|1}}}}{{
 +
#vardefine:ecur|{{#var:e6}}}}{{
 
#vardefine:emw|{{#ifexist:Masterwork:{{#var:PAGE}}|1}}}}{{
 
#vardefine:emw|{{#ifexist:Masterwork:{{#var:PAGE}}|1}}}}{{
#vardefine:evan|{{#if:{{#var:e5}}{{#var:e4}}{{#var:e3}}{{#var:e2}}{{#var:e1}}|1}}}}{{
+
#vardefine:evan|{{#if:{{#var:e6}}{{#var:e5}}{{#var:e4}}{{#var:e3}}{{#var:e2}}{{#var:e1}}|1}}}}{{
 
#vardefine:emod|{{#if:{{#var:emw}}|1}}}}{{
 
#vardefine:emod|{{#if:{{#var:emw}}|1}}}}{{
 
#vardefine:ismod|{{#switch:{{NAMESPACE}}|Masterwork=1}}
 
#vardefine:ismod|{{#switch:{{NAMESPACE}}|Masterwork=1}}
 
}}{{version links
 
}}{{version links
|theme={{#switch:{{NAMESPACE}}|{{DF:Current}}=green|Template|Dwarf Fortress Wiki=blue|Masterwork=purple|#default=orange}}
+
|theme={{#switch:{{NAMESPACE}}|=green|Template|Dwarf Fortress Wiki=blue|Masterwork=purple|#default=orange}}
 
|r1={{#if:{{#var:evan}}|
 
|r1={{#if:{{#var:evan}}|
 +
[[{{#ifeq:{{#var:NSID}}|6|*}}{{ns-name|id=6}}:{{PAGENAME}}|v{{current/version}}]]
 
[[{{#ifeq:{{#var:NSID}}|5|*}}{{ns-name|id=5}}:{{PAGENAME}}|v{{current/version}}]]
 
[[{{#ifeq:{{#var:NSID}}|5|*}}{{ns-name|id=5}}:{{PAGENAME}}|v{{current/version}}]]
[[{{#ifeq:{{#var:NSID}}|4|*}}{{ns-name|id=4}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|4|0.34.11|0.34}}]]
+
{{#ifeq:{{NAMESPACE}}|||[[{{#ifeq:{{#var:NSID}}|4|*}}{{ns-name|id=4}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|4|0.34.11|0.34}}]]}}
[[{{#ifeq:{{#var:NSID}}|3|*}}{{ns-name|id=3}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|3|0.31.25|0.31}}]]
+
{{#ifeq:{{NAMESPACE}}|||[[{{#ifeq:{{#var:NSID}}|3|*}}{{ns-name|id=3}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|3|0.31.25|0.31}}]]}}
[[{{#ifeq:{{#var:NSID}}|2|*}}{{ns-name|id=2}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|2|0.28.181.40d|0.28}}]]
+
{{#ifeq:{{NAMESPACE}}|||[[{{#ifeq:{{#var:NSID}}|2|*}}{{ns-name|id=2}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|2|0.28.181.40d|0.28}}]]}}
[[{{#ifeq:{{#var:NSID}}|1|*}}{{ns-name|id=1}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|1|0.23.130.23a|0.23}}]]
+
{{#ifeq:{{NAMESPACE}}|||[[{{#ifeq:{{#var:NSID}}|1|*}}{{ns-name|id=1}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|1|0.23.130.23a|0.23}}]]}}
 
}}
 
}}
 
<!--|r2={{#if:{{#var:emod}}|
 
<!--|r2={{#if:{{#var:emod}}|

Revision as of 02:32, 20 December 2022

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