Template:Tlxr: Difference between revisions
Jump to navigation
Jump to search
m (Putting the closing braces on a separate line) |
(This template will now be shown in a monospace font) |
||
Line 1: | Line 1: | ||
{{[[Template:{{{1}}}|{{{1}}}]]<!-- | <tt>{{[[Template:{{{1}}}|{{{1}}}]]<!-- | ||
-->{{#if: {{{2|}}} | <br>{{!}}{{{2}}} |}}<!-- | -->{{#if: {{{2|}}} | <br>{{!}}{{{2}}} |}}<!-- | ||
-->{{#if: {{{3|}}} | <br>{{!}}{{{3}}} |}}<!-- | -->{{#if: {{{3|}}} | <br>{{!}}{{{3}}} |}}<!-- | ||
Line 10: | Line 10: | ||
-->{{#if: {{{10|}}} | <br>{{!}}{{{10}}} |}}<!-- | -->{{#if: {{{10|}}} | <br>{{!}}{{{10}}} |}}<!-- | ||
-->{{#if: {{{11|}}} | <br>{{!}}{{{11}}} |}}<!-- | -->{{#if: {{{11|}}} | <br>{{!}}{{{11}}} |}}<!-- | ||
-->{{#if: {{{2|}}} | <br> |}}}}<noinclude> | -->{{#if: {{{2|}}} | <br> |}}}}</tt><noinclude> | ||
{{Informative template|1= | {{Informative template|1= | ||
__NOTOC__ | __NOTOC__ |
Revision as of 09:33, 7 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.