Template:ORP-bot

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(+contrasting examples)
m (Blanked the page)
 
Line 1: Line 1:
<noinclude>
 
<div style="width:100%;background:#F5FFFA; font-face:Verdana, Garamond,Times,Serif,Arial; font-size:10pt;">
 
 
;Purpose
 
:This template is used with {{Tl|ORP-top}} to set off official N3V Wiki reference pages from ''user maintained pages'' on the N3V TrainzOnline Wiki.
 
* This template closes a <nowiki><div style=" ..."></nowiki> HTML block initiated by {{Tl|ORP-top}}.
 
* It will also auto-categorize the page to the [[:category:Trainz reference pages]].
 
* It can be given the <code><nowiki>{{{1}}}</nowiki></code> default parameter to alter the sort order of the reference page as listed in that category.
 
'''Example:'''
 
#<code><nowiki>{{ORP-end|ABC}}</nowiki></code> will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.
 
category, just like {{tl|ORP-bot}}.
 
* Sorting Difference: <code><nowiki>{{ORP-bot|ABC}}</nowiki></code> will list the page under the A pages, before any page 'Aeroplane' but after 'Aardvark'.
 
'''Contrasting Examples:'''
 
# <nowiki> {{ORP-end}}</nowiki> on [[KIND Engine]] will alphabetize the article under ''''K'''', just as a normal <nowiki>[[category:Trainz reference pages]]</nowiki> would do.
 
# <nowiki> {{ORP-bot}}</nowiki> on [[KIND Engine]] ''will not categorize the page at all''.
 
# <nowiki> {{ORP-bot|Engine}}</nowiki> on [[KIND Engine]] will alphabetize the article under ''''E'''', if and only if cat=category-name is also defined. In the given example, Engine has no effect, so the same result as case 2.
 
#  <nowiki> {{ORP-bot|cat=category-name|Engine}}</nowiki> on [[KIND Engine]] will alphabetize the article under '''E''', just as a normal <nowiki>[[category:category-name|Engine]]</nowiki> call would do.
 
  
[[Category:Self-documenting templates|{{PAGENAME}}]]
 
[[Category:Trainz reference pages|*{{PAGENAME}}]]
 
[[Category:Auto-categorizing templates|{{PAGENAME}}]]</noinclude>
 
</div><includeonly>[[Category:Trainz reference pages|{{{1|{{PAGENAME}}}}}]]</includeonly>
 

Latest revision as of 18:02, 15 October 2017

Personal tools