Jump to content

Template:For-multi/doc

From Wikipedia

{{For-multi}} na hatnote template wey dey produce list of different uses for the article title and link go articles about those uses. E be like {{For}}, but the main difference be say this template fit list plenty uses while still linking to more than one article for each use. E almost be the same as {{About}}, but e no get the "about" phrase for the beginning.

0 parameters

[edit source]

If you no provide any parameter, this template go work exactly like {{Other uses}}. Better make you use that template because e explain the output more clearly.

The output with zero parameter {{For-multi}} be:

Comparison with other templates:

This na the same thing as using {{Other uses}}: Template:Other uses

One or two parameters

[edit source]

If you provide one or two parameters, this template go work exactly like {{For}}. Better make you use {{For}} because the "multi" feature no dey needed.

1 Parameter

[edit source]

With one parameter, {{For-multi|UseA}} produce:

Comparison with other templates:

This one exactly be the same as {{For}}. Example, {{For|UseA}} produce:

2 Parameters

[edit source]

With two parameters, {{For-multi|UseA|ArticleA}} produce:

Comparison with other templates:

This one exactly be the same as {{For}}. Example, {{For|UseA|ArticleA}} produce:

3 or more parameters

[edit source]

If you provide three or more parameters, this template fit show multiple different uses. Functionally e be the same as {{About}}, but e no get the "about" sentence for the beginning. According to WP:HNS, na the editor go decide whether e better use {{For-multi}} or {{About}}, depending on which one go clearer for readers.

With three parameters, the output of

{{For-multi|UseA|ArticleA|UseB}}

be:

With four parameters, the output of

{{For-multi|UseA|ArticleA|UseB|ArticleB}}

be:

Comparison with other templates:

The output of {{For-multi|UseA|ArticleA|UseB}} no be the same as {{For}} with three parameters. Example, {{For|UseA|ArticleA|ArticleB}} produce:

As you fit see, {{For-multi}} fit show more than one use, unlike {{For}}. {{About}} fit also produce the same output, but e go add one "about" phrase for the beginning. Example, {{About|About|UseA|ArticleA|UseB}} produce:

Technically, you fit use {{About}} with empty first parameter, but people no recommend am because the wikitext Template:((About||UseA|ArticleA|UseB}} no make am clear wetin the output go be, and the template name "About" fit confuse person. If you use am that way, e go look like this:

More than one article for one use

[edit source]

You fit add more than one article under the same use by putting parameter wey get value and between the article names. Example, this wikitext

{{For-multi|UseA|ArticleA|and|ArticleB|and|ArticleC|UseB|ArticleD|and|ArticleE}}

go produce:

Last parameter

[edit source]

If the last parameter na one "use", the template go automatically add link to the current article name plus "(disambiguation)" for the end. Example,

{{For-multi|UseA|ArticleA|UseB}}

go produce:

The example above go create link to the current page name (without namespace) plus "(disambiguation)".

Tracking categories

[edit source]

TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:For-multi in articles based on its TemplateData.

TemplateData for For-multi

This template list plenty other uses for the title and link go articles about those uses. Check the documentation for more details about how to use am and available alternatives.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Other use 11

The first other use of the title. If e blank or no dey, e go default to "For other uses" and ignore parameters from 3 onward.

Stringrequired
Other page 12

Title of the first other page. If e no dey, e go default to "[page title] (disambiguation)".

Page namerequired
Other use 23

The second other use of the title. If e blank or no dey, e go default to "For other uses" and ignore parameters from 5 onward.

Stringrequired
Other page 24

Title of the second other page. If e blank or no dey and parameter 3 exist, e go default to "[page title] (disambiguation)".

Page nameoptional
Other use 35

The third other use of the title. If e blank or no dey, e go default to "For other uses" and ignore parameters from 7 onward.

Stringoptional
Other page 36

Title of the third other page. If e blank or no dey and parameter 5 exist, e go default to "[page title] (disambiguation)".

Page nameoptional
Other use 47

The fourth other use of the title. If e blank or no dey, e go default to "For other uses".

Stringoptional
Other page 48

Title of the fourth other page. If e blank or no dey and parameter 7 exist, e go default to "[page title] (disambiguation)".

Page nameoptional

See also

[edit source]

Template:Hatnote templates