Template:Tlxr: Difference between revisions
Jump to navigation
Jump to search
m (+ The tenth parameter) |
m (Putting the closing braces on a separate line) |
||
Line 10: | Line 10: | ||
-->{{#if: {{{10|}}} | <br>{{!}}{{{10}}} |}}<!-- | -->{{#if: {{{10|}}} | <br>{{!}}{{{10}}} |}}<!-- | ||
-->{{#if: {{{11|}}} | <br>{{!}}{{{11}}} |}}<!-- | -->{{#if: {{{11|}}} | <br>{{!}}{{{11}}} |}}<!-- | ||
-->}}<noinclude> | -->{{#if: {{{2|}}} | <br> |}}}}<noinclude> | ||
{{Informative template|1= | {{Informative template|1= | ||
__NOTOC__ | __NOTOC__ |
Revision as of 21:04, 6 November 2013
{{[[Template:{{{1}}}|{{{1}}}]]}}
The following template description is not displayed when the template is inserted in an article.
Goal
This template is used to show a link to a template, together with its parameters as wiki markup.
Usage
{{tlxr|template|parameter|...|parameter}}
- template
- The template to be linked to
- parameter
- Up to ten parameters
Example
{{tlxr|distinguish|Template:Tl}}
{{distinguish
|Template:Tl
}}
{{tlxr|tlxr|1|2|3|4|5|6|7|8|9|10}}
{{tlxr
|1
|2
|3
|4
|5
|6
|7
|8
|9
|10
}}
Known issues
Some characters will break templates when used inside template parameters, one of them is the equal sign "=" when used directly behind other characters. A few was around that is to use {{=}} or <nowiki>=</nowiki> instead.