Difference between revisions of "Template:Template link/doc"
(cat) |
m (Text replacement - "<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>" to "{{Documentation subpage}}") |
||
Line 1: | Line 1: | ||
− | + | {{Documentation subpage}} | |
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
===Usage=== | ===Usage=== |
Revision as of 20:28, 30 April 2023
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 |