Template:Tutorial-template-help: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
m (fix help text to mention tutorials)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
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 articles like so:
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 25: Line 27:


|}
|}
<includeonly>
[[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")