Template:Para/Wikia Templates
|
Usage[edit source]
This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first Template:Tlx parameter is empty) an unnamed example parameter.
Examples[edit source]
Code | Result | Notes |
---|---|---|
Template:Tlx | |
|
|
Template:Tlx | |
|
|
Template:Tlx | |
|
For unnamed parameters; note empty first parameter in the code |
Template:Tlx | |
|
When using literal, pre-specified values, simply provide the value (as in the third example above). When illustrating hypothetical, variable or user-definable values, use <var>value</var>
(as in the second example above) and the same should be done for non-literal, example parameters (fourth example above).
See also[edit source]
- {{Parameter}}
This page uses content from Wikipedia. The original article was at Template:Para/Wikia Templates. The list of authors can be seen in the page history. As with Commandos Wiki, the text of Wikipedia is available under the Creative Commons Attribution-Share Alike 3.0 Unported License. |
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Para/Wikia Templates/doc. (View all subpages of this page.)