Template:Tutorial-scripting: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Tels (talk | contribs)
typo *sigh*
Tels (talk | contribs)
m make uppercase
Line 3: Line 3:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
[[Category:All Tutorials]] [[Category:Editing]] [[Category:Scripting|{{{sort|{{PAGENAME}}}}}]] [[Category:Scripting tutorials|{{{sort|{{PAGENAME}}}}}]]
[[Category:All Tutorials]] [[Category:Editing]] [[Category:Scripting|{{{sort|{{PAGENAME}}}}}]] [[Category:Scripting Tutorials|{{{sort|{{PAGENAME}}}}}]]
</includeonly>
</includeonly>

Revision as of 14:30, 7 October 2007

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

Usage

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

{{tutorial-scripting}}

Parameters

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

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