Difference between revisions of "Template:Tutorial-wiki"

From The DarkMod Wiki
Jump to navigationJump to search
(fix sorting)
m (move from "All tutorials" to just "Tutorials")
Line 5: Line 5:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
[[Category:All Tutorials]] [[Category:Wiki|{{{sort|{{PAGENAME}}}}}]]
[[Category:Tutorials]] [[Category:Wiki|{{{sort|{{PAGENAME}}}}}]]
</includeonly>
</includeonly>

Revision as of 16:31, 7 October 2007


This template sorts the including article into the right 'wiki tutorial' and 'wiki' categories.

Usage

Include this template at the bottom of wiki-related tutorials like so:

{{tutorial-wiki}}

Parameters

The sort parameter for this template influences the place where the article will be sorted in the category:

Example Description
{{tutorial-wiki}} default sorting order based on article name
{{tutorial-wiki|sort=Doors}} an article named "Creating a Door" goes under "D" (specifically "Doors")