Template:N3V/doc
This is a documentation subpage for Template:N3V It may contain usage information, categories and other content that is not part of the original template page. |
This page is part of Wikibooks Trainz Wikibook Administration. • It lists a template which may be useful editing Trainz. Trainz specific (special purpose) templates will be found in or under Category:Trainz Templates, which also lists/links to this Help page. |
- Purpose and usage
- This template forms correct internet addressing for a plain jane page title by providing the appropriate front part and title of the URL, allowing in-line linking to the External TrainzOnline 'TrainzWiki'.
- This processing keeps editing simpler by link construction hyperlinking a Wikibook word or phrase to the TrainzOnline wiki (operated by N3V Games Pty., Ltd) covering the technical topic.
- The target page title must be properly specified, substituting underscores for spaces and %22 Unicode for double-quotes, when either spaces or double-quotes is part of the namespace title on the TrainzOnline Wiki.
- The template is a single target site version of the meta-template {{plain links}}.
- Key Coding
<includeonly><span class="plainlinks">[http://online.ts2009.com/mediaWiki/index.php/ {{{NS|{{#if:{{{H|}}}|Help:}}}}}{{{1|{{{URL|{{{url|}}}}}}}}} {{{p|{{{2|{{{1|}}}}}}}}}]</span></includeonly>
- usage
This template forms a link between the Trainz Wikibook and a 'TrainzOnline' reference page on the N3V Games Mediawiki based 'TrainzOnline Wiki' web site using: http://online.ts2009.com/mediaWiki/index.php/
as a prefix for the default url or equivalent{{{1}}}
parameter.
- This template is used extensively in the Trainz Wikibook.
- Multi-word article's titles may not contain a space, but must instead use an underscore.
- Section titles are permissible as well, following an '#' operator, but again the string MAY NOT contain whitespace characters.
Bottom Line: Use Underscore characters '_' instead of spaces or tabs.
|
- Example-1:
{{N3V | category-class }}
creates the external link: category-class
- A pretty-print (pipetrick) can be given as the second default
{{{2}}}
parameter.
- Example-2: the format:
{{N3V | {{{1}}} | {{{2}}} }}
with the parameters defined:{{N3V | KIND TrainzBaseSpec | Kinds list }}
will form the link: TrainzBaseSpec Kinds list.
See also: Category: Trainz box templates Category: Trainz link templates