Template:Template category
From TrainzOnline
(Difference between revisions)
(genesis, subst {{Doc-page-head} to inspect why border is not manifesting.) |
(clean up unintended inclusion) |
||
(7 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="background:# | + | <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" > <!--Category:List of Template categories | ||
--> | --> | ||
− | This is a <b>Template category</b> listing utility macros which perform a specific task or tasks which tasks are generally needed to be performed on multiple pages.< | + | This is a <b>[[Help: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/> |
− | + | {{{text|}}} | |
+ | |||
</div> | </div> | ||
+ | [[category:{{{1|List of Template categories}}}|{{{sort|{{PAGENAME}}}}}]] | ||
+ | </includeonly><noinclude>{{Doc-page-head}}<br/><br/> | ||
+ | '''Usage: This template looks like:''' | ||
+ | <div style="background:#bbffbb; width=100%; padding:.5em; margin:0 15% 4px 15%; align:center; float:center; border: 3px groove" > <!-- | ||
+ | --> | ||
+ | This is a <b>[[Help: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/> | ||
+ | |||
+ | <hr/> | ||
+ | This template automatically categorizes a page to the TrainzOnline administrative list category <code><nowiki>[[:category:{{{1|List of Template categories}}}]]</nowiki></code>. | ||
+ | </div> | ||
+ | |||
+ | [[Category:List of Template categories|*{{PAGENAME}}]] | ||
+ | [[Category:self-documenting templates|{{PAGENAME}}]] | ||
+ | [[category:TrainzOnline administration templates|{{PAGENAME}}]] | ||
+ | ;usage | ||
+ | # 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. | ||
+ | # 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>text=''something''</code> can be asserted to display an explanatory message about the page contents. | ||
+ | </div> | ||
+ | </noinclude> |
Latest revision as of 17:25, 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}}}
{{{text}}}
This template automatically categorizes a page to the TrainzOnline administrative list category [[:category:{{{1|List of Template categories}}}]]
.
- usage
- 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.
- If and when given the auto/numeric parameter {{{1}}} the value is a different category from the default.
- the Named parameter
sort=something
can be asserted to change the alphanumeric sorting of template category pages. - the Named parameter
text=something
can be asserted to display an explanatory message about the page contents.