Template:Tlc/doc: Difference between revisions
Template page
More actions
Some additions to the doc. |
More explanation. |
||
| Line 39: | Line 39: | ||
</table> | </table> | ||
If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <code><nowiki></code> tags etc. Here are the codes to emulate {{tlf|tlf}}, {{tld|tld}} and {{tlc|tlc}} respectively. Code to the left and actual rendering to the right: | |||
:<code><nowiki><nowiki>{{name|one=a|two=b}}</nowiki></nowiki></code> = <nowiki>{{name|one=a|two=b}}</nowiki> | |||
:<code><nowiki><tt><nowiki>{{name|one=a|two=b}}</nowiki></tt></nowiki></code> = <tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> | |||
:<code><nowiki><code><nowiki>{{name|one=a|two=b}}</nowiki></code></nowiki></code> = <code><nowiki>{{name|one=a|two=b}}</nowiki></code> | |||
=== See also === | === See also === | ||
| Line 46: | Line 54: | ||
* {{tl|tlf}} – Not linked, several parameters and normal text style. | * {{tl|tlf}} – Not linked, several parameters and normal text style. | ||
* {{tl|tl}} – Template link, no parameters. | * {{tl|tl}} – Template link, no parameters and normal text style. | ||
* {{tl|tlx}} – Template link, several parameters and interwiki links, | * {{tl|tlx}} – Template link, several parameters and interwiki links, <tt>teletype</tt> text style. | ||
* {{tl|tn}} – Same as tl, but shows the braces as part of the link. | * {{tl|tn}} – Same as {{tlf|tl}}, but shows the braces as part of the link. | ||
<includeonly> | <includeonly> | ||