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 (Changed protection level for "Template:ArticleVersion": high profile template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(85 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<table style="margin: 0 20%; background: {{#ifeq:{{NAMESPACE}}||#CCF|#F80}}; border: 1px solid #CCC; text-align:center; border-left: 10px solid #888; width:60%">
+
<noinclude>
<tr><td style="padding: 0.3em 0.3em; width: 100%;"><div style="float:left; width: 30px">[[Image:DF Dwarf.png|25px]]</div>{{#switch:{{NAMESPACE}}|
+
<!-- DO NOT edit this template unless you know very well what you are doing. This template is extremely easy to break. -->
23a=|
+
{{shortcut|template:av}}
40d=Legacy information is contained in this article. Do not add information about new game versions here.[[category:Obsolete|{{PAGENAME}}]]|
+
</noinclude>{{
#default=The information in this article is current. Do not add unverified information to this page. [[category:Current|{{PAGENAME}}]]}}
+
#vardefine:PAGE|{{{1|{{PAGENAME}}}}}}}{{
<br /><center><font style="font-size:80%">Other Versions of this Article:</font> <font style="font-size:90%">
+
#vardefine:NSID|{{ns-rel-id|{{NAMESPACE}}}}}}{{
{{#ifeq:{{NAMESPACE}}|||{{#ifexist:{{PAGENAME}}|[[DF2010:{{PAGENAME}}|DF 2010]]{{dot}}|<font style="font-size:75%">(DF 2010)</font>{{dot}}}}}} {{#ifeq:{{NAMESPACE}}|40d||{{#ifexist:40d:{{PAGENAME}}|[[40d:{{PAGENAME}}|v0.28.181.40d]]{{dot}}|<font style="font-size:75%">(v0.28.181.40d)</font>{{dot}}}}}} {{#ifeq:{{NAMESPACE}}|23a||{{#ifexist:23a:{{PAGENAME}}|[[23a:{{PAGENAME}}|v0.23.130.23a]]|<font style="font-size:75%">(v0.23.130.23a)</font>}}}}</font></center>
+
#vardefine:e6|{{#ifexist:Main:{{#var:PAGE}}|1}}}}{{
</td></tr></table><noinclude>
+
#vardefine:e5|{{#ifexist:DF2014:{{#var:PAGE}}|1}}}}{{
[[category:Templates]]
+
#vardefine:e4|{{#ifexist:v0.34:{{#var:PAGE}}|1}}}}{{
 +
#vardefine:e3|{{#ifexist:v0.31:{{#var:PAGE}}|1}}}}{{
 +
#vardefine:e2|{{#ifexist:40d:{{#var:PAGE}}|1}}}}{{
 +
#vardefine:e1|{{#ifexist:23a:{{#var:PAGE}}|1}}}}{{
 +
#vardefine:ecur|{{#var:e6}}}}{{
 +
#vardefine:emw|{{#ifexist:Masterwork:{{#var:PAGE}}|1}}}}{{
 +
#vardefine:evan|{{#if:{{#var:e6}}{{#var:e5}}{{#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}}|=green|Template|Dwarf Fortress Wiki=blue|Masterwork=purple|#default=orange}}
 +
|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{{#switch:{{#var:NSID}}|6|5=0.47.05|0.47}}]]
 +
{{#ifeq:{{NAMESPACE}}|||[[{{#ifeq:{{#var:NSID}}|4|*}}{{ns-name|id=4}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|4|0.34.11|0.34}}]]}}
 +
{{#ifeq:{{NAMESPACE}}|||[[{{#ifeq:{{#var:NSID}}|3|*}}{{ns-name|id=3}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|3|0.31.25|0.31}}]]}}
 +
{{#ifeq:{{NAMESPACE}}|||[[{{#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}}|1|*}}{{ns-name|id=1}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|1|0.23.130.23a|0.23}}]]}}
 +
}}
 +
<!--|r2={{#if:{{#var:emod}}|
 +
{{#if:{{#var:ismod}}||Mods:&nbsp;}}
 +
[[{{#ifeq:{{NAMESPACE}}|Masterwork|*}}Masterwork:{{PAGENAME}}|Masterwork]]
 +
}}-->
 +
|bottom={{version links/link|DF:V|More Info}}{{dot}} {{version links/link|T:av|V}}
 +
|center={{#switch:{{NAMESPACE}}|#default=This article is about an '''older version''' of DF.[[category:Obsolete|{{PAGENAME}}]]{{#if:{{#var:ecur}}||[[category:Missing current version|{{PAGENAME}}]]}}|Template=This article is in the template namespace.|Dwarf Fortress Wiki=This article is in the DF wiki namespace.|=This article is about the current version of DF.<br>Note that some content may still need to be updated.[[category:Current|{{PAGENAME}}]]|Masterwork=This article is about a '''[[Main:mod|mod]]'''.}}
 +
}}{{#ifeq:{{lc:{{NAMESPACE}}}}|masterwork|{{mwv}}}}<noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 23:12, 28 November 2023

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