Difference between revisions of "Template:Category"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m
Line 7: Line 7:
  
 
<includeonly>
 
<includeonly>
[[Category:{{NAMESPACE}}:{{{1}}}|{{#ifeq:{{{2}}}||{{PAGENAME}}|{{{2}}}}}]]
+
[[Category:{{NAMESPACE}}:{{{1}}}|{{#ifeq:{{{2}}}|""|{{PAGENAME}}|{{{2}}}}}]]
 
</includeonly>
 
</includeonly>

Revision as of 21:05, 8 April 2010

This is a test template to reformat Category tags so that they properly segment existing categories into version specific areas using the page's namespace, and to properly organize them alphabetically by page name unless specified differently by the editor.

Usage:

{{Category|Category Name|Sort String}}