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.