This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template formats a link for use in hatnote templates. It accepts up to three positional parameters, the link, an optional display value, and an optional target override (which if provided, makes the link parameter optional). These parameters may also be supplied by name, as link, display, and target respectively. Links to categories and files are automatically escaped with the colon trick, and links to sections are automatically formatted as page § section, rather than the MediaWiki default of page#section.
This template doesn't work with subst.
Usage
Link only:
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [1] |
Link plus display:
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [2] |
Link with an italicized page name:
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [3] |
Link with an italicized section name:
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [4] |
If the link or display values contain an equals sign, you will need to specify the parameter names like this:
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [5] |
Link with a target override:
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [6] |
Link with parameters supplied by name:
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [7] |
Examples
- This documentation is transcluded from Template:Format link/doc. Changes can be proposed in the talk page.
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [8] |
→ [[Lion]] → Lion
- This documentation is transcluded from Template:Format link/doc. Changes can be proposed in the talk page.
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [9] |
→ [[Lion#Etymology|Lion § Etymology]] → Lion § Etymology
- This documentation is transcluded from Template:Format link/doc. Changes can be proposed in the talk page.
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [10] |
→ [[:Category:Lions]] → Category:Lions
- This documentation is transcluded from Template:Format link/doc. Changes can be proposed in the talk page.
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [11] |
→ [[Lion#Etymology|Etymology of lion]] → Etymology of lion
- This documentation is transcluded from Template:Format link/doc. Changes can be proposed in the talk page.
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
Lua error in Module:Shortcut at line 45: attempt to index local 'titleObj' (a nil value).
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [12] |
→ [[:Foo#Bar|§ Bar]] → § Bar
- This documentation is transcluded from Template:Format link/doc. Changes can be proposed in the talk page.
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [13] |
→ [[Quo warranto#Philippines|<i>Quo warranto</i> § Philippines]] → Quo warranto § Philippines
- This documentation is transcluded from Template:Format link/doc. Changes can be proposed in the talk page.
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [14] |
→ [[Cybercrime Prevention Act of 2012#Disini v. Secretary of Justice|Cybercrime Prevention Act of 2012 § <i>Disini v. Secretary of Justice</i>]] → Cybercrime Prevention Act of 2012 § Disini v. Secretary of Justice
- This documentation is transcluded from Template:Format link/doc. Changes can be proposed in the talk page.
This template is used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.
This template, often abbreviated as Template:Tlf, is used to provide stylized formatting to template displays without actually using the template itself.
Parameters
With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Parameter | Action | Use with {{example}} |
Default active |
---|---|---|---|
Default (without accessory parameters) | {{example}} | ||
brace | Include braces as part of the template link | {{example}} | {{tlw}}/{{tn}} |
braceinside | Include innermost braces as part of the template link | {{example}} | |
bold | Renders the template link/name in bold | {{example}} | {{tlb}}, {{tlxb}} |
code | Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) | {{example}} |
{{tlc}}, {{Template link expanded}}, etc. |
italic | Display any parameters accompanying the template link/name in italics | {{example|param}} | {{tlxi}} |
kbd | Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) | {{example}} | |
nolink | Don't render the template name as a link | {{example}} | {{tlf}}, {{tnull}} |
nowrap | Prevent the insertion of line breaks (word wrap) in the output | {{example}} | |
nowrapname | Prevent word wrapping in the output of template name/link (parameters will wrap if needed) | {{example}} | |
plaincode | Uses Template:Tag | {{example}} |
{{tltss}} |
subst | Include a subst: prefix before the template link/name | {{subst:example}} | {{tls}}, {{tlxs}}, etc |
Template:Para | Use [text] as the label for the template link | {{Other}} | {{tla}} |
_show_result | Will also display the result of the template. | Lua error: expandTemplate: template "Template:Min" does not exist. | |
_expand | Will add a link to the expanded template page. | {{Min|7|-5}} [15] |
→ Error: no link or target specified! (help)
Errors
If this template is used and neither the link parameter (or positional parameter 1) nor the target parameter (or positional parameter 3) is supplied, then the template will return an error message. At least one of those must be supplied.