Template:T1: Difference between revisions
Template page
More actions
doc / cat |
m expansion |
||
| Line 1: | Line 1: | ||
{[[ | {{#switch:{{{incl}}}|0={{|2=|{}}[[:{{#if:{{{3|{{{lang|}}}}}}|{{{3|{{{lang}}}}}}:}}{{ns:10}}:{{#if:{{{1|}}}|{{{1}}}|T1}}|{{#switch:{{{incl}}}|0=|2={{|{}}{{#if:{{{code|}}}|<code>}}{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|T1}}}}{{{parm|}}}{{#if:{{{code|}}}|</code>}}{{#switch:{{{incl}}}|0=|2=}}|}}}]]{{#switch:{{{incl}}}|0=}}|2=|}}}<noinclude> | ||
== Usage == | == Usage == | ||
| Line 12: | Line 11: | ||
* {{tl|t}} - makes both the brackets part of the link ({{t|template}}) | * {{tl|t}} - makes both the brackets part of the link ({{t|template}}) | ||
* [[Commons:Link templates]] - contains examples of all similar link templates | * [[Commons:Link templates]] - contains examples of all similar link templates | ||
{{Commons:Link templates/Template links}} | |||
[[Category:Internal link templates|{{PAGENAME}}]] | [[Category:Internal link templates|{{PAGENAME}}]] | ||
[[Category:Typing-aid templates|{{PAGENAME}}]] | [[Category:Typing-aid templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 05:49, 25 July 2013
{{T1}}
Usage
- {{t1|template name to display}}
Example:
- {{t1|!}} → {{!}}
See also
- {{Tl}} - doesn't make the curly brackets part of the link ({{Template}})
- {{T}} - makes both the brackets part of the link ({{Template}})
- Commons:Link templates - contains examples of all similar link templates
{{Commons:Link templates/Template links}}