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
(fix v0.34 color)
m (fix content)
Line 14: Line 14:
 
[[{{#ifeq:{{#var:cv-ns}}|23a|*}}:Category:23a:{{#var:cv-cn}}|v0.23.130.23a]]
 
[[{{#ifeq:{{#var:cv-ns}}|23a|*}}:Category:23a:{{#var:cv-cn}}|v0.23.130.23a]]
 
|bottom={{version links/link|Template:cv|More Info}}
 
|bottom={{version links/link|Template:cv|More Info}}
|center={{#switch:{{#var:cv-ns}}|#default=This category is about an '''older version''' of DF.|Template=This category is in the template namespace.|{{df:current}}=This category is about the current version of DF.}}
+
|center={{#switch:{{lc:{{#var:cv-ns}}}}|#default=This category is about an '''older version''' of DF.|template=This category is in the template namespace.|{{lc:{{df:current}}}}=This category is about the current version of DF.}}
 
}}|<!-- errors -->
 
}}|<!-- errors -->
 
<span class="error">Invalid category name! Name should be in format <tt>Category:''Namespace'':''Category Name''</tt>.</span>}}|
 
<span class="error">Invalid category name! Name should be in format <tt>Category:''Namespace'':''Category Name''</tt>.</span>}}|

Revision as of 03:00, 4 July 2014

Shortcut:
template:cv


Documentation

A variation of {{ArticleVersion}} (or {{av}}) for category pages.