Difference between revisions of "Template:Tutorial-textures"

From The DarkMod Wiki
Jump to navigationJump to search
(first test version)
(include help and add sort parameter)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
<!--
+
{{tutorial-template-help|name=textures}}
This article is a texture related tutorial.
 
-->
 
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
[[Category:All Tutorials]] [[Category:Textures]]
+
[[Category:All Tutorials]] [[Category:Textures|{{{sort|{{PAGENAME}}}}}]]
 
</includeonly>
 
</includeonly>

Revision as of 10:24, 7 October 2007

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

Usage

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

{{tutorial-textures}}

Parameters

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

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