Template:TL/doc

{{#ifeq:{{BASEPAGENAME}}|TGR {{TRS-hdrbox|no=no|alttitle1=Trainz Linking Template|nothread=1 }} {{TRS-hdrbox|no=no|alttitle1=Trainz Linking Template|nothread=1 }} }}
 * Pupose:This is the main Named Division linking template for the Trainz Wikibook Trainz division 'binder'.
 * pr=TRC, TC
 * n=TOS, N3V
 * h={{lc|Trainz typing-aid templates}}} | rh=trainz templates
 * 1={{{1|groups}}}
 * pr=TGR (groups)
 * n=TOS, N3V
 * h={{lc|Trainz typing-aid templates}}} | rh=trainz templates
 * 1=

Usage

 * Note this \doc sub-page is included by more than one trainz link templates, as representative of the family of similar templates using the same syntax to link different groups of pages.

Template TL code: The above code for TL forms a link to a subpage of Trainz, with or without pipetricking, and with ability to link to a section title. This template forms an internal link to the Trainz wikibook with parameter, and incorporates an option to access a section title on a page given the optional 3rd default parameter:   as well allowing for as an optional pretty-link re-title parameter   formatted link calls ... all forming the link and all links in the wikimarkup as:
 * General usage
 * Users unfamiliar with wiki-markup parameter parsing, just focus on or '|2=text' overriding the presented text of the link,
 * and / or '|3=sub-sub-linktext/' giving a prefix to a sub-sub-page, so  ,
 * if and when given, MUST HAVE a trailing '/' to form a proper link.

 Example-1, expanded paste down :
 * This is because all template default parameters, formally 'numbered parameters' can also be specified like this:

Tips And Tricks which wiki-markup language is processed exactly the same as Tips. When using a template such as this which forms a link, it is best to NOT use spaces between the pipe characters "|" as done for clarity above.
 * caution

 In-line Examples :
 * Tips And Tricks links as:
 * and the other formulation:
 * both would.
 * But... is much easier to edit around on a page when trying to get the best prose presentation.


 * Similarly:
 * links as if the constructs:
 * and
 * which is perhaps part of the phrase you want.


 * Sub-subpage links will mainly be needed in the forthcoming Errorfixing series of tutorials and the Programmed Instruction (Trainz A-Z) linked progressive tutorials off their own sub-TOC base page.
 * Planned use of Sub-sub-pages... Better than splitting the book down the multiple tracks... we're going to make a lot of new pages in the PI tutorials! Whether for beginners or intermediate Trainzers, they'll all end in content creation and other advanced topics like TransDEM map generation anyway.