Template:TOL-top
From TrainzOnline
(Difference between revisions)
(misc fixups, ready for trials) |
(rewrite w/common heading {{TOL-beg}}) |
||
Line 1: | Line 1: | ||
− | + | {{TOL-beg}} | |
− | + | <includeonly>{{{1|x}}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <includeonly>{{{1|}}} | + | |
{{{inhibit|{{TOCright}}}}}<!-- best we can do until parserfunctions are turned on replace with: | {{{inhibit|{{TOCright}}}}}<!-- best we can do until parserfunctions are turned on replace with: | ||
{{#ifeq:{{{inhibit|}}}|yes| |{{TOCright}}}}}}} | {{#ifeq:{{{inhibit|}}}|yes| |{{TOCright}}}}}}} | ||
Line 37: | Line 16: | ||
# It's complimentary templates {{tl|TOL-bot}}, {{tl|TOL-end}} should be used to close the HTML format block and thus cause the page to form properly. These have different auto-categorization features. | # It's complimentary templates {{tl|TOL-bot}}, {{tl|TOL-end}} should be used to close the HTML format block and thus cause the page to form properly. These have different auto-categorization features. | ||
− | ## {{Tl|TOL-bot}} — auto-categorizes a page to [[:Category:TrainzOnline usage pages]], the parent category of [[:category:TrainzOnline Wiki's reference pages]] and [[:category:TrainzOnline Wiki's projects pages]] | + | ## {{Tl|TOL-bot}} — auto-categorizes a page to [[:Category:TrainzOnline usage pages]], the parent category of [[:category:TrainzOnline Wiki's reference pages]] |
+ | ## and of [[:category:TrainzOnline Wiki's projects pages]] | ||
## {{Tl|TOL-end}} — asserts no auto-category, but will take the <code><nowiki>'|cat=</nowiki>''Category-declaration''</code> in the short form lacking the brackets and 'category:' namespace prefix. (i.e. give just pass it a category name, and it will handle {{h|pipetrick}}ing and link formation) | ## {{Tl|TOL-end}} — asserts no auto-category, but will take the <code><nowiki>'|cat=</nowiki>''Category-declaration''</code> in the short form lacking the brackets and 'category:' namespace prefix. (i.e. give just pass it a category name, and it will handle {{h|pipetrick}}ing and link formation) | ||
# {{tl|TOL-refpg-end}} will ''also auto-categorize the page'' to the [[:category:TrainzOnline Wiki's reference pages]]... which makes it inappropriate in category pages... hence 'beg-end' on article pages, and 'top-bot' on categories is per design and intent. | # {{tl|TOL-refpg-end}} will ''also auto-categorize the page'' to the [[:category:TrainzOnline Wiki's reference pages]]... which makes it inappropriate in category pages... hence 'beg-end' on article pages, and 'top-bot' on categories is per design and intent. |
Revision as of 21:13, 11 July 2013
- Appearance
- This template presents the banner message shown above, and inserts {{TOCright}} before any text on the page unless the parameter
|inhibit=yes
is passed as shown. - It is written to take a navigation template as {{{1}}} , but that will likely require further work.
- Purpose
- This template is used to set off N3V TrainzOnline Wiki admin, help, essay, and project pages —all user maintained pages on the N3V TrainzOnline Wiki from Official reference pages and tutorials. The TrainzOnline namespace does also hold wiki management and wiki-how-to pages as well.
- Template action
- It does the above by initiating a <div style=" ..."> HTML block.
- Alternative's Usage notes
- It's complimentary templates {{TOL-bot}}, {{TOL-end}} should be used to close the HTML format block and thus cause the page to form properly. These have different auto-categorization features.
- {{TOL-bot}} — auto-categorizes a page to Category:TrainzOnline usage pages, the parent category of category:TrainzOnline Wiki's reference pages
- and of category:TrainzOnline Wiki's projects pages
- {{TOL-end}} — asserts no auto-category, but will take the
'|cat=Category-declaration
in the short form lacking the brackets and 'category:' namespace prefix. (i.e. give just pass it a category name, and it will handle pipetricking and link formation)
- {{TOL-refpg-end}} will also auto-categorize the page to the category:TrainzOnline Wiki's reference pages... which makes it inappropriate in category pages... hence 'beg-end' on article pages, and 'top-bot' on categories is per design and intent.