A Wiki in the Desert
Log in

Template:Tlx

From A Wiki in the Desert
Revision as of 22:44, 8 October 2018 by Brad (talk | contribs) (Creating Tlx (Template list expanded) template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{Tlx}}

Template documentation (for the above template, sometimes hidden or invisible)

{{Tlx}} takes the name of another template and some associated pipe-tricked parameters, and displays them as an example of how the template could be coded. Its primary use is in wiki-editing instruction and documentation where short template examples would be helpful, and should never be used in "real" page content. To demonstrate a simple template without parameters, see {{Tl}}.

To document templates that use more than five parameters, use <pre> tags to wrap and format the content.

Template

{{Tlx|<TEMPLATE>|<PARAMETER>|<PARAMETER>|...}}

Usage

Provide the template name as the first parameter, and up to five arguments to the template as the remaining parameters.

Example

{{Tlx|Example template|example parameter one|second example parameter}}

The above use produces:

{{Example template|example parameter one|second example parameter}}

Visit Template:Tlx/doc to edit this text! (How does this work?)