Difference between revisions of "Template:Template link/doc"
m (Text replacement - "<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>" to "{{Documentation subpage}}") |
m (Deadfire moved page Template:Tl/doc to Template:Template link/doc without leaving a redirect) |
(No difference)
|
Revision as of 22:58, 4 April 2024
This is a documentation subpage for Template:Template link. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
- {{Tl}}
- Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "|etc.".
Example
Code | Result | Remark |
---|---|---|
{{Tl}} | {{x0}} | |
{{Tl}} | {{x1}} | |
{{Tl}} | {{x2}} | |
{{Tl}} | {{x3}} | |
{{Tl}} | {{x4}} | up to 3 parameters |
{{Tl}} | {{x4}} | | for more |
{{Tl}} | {{x1}} | = won't work |
{{Tl}} | {{x1}} | = is okay |
{{Tl}} | {{x1}} | sticky nowiki is okay |
{{Tl}} | {{x2}} | empty won't work |
{{Tl}} | {{x2}} |   is okay |
{{Tl}} | {{x2}} | is okay |
{{Tl}} | {{x2}} | | is okay |
{{Tl}} | {{x2}} | {{!}} is dubious |
{{Tl}} | {{x2}} | empty really doesn't work |
{{Tl}} | {{x2}} | two clobbers 2=one |
{{Tl}} | {{x2}} | right to left okay |