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:Category"
Jump to navigation
Jump to search
m (testing syntax) |
(final version, everything seems to work correctly now) |
||
Line 1: | Line 1: | ||
− | <noinclude>This is a | + | <noinclude>This is a template to reformat [[Special:Categories|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.<br> |
− | '''Usage:'''<pre><nowiki>{{Category|Category Name}}</nowiki></pre> | + | '''Usage:'''<pre><nowiki>{{Category|Category Name|Sort}}</nowiki></pre> |
[[Category:Version templates|Category]] | [[Category:Version templates|Category]] | ||
Line 8: | Line 8: | ||
<!-- | <!-- | ||
[[Category:{{NAMESPACE}}:{{{1}}}|{{#if:{{{2}}}|{{{2}}}|{{PAGENAME}}}}]] | [[Category:{{NAMESPACE}}:{{{1}}}|{{#if:{{{2}}}|{{{2}}}|{{PAGENAME}}}}]] | ||
− | + | [[Category:{{NAMESPACE}}:{{{1}}}|{{PAGENAME}}]] | |
[[Category:{{NAMESPACE}}:{{{1}}}|{{{2|{{PAGENAME}}}}}]] | [[Category:{{NAMESPACE}}:{{{1}}}|{{{2|{{PAGENAME}}}}}]] | ||
/--> | /--> | ||
Line 14: | Line 14: | ||
<includeonly> | <includeonly> | ||
[[Category:{{NAMESPACE}}:{{{1}}}|{{{2|{{PAGENAME}}}}}]] | [[Category:{{NAMESPACE}}:{{{1}}}|{{{2|{{PAGENAME}}}}}]] | ||
− | |||
</includeonly> | </includeonly> |
Revision as of 23:01, 13 April 2010
This is a 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}}