Template:Template category

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(evolve)
(+cat, fixup nesting)
Line 1: Line 1:
<includeonly>
+
<includeonly>[[category:{{{1|List of template categories}}}|{{{sort|{{PAGENAME}}}}}]]
 
<div style="background:#bbffbb; width=100%; padding:.5em; margin:0 15% 4px 15%; align:center; float:center; border: 3px groove" > <!--
 
<div style="background:#bbffbb; width=100%; padding:.5em; margin:0 15% 4px 15%; align:center; float:center; border: 3px groove" > <!--
 
-->
 
-->
Line 10: Line 10:
 
</includeonly><noinclude>{{Doc-page-head}}<br/><br/>
 
</includeonly><noinclude>{{Doc-page-head}}<br/><br/>
 
'''Usage: This template looks like:'''
 
'''Usage: This template looks like:'''
</noinclude><div style="background:#bbffbb; width=100%; padding:.5em; margin:0 15% 4px 15%; align:center; float:center; border: 3px groove" > <!--
+
<div style="background:#bbffbb; width=100%; padding:.5em; margin:0 15% 4px 15%; align:center; float:center; border: 3px groove" > <!--
 
-->
 
-->
This is a <b>[[:category:Templates|Template category]]</b> listing utility macros which perform a specific task or tasks which tasks are generally needed to be performed on multiple pages.<br><br>
+
This is a <b>[[:category:Templates|Template category]]</b> listing utility macros which perform a specific task or tasks which tasks are generally needed to be performed on multiple pages.<hr/><br/>{{{text}}}<br/>
This template automatically categorizes a page to the TrainzOnline administrative list category [[:category:List of Template categories]].
+
 
 +
<hr/>
 +
This template automatically categorizes a page to the TrainzOnline administrative list category <code><nowiki>[[:category:{{{1|List of Template categories}}}]]</nowiki></code>.
 
</div>
 
</div>
{{{text|}}}
+
 
<hr/>
+
[[category:List of template categories|*{{PAGENAME}}]]
[[category:{{{1|List of template categories}}}|{{{sort|{{PAGENAME}}}}}]]
+
<noinclude>
+
 
[[Category:self-documenting templates|{{PAGENAME}}]]
 
[[Category:self-documenting templates|{{PAGENAME}}]]
 
[[category:TrainzOnline administration templates|{{PAGENAME}}]]
 
[[category:TrainzOnline administration templates|{{PAGENAME}}]]

Revision as of 16:54, 3 July 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.

{{{text}}}

This template automatically categorizes a page to the TrainzOnline administrative list category [[:category:{{{1|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