PlaneSpottingWorld welcomes all new members! Please gives your ideas at the Terminal.

Template:Tlx/doc

From PlaneSpottingWorld, for aviation fans everywhere

Jump to: navigation, search

Snippet heading from {{Interwiki doc page pattern}}:

This page will show SIX broken commands in three block forming pairs before or after subst'ing -- all involve the partial (broken) command word 'in clude' (note the added space) -- these are deliberate breakings of those wikimarkup language keywords to ensure this whole boilerplate template will be subst'ed. Fix these after substing this page in it's destination and delete this heading, as well as the how-to guiding imbedded comments below.

<in cludeonly>
This 'Tlx/doc' template documentation is transcluded for all Template:Tlx/doc (edit talk links history) tagged templates [edit].Masterpage  </in cludeonly><noin clude>

This is the template documentation page for {{Tlx/doc}}.
It is not necessarily intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.


Similar templates at English sister projects [edit]
mta Meta-wiki Tlx/doc
wpd Wikipedia Tlx/doc
cms Commons Tlx/doc
wbk Wikibooks Tlx/doc
wqt Wikiquote Tlx/doc
wsr Wikisource Tlx/doc
wsp Wikispecies Tlx/doc
wvy Wikiversity Tlx/doc
This project under construction ...
Pardon our appearance whist we remodel,
pull the engine, and change the tires.

</no include><in cludeonly>


</in cludeonly>

Similar templates at English sister projects [edit]
mta Meta-wiki Tlx/doc
wpd Wikipedia Tlx/doc
cms Commons Tlx/doc
wbk Wikibooks Tlx/doc
wqt Wikiquote Tlx/doc
wsr Wikisource Tlx/doc
wsp Wikispecies Tlx/doc
wvy Wikiversity Tlx/doc
This project under construction ...
Pardon our appearance whist we remodel,
pull the engine, and change the tires.



This is commons (somewhat more dated logic...) parked here pending time to cycle back and make fixups as a proper doc file, reconcile the best logic, and then redistribute interwiki again. FrankB 04:47, 2 February 2007 (UTC)

{{Tlx}}

Similar templates at English sister projects [edit]
mta Meta-wiki Tlx/doc
wpd Wikipedia Tlx/doc
cms Commons Tlx/doc
wbk Wikibooks Tlx/doc
wqt Wikiquote Tlx/doc
wsr Wikisource Tlx/doc
wsp Wikispecies Tlx/doc
wvy Wikiversity Tlx/doc
This project under construction ...
Pardon our appearance whist we remodel,
pull the engine, and change the tires.


Usage: {{tlx|template name|first parameter|...}}
Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "|etc.", for details see the en.talk page.

[edit] Documentation

{{Tlx/doc}} is a generalization of {{tl|x}}, {{tlp|x|y}}, {{tl2|x|y|z}}, etc. with arguably better readable output. This depends on the browser, but too narrow uses of "{", "|", "}" in conjunction with links can be hard to read.

[edit] Usage

{{Tlx/doc|template name}}
{{Tlx/doc|template name|param}}
{{Tlx/doc|template name|1|2|3}}
{{Tlx/doc|template name|1|2|3&#124;more}}
{{Tlx/doc|template name|param&#61;value}}

Up to three placeholders for parameters of the specified template

[edit] Example

Note
On the source sister project, en.wikipedia, X0, X1, X2,..., X9 are sandbox templates for experimentation. Here they show as redlinks, as no auto-cleansing software facility exists.
Code Result Remark
{{tlx|x0}} {{x0}}  
{{tlx|x1|one}} {{x1|one}}  
{{tlx|x2|one|two}} {{x2|one|two}}  
{{tlx|x3|1|2|3}} {{x3|1|2|3}}  
{{tlx|x4|1|2|3|4}} {{x4|1|2|3|4}} up to 3 parameters
{{tlx|x4|1|2|3&#124;4}} {{x4|1|2|3|4}} &#124; for more
{{tlx|x1|x=u}} {{x1}} = won't work
{{tlx|x1|x&#61;u}} {{x1|x=u}} &#61; is okay
{{tlx|x1|<nowiki>x=u</nowiki>}} {{x1|x=u}} sticky nowiki is okay
{{tlx|x2| |two}} {{x2|two}} empty won't work
{{tlx|x2|&#32;|two}} {{x2| |two}} &#32; is okay
{{tlx|x2|&nbsp;|two}} {{x2| |two}} &nbsp; is okay
{{tlx|x2| &#124; two}} {{x2| | two}} &#124; is okay
{{tlx|x2| {{!}} two}} {{x2| | two}} {{!}} is dubious
{{tlx|x2|2=|3=two}} {{x2|two}} empty really doesn't work
{{tlx|x2|2=one|two}} {{x2|two}} two clobbers 2=one
{{tlx|x2|3=two|2=one}} {{x2|one|two}} right to left okay

Personal tools
SpottingWorld Wikis
<
January 2009
>
SMTWTFS
123
45678910
11121314151617
18192021222324
25262728293031
Coming Events
More »