Template:Template link general/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(update) |
(→Parameters: examples) |
||
Line 27: | Line 27: | ||
{| class="wikitable" |
{| class="wikitable" |
||
! Parameter || Action || Default active |
! Parameter || Action || Use with<br>{{t|example}} || Default active |
||
|- |
|- |
||
| brace || Include braces as part of the template link || {{tl|tlw}}/{{tl|tn}} |
| brace || Include braces as part of the template link || {{tlg|brace=yes|example}} || {{tl|tlw}}/{{tl|tn}} |
||
|- |
|- |
||
| braceinside || Include innermost braces as part of the template link || |
| braceinside || Include innermost braces as part of the template link || {{tlg|example|braceinside=yes}} || |
||
|- |
|- |
||
| bold || Renders the template link/name in '''bold''' || {{tl|tlb}}, {{tl|tlxb}} |
| bold || Renders the template link/name in '''bold''' || {{tlg|bold=yes|example}} || {{tl|tlb}}, {{tl|tlxb}} |
||
|- |
|- |
||
| code || Display output using HTML [[HTML element#code|{{tag|code}}]] tags ([[monospaced font]]) || {{tl|tlc}}, {{tl|Template link general}}, etc. |
| code || Display output using HTML [[HTML element#code|{{tag|code}}]] tags ([[monospaced font]]) || {{tlg|code=yes|example}} || {{tl|tlc}}, {{tl|Template link general}}, etc. |
||
|- |
|- |
||
| italic || Display any parameters accompanying the template link/name in ''italics'' || {{tl|tlxi}} |
| italic || Display any parameters accompanying the template link/name in ''italics'' ||| {{tlg|italic=yes|example|param}} || {{tl|tlxi}} |
||
|- |
|- |
||
| kbd || Display output using HTML [[HTML element#kbd|{{tag|kbd}}]] tags (monospaced font) || |
| kbd || Display output using HTML [[HTML element#kbd|{{tag|kbd}}]] tags (monospaced font) || {{tlg|kbd=yes|example}} || |
||
|- |
|- |
||
| nolink || Don't render the template name as a link || {{tl|tlf}}, {{t|tlc}}, {{t|tnull}} |
| nolink || Don't render the template name as a link || {{tlg|nolink=yes|example}} || {{tl|tlf}}, {{t|tlc}}, {{t|tnull}} |
||
|- |
|- |
||
| nowrap || Prevent the insertion of line breaks ([[word wrap]]) in the output || |
| nowrap || Prevent the insertion of line breaks ([[word wrap]]) in the output || {{tlg|nowrap=yes|example}} || |
||
|- |
|- |
||
| nowrapname || Prevent word wrapping in the output of template name/link (parameters will wrap if needed) || |
| nowrapname || Prevent word wrapping in the output of template name/link (parameters will wrap if needed) || {{tlg|nowrapname=yes|example}} || |
||
|- |
|- |
||
| plaincode || Uses {{tag|code|params=style="border:none; background:transparent;"}} || {{tl|tltss}} |
| plaincode || Uses {{tag|code|params=style="border:none; background:transparent;"}} || {{tlg|plaincode=yes|example}} || {{tl|tltss}} |
||
|- |
|- |
||
| subst || Include a [[Help:Substitution|subst:]] prefix before the template link/name || {{tl|tls}}, {{tl|tlxs}}, etc |
| subst || Include a [[Help:Substitution|subst:]] prefix before the template link/name || {{tlg|subst=yes|example}} || {{tl|tls}}, {{tl|tlxs}}, etc |
||
|- |
|- |
||
| {{para|alttext|[text]}} || Use [text] as the label for the template link || {{tl|tla}} |
| {{para|alttext|[text]}} || Use [text] as the label for the template link || {{tlg|alttext=Other|example}} || {{tl|tla}} |
||
|} |
|} |
||