Template:Index-page: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
first try |
add category parameter help |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{template-help|name=index-page|sort=Index page|where=top}} | {{template-help|name=index-page|sort=Index page|where=top}} | ||
The parameter '''category''' sets the name and link of the category that is linked inside the infobox. | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> |
Revision as of 16:50, 16 October 2007
This template sorts the including article into the right Index page category.
Usage
Include this template at the top of index-page-related articles like so:
{{index-page}}
Parameters
The sort parameter for this template influences the place where the article will be sorted in the category:
Example | Description |
---|---|
{{index-page}} | default sorting order based on article name |
{{index-page|sort=Doors}} | an article named "Creating a Door" goes under "D" (specifically "Doors") |
The parameter category sets the name and link of the category that is linked inside the infobox.