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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(+cat)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{cv|{{{1}}}|{{{2}}}}}[[Category:{{{1}}}|{{{2}}}]][[Category:{{{2}}}|*{{{2}}}]]{{#if:{{{3|}}}|[[Category:{{{1}}}:{{{3}}}|*{{{3}}}]]}}</includeonly><noinclude>
+
<includeonly>[[Category:{{#rsplit:{{PAGENAME}}|:|0}}:{{{3|{{{1}}}}}}|{{#rsplit:{{PAGENAME}}|:|1}}]]</includeonly><noinclude>
Usage: <nowiki>{{vercat|Version|CategoryName}}</nowiki> or <nowiki>{{vercat|Version|CategoryName|Parent}}</nowiki>
+
Usage: <nowiki>{{vercat|Version|CategoryName|Parent}}</nowiki>
*Categorizes the page within Category:[Version] and Category:[CategoryName]
+
*Categorizes the page within Category:[Version]:[Parent] with proper sorting
*If "parent" is specified, also categorizes the page within Category:[Version]:[Parent]
 
  
[[Category:Templates]]
+
[[Category:Templates]][[Category:Version templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:32, 20 December 2022

Usage: {{vercat|Version|CategoryName|Parent}}

  • Categorizes the page within Category:[Version]:[Parent] with proper sorting