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
(shorten older version numbers in different namespaces)
(fix ns-name)
Line 18: 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:{{#var:NSID}}|5|*}}{{ns-name|5}}:{{PAGENAME}}|v{{current/version}}]]
+
[[{{#ifeq:{{#var:NSID}}|5|*}}{{ns-name|id=5}}:{{PAGENAME}}|v{{current/version}}]]
[[{{#ifeq:{{#var:NSID}}|4|*}}{{ns-name|4}}:{{PAGENAME}}|v0.34.11]]
+
[[{{#ifeq:{{#var:NSID}}|4|*}}{{ns-name|id=4}}:{{PAGENAME}}|v0.34.11]]
[[{{#ifeq:{{#var:NSID}}|3|*}}{{ns-name|3}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|3|0.31.25|0.31}}]]
+
[[{{#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|2}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|2|0.28.181.40d|0.28}}]]
+
[[{{#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|1}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|1|0.23.130.23a|0.23}}]]
+
[[{{#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 04:08, 28 November 2015

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