Template:Tutorial-template-help: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Tels (talk | contribs)
m add sorting for the tutorial template category
Tels (talk | contribs)
m fix sorting
Line 29: Line 29:


<includeonly>
<includeonly>
[[Category:Tutorial Templates|{{{name}}}]]
[[Category:Tutorial Templates|{{{sort}}}]]
</includeonly>
</includeonly>

Revision as of 11:13, 7 October 2007

This template sorts the including article into the right tutorial/foo categories.

Usage

Include this template at the bottom of foo-related articles like so:

{{tutorial-foo}}

Parameters

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

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