Template:Tlf/doc: Difference between revisions

Corr.
(Corr.)
(Corr.)
Line 28: Line 28:


;Notes
;Notes
* The specified parameters cannot include any equals signs ({{=}}). That will break the template.
* The specified parameters cannot include any equals signs ({{=}}). That will break the template. If you need to do that, use the template {{tn|=}}.
* If the maximum of 11 included parameters is exceeded, the template will only show the 11 first parameters, and exclude the surplus ones.
* If the maximum of 11 included parameters is exceeded, the template will only show the 11 first parameters, and exclude the surplus ones.


Line 47: Line 47:
|-
|-
| Wiki-formatting || {{tlc|tlf|<nowiki>'''templatename'''|''par1''|'''''par2'''''|[[par3]]</nowiki>}} || {{tlf|'''templatename'''|''par1''|'''''par2'''''|[[par3]]}} ||
| Wiki-formatting || {{tlc|tlf|<nowiki>'''templatename'''|''par1''|'''''par2'''''|[[par3]]</nowiki>}} || {{tlf|'''templatename'''|''par1''|'''''par2'''''|[[par3]]}} ||
|-
| Parameters with {{tn|=}} || {{tlc|tlp|templatename|<nowiki>par1{{=}}</nowiki>|par2|<nowiki>par3{{=}}</nowiki>}} || {{tlp|templatename|par1{{=}}|par2|par3{{=}}}} ||
|}
|}


Line 61: Line 63:
==See also==
==See also==
* {{tl|tl}}: produces a link to a template, within braces.
* {{tl|tl}}: produces a link to a template, within braces.
* {{tl|tlc}}: produces a template presentation similar to {{tlf|tlf}}, but wraps the output in &lt;code&gt;-tags.
* {{tl|tn}}: the same as {{tlf|tl}}, but also includes the inner pair of braces in the link, making it easier to click the link when presenting short template names.
* {{tl|tlc}}: produces a template presentation, with the template's name and it's parameters, and wraps the output in &lt;code&gt;-tags.
* {{tl|tlp}}: produces a template link, with the template's name and it's parameters, and shows the output in plain text.
 


<includeonly>
<includeonly>
<!-- Categories here, please -->
<!-- Categories here, please -->
[[Category:Template namespace templates|Tlf]]
[[Category:Internal link templates]]
[[Category:Template help templates|Tlf]]
[[Category:Template namespace templates|Tn]]
[[Category:Documentation help templates|Tlf]]
[[Category:Template help templates]]
[[Category:Documentation help templates]]
</includeonly>
</includeonly>
3,860

edits