Template:Tutorial-template-help: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
sort all templates that use this help into the right category |
m fix help text to mention tutorials |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This template sorts the including article into the right tutorial | This template sorts the including article into the right ''''{{{name|foo}}} tutorial'''' and ''''{{{name|foo}}}'''' categories. | ||
=== Usage === | === Usage === | ||
Include this template at the bottom of {{{name|foo}}}-related | Include this template at the bottom of {{{name|foo}}}-related '''tutorials''' like so: | ||
<nowiki>{{tutorial-</nowiki>{{{name|foo}}}<nowiki>}}</nowiki> | <nowiki>{{tutorial-</nowiki>{{{name|foo}}}<nowiki>}}</nowiki> | ||
Line 28: | Line 28: | ||
|} | |} | ||
<includeonly> | |||
[[Category:Tutorial Templates]] | [[Category:Tutorial Templates|{{{sort}}}]] | ||
</includeonly> |
Latest revision as of 14:13, 7 October 2007
This template sorts the including article into the right 'foo tutorial' and 'foo' categories.
Usage
Include this template at the bottom of foo-related tutorials 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") |