Template:Format link/doc: Difference between revisions

Template page
(Created page with "{{Documentation}} {{Wikipedia template}} 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 <var>link</var>, <var>display</var>, and <var>target</var> respectively. Links to categories and files are automatically escaped with the [https://en.wik...")
 
(No difference)

Latest revision as of 20:27, 3 July 2023

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 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 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 §&nbsp;Etymology]] → Lion § Etymology

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 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}} The time allocated for running scripts has expired.
_show_result Will also display the result of the template. The time allocated for running scripts has expired.
_expand Will add a link to the expanded template page. The time allocated for running scripts has expired.
→ [[Lion#Etymology|Etymology of lion]] → The time allocated for running scripts has expired.
  • The time allocated for running scripts has expired.

The time allocated for running scripts has expired. 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.

The time allocated for running scripts has expired.

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) The time allocated for running scripts has expired.
brace Include braces as part of the template link The time allocated for running scripts has expired. The time allocated for running scripts has expired./The time allocated for running scripts has expired.
braceinside Include innermost braces as part of the template link The time allocated for running scripts has expired.
bold Renders the template link/name in bold The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired.
code Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired., etc.
italic Display any parameters accompanying the template link/name in italics The time allocated for running scripts has expired. The time allocated for running scripts has expired.
kbd Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) The time allocated for running scripts has expired.
nolink Don't render the template name as a link The time allocated for running scripts has expired. The time allocated for running scripts has expired., {{tnull}}
nowrap Prevent the insertion of line breaks (word wrap) in the output The time allocated for running scripts has expired.
nowrapname Prevent word wrapping in the output of template name/link (parameters will wrap if needed) The time allocated for running scripts has expired.
plaincode Uses Template:Tag The time allocated for running scripts has expired. The time allocated for running scripts has expired.
subst Include a subst: prefix before the template link/name The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired., etc
Template:Para Use [text] as the label for the template link The time allocated for running scripts has expired. The time allocated for running scripts has expired.
_show_result Will also display the result of the template. The time allocated for running scripts has expired.
_expand Will add a link to the expanded template page. The time allocated for running scripts has expired.
 → [[:Foo#Bar|§&nbsp;Bar]] → The time allocated for running scripts has expired.
  • The time allocated for running scripts has expired.

The time allocated for running scripts has expired. 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.

The time allocated for running scripts has expired.

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) The time allocated for running scripts has expired.
brace Include braces as part of the template link The time allocated for running scripts has expired. The time allocated for running scripts has expired./The time allocated for running scripts has expired.
braceinside Include innermost braces as part of the template link The time allocated for running scripts has expired.
bold Renders the template link/name in bold The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired.
code Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired., etc.
italic Display any parameters accompanying the template link/name in italics The time allocated for running scripts has expired. The time allocated for running scripts has expired.
kbd Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) The time allocated for running scripts has expired.
nolink Don't render the template name as a link The time allocated for running scripts has expired. The time allocated for running scripts has expired., {{tnull}}
nowrap Prevent the insertion of line breaks (word wrap) in the output The time allocated for running scripts has expired.
nowrapname Prevent word wrapping in the output of template name/link (parameters will wrap if needed) The time allocated for running scripts has expired.
plaincode Uses Template:Tag The time allocated for running scripts has expired. The time allocated for running scripts has expired.
subst Include a subst: prefix before the template link/name The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired., etc
Template:Para Use [text] as the label for the template link The time allocated for running scripts has expired. The time allocated for running scripts has expired.
_show_result Will also display the result of the template. The time allocated for running scripts has expired.
_expand Will add a link to the expanded template page. The time allocated for running scripts has expired.
→ [[Quo warranto#Philippines|<i>Quo warranto</i> §&nbsp;Philippines]] → The time allocated for running scripts has expired.
  • The time allocated for running scripts has expired.

The time allocated for running scripts has expired. 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.

The time allocated for running scripts has expired.

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) The time allocated for running scripts has expired.
brace Include braces as part of the template link The time allocated for running scripts has expired. The time allocated for running scripts has expired./The time allocated for running scripts has expired.
braceinside Include innermost braces as part of the template link The time allocated for running scripts has expired.
bold Renders the template link/name in bold The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired.
code Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired., etc.
italic Display any parameters accompanying the template link/name in italics The time allocated for running scripts has expired. The time allocated for running scripts has expired.
kbd Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) The time allocated for running scripts has expired.
nolink Don't render the template name as a link The time allocated for running scripts has expired. The time allocated for running scripts has expired., {{tnull}}
nowrap Prevent the insertion of line breaks (word wrap) in the output The time allocated for running scripts has expired.
nowrapname Prevent word wrapping in the output of template name/link (parameters will wrap if needed) The time allocated for running scripts has expired.
plaincode Uses Template:Tag The time allocated for running scripts has expired. The time allocated for running scripts has expired.
subst Include a subst: prefix before the template link/name The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired., etc
Template:Para Use [text] as the label for the template link The time allocated for running scripts has expired. The time allocated for running scripts has expired.
_show_result Will also display the result of the template. The time allocated for running scripts has expired.
_expand Will add a link to the expanded template page. The time allocated for running scripts has expired.
→ [[Cybercrime Prevention Act of 2012#Disini v. Secretary of Justice|Cybercrime Prevention Act of 2012 §&nbsp;<i>Disini v. Secretary of Justice</i>]] → The time allocated for running scripts has expired.
  • The time allocated for running scripts has expired.

The time allocated for running scripts has expired. 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.

The time allocated for running scripts has expired.

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) The time allocated for running scripts has expired.
brace Include braces as part of the template link The time allocated for running scripts has expired. The time allocated for running scripts has expired./The time allocated for running scripts has expired.
braceinside Include innermost braces as part of the template link The time allocated for running scripts has expired.
bold Renders the template link/name in bold The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired.
code Display output using HTML [[HTML element#code|Template:Tag]] tags (monospaced font) The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired., etc.
italic Display any parameters accompanying the template link/name in italics The time allocated for running scripts has expired. The time allocated for running scripts has expired.
kbd Display output using HTML [[HTML element#kbd|Template:Tag]] tags (monospaced font) The time allocated for running scripts has expired.
nolink Don't render the template name as a link The time allocated for running scripts has expired. The time allocated for running scripts has expired., {{tnull}}
nowrap Prevent the insertion of line breaks (word wrap) in the output The time allocated for running scripts has expired.
nowrapname Prevent word wrapping in the output of template name/link (parameters will wrap if needed) The time allocated for running scripts has expired.
plaincode Uses Template:Tag The time allocated for running scripts has expired. The time allocated for running scripts has expired.
subst Include a subst: prefix before the template link/name The time allocated for running scripts has expired. The time allocated for running scripts has expired., The time allocated for running scripts has expired., etc
Template:Para Use [text] as the label for the template link The time allocated for running scripts has expired. The time allocated for running scripts has expired.
_show_result Will also display the result of the template. The time allocated for running scripts has expired.
_expand Will add a link to the expanded template page. The time allocated for running scripts has expired.
The time allocated for running scripts has expired.

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.