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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(update for v50)
(use same message for main namespace categories now)
 
Line 16: Line 16:
 
[[{{#ifeq:{{#var:cv-ns}}|23a|*}}:Category:23a:{{#var:cv-cn}}|v{{#ifeq:{{#var:cv-ns}}|23a|0.23.130.23a|0.23}}]]
 
[[{{#ifeq:{{#var:cv-ns}}|23a|*}}:Category:23a:{{#var:cv-cn}}|v{{#ifeq:{{#var:cv-ns}}|23a|0.23.130.23a|0.23}}]]
 
|bottom={{version links/link|:Category:{{#var:cv-cn}}|Parent}}
 
|bottom={{version links/link|:Category:{{#var:cv-cn}}|Parent}}
|center={{#switch:{{lc:{{#var:cv-ns}}}}|#default=This category contains pages about an '''older version''' of DF.|parent=This is a parent category.|template=This category is in the template namespace.|{{lc:{{df:current}}}}=This category contains pages about the current version of DF.}}
+
|center={{#switch:{{lc:{{#var:cv-ns}}}}|#default=This category contains pages about an '''older version''' of DF.|parent|{{lc:{{df:current}}}}=This category contains pages about the current version of DF.<br>This is a parent category.|template=This category is in the template namespace.}}
 
}}{{#ifeq:{{#var:cv-ns}}|parent||[[Category:{{#var:cv-ns}}|{{#var:cv-cn}}]]}}[[Category:{{#var:cv-cn}}|*{{version order|{{#var:cv-ns}}}}]]|<!-- errors -->
 
}}{{#ifeq:{{#var:cv-ns}}|parent||[[Category:{{#var:cv-ns}}|{{#var:cv-cn}}]]}}[[Category:{{#var:cv-cn}}|*{{version order|{{#var:cv-ns}}}}]]|<!-- errors -->
 
<span class="error">This page is not in the Category namespace!</span>}}
 
<span class="error">This page is not in the Category namespace!</span>}}

Latest revision as of 17:11, 13 July 2023

Shortcut:
template:cv