Template:Xpda

From TrainzOnline
Jump to: navigation, search

{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}}{{xpd/w{{#if:|l}}|}} {{{result}}} [1]


This is a documentation subpage for Template:Xpda.

 
It contains usage information, categories and other informational content that is best arranged so that it is not part of the original template page, such as in many cases, examples of how to use the template in question.
  • Documentation subpages were developed to reduce server demands, or to protect the code version of widely used templates.
     

This is the core template of the expansion demo templates.

It produces

wikitext gives result [ link to Special:ExpandTemplates with the wikitext preloaded ]

The item result is just a parameter, the value is supplied by the individual expansion demo templates, each containing the wikitext as expression with explicit braces, pipes and equals signs.

Parameter gives used to provide the text for "gives", but is being deprecated. Temporarily it is retained in the form {{{gives|}}}. Some of the expansion demo templates still specify gives={{{gives|gives}}} in the call of Template:Xpda. However, this is being removed, while the {{{gives|gives}}} is moved to the start of result. This avoids trimming on the left side of the result if delimiter d is specified as the empty string; this trimming is especially inconvenient if the result is a table: quotes do not look good, but the newline before "{|" is needed. It remains in use as parameter of the expansion demo templates.

Parameters l1, l2, .. specify which parts should be linked. This is intended for the option to link the templates called in the wikitext.

The other parameters are the pieces of wikitext, including each brace, pipe and equals sign as separate piece. They are used for proper display (the first item) and for preloading the input window of Special:ExpandTemplates.

For every piece of wikitext, Template:Xpd/w is used to display it, and Template:Xpd/url is used to preload it in the input window of Special:ExpandTemplates.

This page has it's origination in the Wikimedia Foundation's development website Meta-wiki or has been exported and is now part of the newer Mediawiki software resources website for assisting new wikis with startup organization and has been copied according to the terms of the (CC-BY-SA-3.0), the GFDL standard GNU pulic license or the source file(s) is/are in the public domain.
1 | references-column-count references-column-count-{{{1}}} }} }} }}" {{#if: | style="-moz-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: | style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" }} }}> Unknown extension tag "references"


 
Personal tools