Template:TOL-beg
From TrainzOnline
(Difference between revisions)
(Split since no parserfunctions yet) |
(rev text, fix cat) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <div id="TOL-WikiiHowTopage-header" style="width:100%; <!-- |
− | + | ||
--- | --- | ||
− | --> | + | -->background:#B0E0E6 <!-- also websafe: #eaFFe5;<!-- #F0FFFF, the main page color...<!-- was #eaFFe5 which was okay |
− | <table id="TrainzOnline-Project-page-banners" style="width: | + | --->; font-face:Roman,Verdana, Garamond,Serif,Times,Arial; font-size:10pt;"><div> |
+ | <!-- | ||
+ | --- | ||
+ | --><center> | ||
+ | <table id="TrainzOnline-Project-page-banners" style="width:80%; border:2px solid navy; align:center; background:#FFFFF0<!--#F0FFFF--->; text-align:center; padding:2px; margin:0; font-face: Roman,Verdana,Arial,Times; font-size:14pt; color:Navy;"> | ||
<!-- | <!-- | ||
--- | --- | ||
--> | --> | ||
<tr> | <tr> | ||
− | <td style="align:center; margin-right:5px; | + | <td style="align:center; margin-right:5px; vertical-align:center; width:10%;">[[image:wikilogo.png|left|86px|alt=]]</td><!-- |
--- | --- | ||
− | --><td width="80%"><font size="+ | + | --><td width="80%"><font size="+2" {{{OPT|}}}>{{{1|'''TrainzOnline How-to'''}}}</font></td><!-- |
--- | --- | ||
--> | --> | ||
− | <td style="align:center; margin-left:5px; | + | <td style="align:center; margin-left:5px; vertical-align:center; width:10%;"><!-- |
--- | --- | ||
-->[[File:TRAINZ Original^ footer Logo w-reflections (src=Auran!com~trainz~faq!php^FaqID=258 and 'footer Logo').jpg|left|alt=]]</td><!-- | -->[[File:TRAINZ Original^ footer Logo w-reflections (src=Auran!com~trainz~faq!php^FaqID=258 and 'footer Logo').jpg|left|alt=]]</td><!-- | ||
--- | --- | ||
--></tr> | --></tr> | ||
− | </table>< | + | </table></center> |
+ | </div><!-- need a div around table to start the base page formatting w/o whitespace behind it... | ||
--- | --- | ||
− | --><includeonly>{{{ | + | --xxx><includeonly>{{{2|}}}<!-- |
{{{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}}}}}}} | ||
− | ---> | + | ---xxx> |
− | </includeonly><noinclude> | + | </includeonly>xxx--><noinclude><!---YYY {{doc-page-head}} YYY---> |
;Appearance | ;Appearance | ||
− | :This template presents the banner message shown above, and inserts {{Tl|TOCright}} before any text on the page | + | :This template presents the banner message shown above UNLESS passed the default <code><nowiki>{{{1}}}</nowiki></code>, and no longer inserts {{Tl|TOCright}} before any text on the page, which is the difference between this and {{tl|TOL-top}} and {{tl|TOL-gen-top}}, both of which includes this template as a sub-template for consistent styling in the TrainzOnline {{H|Namespace}}.<br/> |
:It is written to take a navigation template as <nowiki> {{{1}}} </nowiki>, but that will likely require further work. | :It is written to take a navigation template as <nowiki> {{{1}}} </nowiki>, but that will likely require further work. | ||
;Purpose | ;Purpose | ||
Line 35: | Line 39: | ||
;Alternative's Usage notes | ;Alternative's Usage notes | ||
− | # It's | + | # It's complementary 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]] | + | ## {{Tl|TOL-bot}} — auto-categorizes a page to [[:Category:TrainzOnline usage pages]], the parent category of [[:category:TrainzOnline Wiki's reference pages]] |
+ | ## For Projects pages use instead {{tl|PROJend}} for auto-[[: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. | ||
[[Category:Self-documenting templates|{{PAGENAME}}]] | [[Category:Self-documenting templates|{{PAGENAME}}]] | ||
− | [[Category: | + | </div> |
− | {{TOL-bot|*{{PAGENAME}}}} | + | [[Category:Mbox templates|TOL-beg]] |
− | {{SubTemp}}</noinclude> | + | {{TOL-bot|2=*{{PAGENAME}} }} |
+ | {{SubTemp}}<!-- | ||
+ | ---> | ||
+ | </noinclude> |
Latest revision as of 06:44, 18 August 2013
- Appearance
- This template presents the banner message shown above UNLESS passed the default
{{{1}}}
, and no longer inserts {{TOCright}} before any text on the page, which is the difference between this and {{TOL-top}} and {{TOL-gen-top}}, both of which includes this template as a sub-template for consistent styling in the TrainzOnline Namespace.
- 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 complementary 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
- For Projects pages use instead {{PROJend}} for auto-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.