Template:For

From UnderlightWiki
Revision as of 12:08, 26 October 2022 by Wearchristy (talk | contribs) (Adding For Template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template loop detected: Template:For {{#ifeq:for |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:For
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#invoke:High-use|main|1= 149560 |2=|info=|demo=|form=|expiry=|system=}} {{#invoke:Lua banner|main}}

Usage

This template yields a hatnote similar to {{Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages. It accepts one or more parameters (zero is not allowed).

With one parameter (rare)

The first parameter sets the hatnote itself and should be plain text. Without any further parameter, it will link to a default disambiguation page for the article title, e.g. Template:Tlc yields on page Foo: Template:Hatnote

This kind of usage with exactly one parameter is rare, as in most instances {{Other uses}} (and in this case, {{About}} with the same result) can be used more easily, and without any parameter. But it makes sense in some cases for disambiguation pages with the same type of other meanings, e.g. in Treaty of Lisbon: Template:Hatnote However, for many such cases specific new templates have been implemented, like {{Other people}}, {{Other places}} etc. - see hatnote template overview box below.

With two parameters

The second parameter is used to change the resultant link, e.g. Template:Tlc yields (wherever it is set, now independent of the article title): Template loop detected: Template:For

With more parameters

The third, fourth and fifth parameters are used to give one, two, or three additional resultant links: Template loop detected: Template:For Template loop detected: Template:For Template loop detected: Template:For the last being produced by e.g. Template:Tlc.

The Template:Para option marks the entire hatnote as a Wikipedia self-reference, causing it to be omitted when the page content is reused outside of Wikipedia (see {{self reference}} and MOS:SELFREF for more details).

Tracking category

Pages with errors reported by this template are added to Category:Hatnote templates using unusual parameters.

See also

TemplateData

Template:TemplateData header <templatedata> { "description": "This template lists up to four articles on alternative meanings of a term. For further details and examples see the template documentation.", "params": { "1": { "label": "Description", "description": "a phrase describing the major alternative, or a general term for all alternative meanings", "type": "string", "required": true, "example": "other people with the surname Smith" }, "2": { "label": "First link", "description": "A page to link to; usually a disambiguation page or the most likely other meaning.", "default": "For (disambiguation)", "type": "wiki-page-name", "required": false }, "3": { "label": "Second link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "4": { "label": "Third link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "5": { "label": "Fourth link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false } }, "format": "inline" } </templatedata> Template:Hatnote templates Template:Sandbox other {{#ifeq:for |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:For
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#invoke:High-use|main|1= 149560 |2=|info=|demo=|form=|expiry=|system=}} {{#invoke:Lua banner|main}}

Usage

This template yields a hatnote similar to {{Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages. It accepts one or more parameters (zero is not allowed).

With one parameter (rare)

The first parameter sets the hatnote itself and should be plain text. Without any further parameter, it will link to a default disambiguation page for the article title, e.g. Template:Tlc yields on page Foo: Template:Hatnote

This kind of usage with exactly one parameter is rare, as in most instances {{Other uses}} (and in this case, {{About}} with the same result) can be used more easily, and without any parameter. But it makes sense in some cases for disambiguation pages with the same type of other meanings, e.g. in Treaty of Lisbon: Template:Hatnote However, for many such cases specific new templates have been implemented, like {{Other people}}, {{Other places}} etc. - see hatnote template overview box below.

With two parameters

The second parameter is used to change the resultant link, e.g. Template:Tlc yields (wherever it is set, now independent of the article title): Template loop detected: Template:For {{#ifeq:for |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:For
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#invoke:High-use|main|1= 149560 |2=|info=|demo=|form=|expiry=|system=}} {{#invoke:Lua banner|main}}

Usage

This template yields a hatnote similar to {{Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages. It accepts one or more parameters (zero is not allowed).

With one parameter (rare)

The first parameter sets the hatnote itself and should be plain text. Without any further parameter, it will link to a default disambiguation page for the article title, e.g. Template:Tlc yields on page Foo: Template:Hatnote

This kind of usage with exactly one parameter is rare, as in most instances {{Other uses}} (and in this case, {{About}} with the same result) can be used more easily, and without any parameter. But it makes sense in some cases for disambiguation pages with the same type of other meanings, e.g. in Treaty of Lisbon: Template:Hatnote However, for many such cases specific new templates have been implemented, like {{Other people}}, {{Other places}} etc. - see hatnote template overview box below.

With two parameters

The second parameter is used to change the resultant link, e.g. Template:Tlc yields (wherever it is set, now independent of the article title): Template loop detected: Template:For

With more parameters

The third, fourth and fifth parameters are used to give one, two, or three additional resultant links: Template loop detected: Template:For Template loop detected: Template:For Template loop detected: Template:For the last being produced by e.g. Template:Tlc.

The Template:Para option marks the entire hatnote as a Wikipedia self-reference, causing it to be omitted when the page content is reused outside of Wikipedia (see {{self reference}} and MOS:SELFREF for more details).

Tracking category

Pages with errors reported by this template are added to Category:Hatnote templates using unusual parameters.

See also

TemplateData

Template:TemplateData header <templatedata> { "description": "This template lists up to four articles on alternative meanings of a term. For further details and examples see the template documentation.", "params": { "1": { "label": "Description", "description": "a phrase describing the major alternative, or a general term for all alternative meanings", "type": "string", "required": true, "example": "other people with the surname Smith" }, "2": { "label": "First link", "description": "A page to link to; usually a disambiguation page or the most likely other meaning.", "default": "For (disambiguation)", "type": "wiki-page-name", "required": false }, "3": { "label": "Second link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "4": { "label": "Third link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "5": { "label": "Fourth link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false } }, "format": "inline" } </templatedata> Template:Hatnote templates Template:Sandbox other

With more parameters

The third, fourth and fifth parameters are used to give one, two, or three additional resultant links: Template loop detected: Template:For {{#ifeq:for |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:For
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#invoke:High-use|main|1= 149560 |2=|info=|demo=|form=|expiry=|system=}} {{#invoke:Lua banner|main}}

Usage

This template yields a hatnote similar to {{Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages. It accepts one or more parameters (zero is not allowed).

With one parameter (rare)

The first parameter sets the hatnote itself and should be plain text. Without any further parameter, it will link to a default disambiguation page for the article title, e.g. Template:Tlc yields on page Foo: Template:Hatnote

This kind of usage with exactly one parameter is rare, as in most instances {{Other uses}} (and in this case, {{About}} with the same result) can be used more easily, and without any parameter. But it makes sense in some cases for disambiguation pages with the same type of other meanings, e.g. in Treaty of Lisbon: Template:Hatnote However, for many such cases specific new templates have been implemented, like {{Other people}}, {{Other places}} etc. - see hatnote template overview box below.

With two parameters

The second parameter is used to change the resultant link, e.g. Template:Tlc yields (wherever it is set, now independent of the article title): Template loop detected: Template:For

With more parameters

The third, fourth and fifth parameters are used to give one, two, or three additional resultant links: Template loop detected: Template:For Template loop detected: Template:For Template loop detected: Template:For the last being produced by e.g. Template:Tlc.

The Template:Para option marks the entire hatnote as a Wikipedia self-reference, causing it to be omitted when the page content is reused outside of Wikipedia (see {{self reference}} and MOS:SELFREF for more details).

Tracking category

Pages with errors reported by this template are added to Category:Hatnote templates using unusual parameters.

See also

TemplateData

Template:TemplateData header <templatedata> { "description": "This template lists up to four articles on alternative meanings of a term. For further details and examples see the template documentation.", "params": { "1": { "label": "Description", "description": "a phrase describing the major alternative, or a general term for all alternative meanings", "type": "string", "required": true, "example": "other people with the surname Smith" }, "2": { "label": "First link", "description": "A page to link to; usually a disambiguation page or the most likely other meaning.", "default": "For (disambiguation)", "type": "wiki-page-name", "required": false }, "3": { "label": "Second link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "4": { "label": "Third link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "5": { "label": "Fourth link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false } }, "format": "inline" } </templatedata> Template:Hatnote templates Template:Sandbox other Template loop detected: Template:For {{#ifeq:for |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:For
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#invoke:High-use|main|1= 149560 |2=|info=|demo=|form=|expiry=|system=}} {{#invoke:Lua banner|main}}

Usage

This template yields a hatnote similar to {{Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages. It accepts one or more parameters (zero is not allowed).

With one parameter (rare)

The first parameter sets the hatnote itself and should be plain text. Without any further parameter, it will link to a default disambiguation page for the article title, e.g. Template:Tlc yields on page Foo: Template:Hatnote

This kind of usage with exactly one parameter is rare, as in most instances {{Other uses}} (and in this case, {{About}} with the same result) can be used more easily, and without any parameter. But it makes sense in some cases for disambiguation pages with the same type of other meanings, e.g. in Treaty of Lisbon: Template:Hatnote However, for many such cases specific new templates have been implemented, like {{Other people}}, {{Other places}} etc. - see hatnote template overview box below.

With two parameters

The second parameter is used to change the resultant link, e.g. Template:Tlc yields (wherever it is set, now independent of the article title): Template loop detected: Template:For

With more parameters

The third, fourth and fifth parameters are used to give one, two, or three additional resultant links: Template loop detected: Template:For Template loop detected: Template:For Template loop detected: Template:For the last being produced by e.g. Template:Tlc.

The Template:Para option marks the entire hatnote as a Wikipedia self-reference, causing it to be omitted when the page content is reused outside of Wikipedia (see {{self reference}} and MOS:SELFREF for more details).

Tracking category

Pages with errors reported by this template are added to Category:Hatnote templates using unusual parameters.

See also

TemplateData

Template:TemplateData header <templatedata> { "description": "This template lists up to four articles on alternative meanings of a term. For further details and examples see the template documentation.", "params": { "1": { "label": "Description", "description": "a phrase describing the major alternative, or a general term for all alternative meanings", "type": "string", "required": true, "example": "other people with the surname Smith" }, "2": { "label": "First link", "description": "A page to link to; usually a disambiguation page or the most likely other meaning.", "default": "For (disambiguation)", "type": "wiki-page-name", "required": false }, "3": { "label": "Second link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "4": { "label": "Third link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "5": { "label": "Fourth link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false } }, "format": "inline" } </templatedata> Template:Hatnote templates Template:Sandbox other Template loop detected: Template:For {{#ifeq:for |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:For
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#invoke:High-use|main|1= 149560 |2=|info=|demo=|form=|expiry=|system=}} {{#invoke:Lua banner|main}}

Usage

This template yields a hatnote similar to {{Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages. It accepts one or more parameters (zero is not allowed).

With one parameter (rare)

The first parameter sets the hatnote itself and should be plain text. Without any further parameter, it will link to a default disambiguation page for the article title, e.g. Template:Tlc yields on page Foo: Template:Hatnote

This kind of usage with exactly one parameter is rare, as in most instances {{Other uses}} (and in this case, {{About}} with the same result) can be used more easily, and without any parameter. But it makes sense in some cases for disambiguation pages with the same type of other meanings, e.g. in Treaty of Lisbon: Template:Hatnote However, for many such cases specific new templates have been implemented, like {{Other people}}, {{Other places}} etc. - see hatnote template overview box below.

With two parameters

The second parameter is used to change the resultant link, e.g. Template:Tlc yields (wherever it is set, now independent of the article title): Template loop detected: Template:For

With more parameters

The third, fourth and fifth parameters are used to give one, two, or three additional resultant links: Template loop detected: Template:For Template loop detected: Template:For Template loop detected: Template:For the last being produced by e.g. Template:Tlc.

The Template:Para option marks the entire hatnote as a Wikipedia self-reference, causing it to be omitted when the page content is reused outside of Wikipedia (see {{self reference}} and MOS:SELFREF for more details).

Tracking category

Pages with errors reported by this template are added to Category:Hatnote templates using unusual parameters.

See also

TemplateData

Template:TemplateData header <templatedata> { "description": "This template lists up to four articles on alternative meanings of a term. For further details and examples see the template documentation.", "params": { "1": { "label": "Description", "description": "a phrase describing the major alternative, or a general term for all alternative meanings", "type": "string", "required": true, "example": "other people with the surname Smith" }, "2": { "label": "First link", "description": "A page to link to; usually a disambiguation page or the most likely other meaning.", "default": "For (disambiguation)", "type": "wiki-page-name", "required": false }, "3": { "label": "Second link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "4": { "label": "Third link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "5": { "label": "Fourth link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false } }, "format": "inline" } </templatedata> Template:Hatnote templates Template:Sandbox other the last being produced by e.g. Template:Tlc.

The Template:Para option marks the entire hatnote as a Wikipedia self-reference, causing it to be omitted when the page content is reused outside of Wikipedia (see {{self reference}} and MOS:SELFREF for more details).

Tracking category

Pages with errors reported by this template are added to Category:Hatnote templates using unusual parameters.

See also

TemplateData

Template:TemplateData header <templatedata> { "description": "This template lists up to four articles on alternative meanings of a term. For further details and examples see the template documentation.", "params": { "1": { "label": "Description", "description": "a phrase describing the major alternative, or a general term for all alternative meanings", "type": "string", "required": true, "example": "other people with the surname Smith" }, "2": { "label": "First link", "description": "A page to link to; usually a disambiguation page or the most likely other meaning.", "default": "For (disambiguation)", "type": "wiki-page-name", "required": false }, "3": { "label": "Second link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "4": { "label": "Third link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false }, "5": { "label": "Fourth link", "description": "A page to link to for another meaning, if any.", "type": "wiki-page-name", "required": false } }, "format": "inline" } </templatedata> Template:Hatnote templates