Jump to content

Template:HT

From Wikibooks, open books for an open world
The HT (for HowTo-linking)  template forms an external link to an N3V Wiki HELP namespace page given only the page title. 
  • It add NS and HowTo parameters to link to Help namespace like:

http://online.ts2009.com/mediaWiki/index.php/Help:Surveyor_Tools  

internal coding
<span class="plainlinks">[http://online.ts2009.com/mediaWiki/index.php/HowTo/{{{1|{{{URL|{{{url|}}}}}}}}} {{{p|{{{2|{{#replace:|{{{1|{{{URL|{{{url|}}}}}}}}}|_| }}}}}}}}]</span>

A close read of the shows the linking string given as {{{1}}} or URL= or url= is the subpage address after the TrainzWiki Help TOC-page listing N3V help articles.

  • Like most every Trainz template it may be given the pretty-text parameter '|p= some string which forms a priority output, otherwise, the template is designed to replace underscores in a url with spaces and display the page title, just as if it were a local page link on any Wikimedia based Wiki project.
  • It is also designed for placeholder parameter {{{2}}} to support the more convenient pipe-separated call normally seen in wikimarkup language:
{{HT|some_underscored_url_pagename |Some pretty name'}}'''

For this template, since the subpage names AND the Trainz Wiki divisions are named for topic clarity, the shorter form using the page name is likely to be what is desired:

{{HT|some_underscored_url_pagename}}