Template:TOL-top

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(genesis)
 
(misc fixups, ready for trials)
Line 1: Line 1:
<div style="width:100%;background:#F5FFFA; font-face:Times,Roman,Verdana, Garamond,Serif,Arial; font-size:12pt;">
+
<div style="width:100%;background:#F0FFFF<!--#eaFFe5
<table id="TrainzOnline-Project-page-banners" style="width:100%; border:2px solid navy; align:center; background:#eedddd; text-align:center; padding:4px; margin:0; font-face: Garamond,Serif,Arial,Times,Roman,Verdana; font-size:14pt;">
+
-->; font-face:Serif,Times,Roman,Verdana, Garamond,Arial; font-size:12pt;"><!--
 +
---
 +
-->
 +
<table id="TrainzOnline-Project-page-banners" style="width:100%; border:2px solid navy; align:center; background:#eeffdd; text-align:center; padding:2px; margin:0; font-face: Garamond,Serif,Roman,Verdana,Arial,Times; font-size:14pt;">
 +
<!--
 +
---
 +
-->
 
<tr>
 
<tr>
<td style="align:center; margin-right:5px; valign:center;width:10%;">[[image:wikilogo.png|left|60x60px|alt=]]</td><td width="80%"><font-size="+2">'''N3V TrainzOnline''' project and wiki-how-to pages</font></td>
+
<td style="align:center; margin-right:5px; valign:center;width:10%;">[[image:wikilogo.png|left|86px|alt=]]</td><!--
<td style="align:center; margin-left:5px; valign:center;width:10%;">[[image:wikilogo.png|left|60x60px|alt=]]</td></tr>
+
---
</table><br/>
+
--><td width="80%"><font size="+3">'''N3V TrainzOnline projects''' and TrainzOnline Wiki-how-to pages</font></td><!--
 +
---
 +
-->
 +
<td style="align:center; margin-left:5px; valign: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><!--
 +
---
 +
--></tr>
 +
</table><br/><!--
 +
---
 +
-->
 
<includeonly>{{{1|}}}
 
<includeonly>{{{1|}}}
{{TOCright}}
+
{{{inhibit|{{TOCright}}}}}<!-- best we can do until parserfunctions are turned on replace with:
 +
{{#ifeq:{{{inhibit|}}}|yes|&nbsp;|{{TOCright}}}}}}}
 +
--->
 
</includeonly><noinclude>
 
</includeonly><noinclude>
;Appearance{{FAB-todo|Needs rewritten as a table and given a bit larger image}}
+
;Appearance
:This template presents the message shown above, and inserts {{Tl|TOCright}} before any text on the page.
+
:This template presents the banner message shown above, and inserts {{Tl|TOCright}} before any text on the page unless the parameter <code>|inhibit=yes</code> is passed as shown.
 
: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

Revision as of 20:10, 9 July 2013

N3V TrainzOnline projects and TrainzOnline Wiki-how-to pages

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
  1. 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.
    1. {{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
    2. {{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)
  2. {{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.
Personal tools