Template:Template category

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m (Oops! did it again!)
(insert text option)
Line 6: Line 6:
 
This template automatically categorizes a page to the TrainzOnline administrative list category [[:category:List of Template categories]].
 
This template automatically categorizes a page to the TrainzOnline administrative list category [[:category:List of Template categories]].
 
</div>
 
</div>
 +
{{{text|}}}
 
<hr/>
 
<hr/>
 
[[category:{{{1|List of template categories}}}|{{{sort|{{PAGENAME}}}}}]]
 
[[category:{{{1|List of template categories}}}|{{{sort|{{PAGENAME}}}}}]]
Line 15: Line 16:
 
# If and when given the auto/numeric parameter <nowiki>{{{1}}}</nowiki> the value is a different category from the default.
 
# If and when given the auto/numeric parameter <nowiki>{{{1}}}</nowiki> the value is a different category from the default.
 
# the Named parameter <code>sort=''something''</code> can be asserted to change the alphanumeric sorting of template category pages.
 
# the Named parameter <code>sort=''something''</code> can be asserted to change the alphanumeric sorting of template category pages.
 
+
# the Named parameter <code>text=''something''</code> can be asserted to display an explanatory message about the page contents.
 
</div>
 
</div>
 
</noinclude>
 
</noinclude>

Revision as of 20:28, 17 June 2013



Usage: This template looks like:

This is a Template category listing utility macros which perform a specific task or tasks which tasks are generally needed to be performed on multiple pages.

This template automatically categorizes a page to the TrainzOnline administrative list category category:List of Template categories.


usage
  1. The template should be placed on top of a page below any explanatory text, when put on an category page asserts the default auto-category as shown above within, and puts the template on the page as shown.
  2. If and when given the auto/numeric parameter {{{1}}} the value is a different category from the default.
  3. the Named parameter sort=something can be asserted to change the alphanumeric sorting of template category pages.
  4. the Named parameter text=something can be asserted to display an explanatory message about the page contents.
Personal tools