Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:For-multi/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} {{High-use}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Lua|Module:Hatnote|Module:Hatnote list}} {{tlx|For-multi}} is a hatnote template that produces a list of alternative uses for the title of the article and links to articles about those uses. It is similar to {{tlx|For}} with the primary difference being this template allows multiple uses to be listed while still being able to link to multiple articles per use. It is essentially the same as {{tlx|About}} but without the about clause at the start. ==Usage== ===0 parameters=== When no parameters are provided, this template functions the exact same as {{tlx|Other uses}}. It is preferred to use that template as it more clearly explains the output of the function. The output with zero parameter {{tlc|For-multi}} is: {{For-multi}} '''Comparison to other templates''': This is the same as using {{tlx|Other uses}}: {{Other uses}} ===One or two parameters=== When one or two parameters are provided, this template functions the exact same as {{tlx|For}}. It is preferred to use that template as the "multi" functionality of this template is not required. ====1 Parameter==== With one parameter, {{tlx|For-multi|UseA}} yields: {{For-multi|UseA}} '''Comparison to other templates''': This is identical to passing the same arguments to {{tlx|For}}. For example, {{tlx|For|UseA}} yields: {{For|UseA}} ====2 Parameters==== With two parameters, {{tlx|For-multi|UseA|ArticleA}} yields: {{For-multi|UseA|ArticleA}} '''Comparison to other templates''': This is identical to passing the same arguments to {{tlx|For}}. For example, {{tlx|For|UseA|ArticleA}} yields: {{For|UseA|ArticleA}} ===3 or more parameters=== When three or more parameters are provided, this template can be used. Functionally, it is the same as {{tlx|About}}, but without the about clause at the beginning. Per the guideline at [[wikipedia:WP:HNS]], it is up to the editor to decide whether or not the hatnote should contain a brief summary (i.e. whether or not the hatnote should use {{tlx|For-multi}} or {{tlx|About}}) based on their preference and what is likely to be clearer and easier for the reader. With three parameters, the output of :{{tlx|For-multi|UseA|ArticleA|UseB}} is: {{For-multi|UseA|ArticleA|UseB}} With four parameters, the output of :{{tlx|For-multi|UseA|ArticleA|UseB|ArticleB}} is: {{For-multi|UseA|ArticleA|UseB|ArticleB}} '''Comparison to other templates''': The output of {{tlx|For-multi|UseA|ArticleA|UseB}} is different from {{tlx|For}} provided with three parameters where {{tlx|For|UseA|ArticleA|ArticleB}} yields: {{For|UseA|ArticleA|ArticleB}} As you can see, this function is able to output multiple uses, unlike {{tlx|For}}. {{tlx|About}} also produces the same output, but with an about clause at the beginning. For example, {{tlx|About|About|UseA|ArticleA|UseB}} yields: {{About|About|UseA|ArticleA|UseB}} Technically, {{tlx|About}} can be used by passing an empty first parameter, but this isn't recommended as the wikitext <code>{{((}}About||UseA|ArticleA|UseB}}</code> doesn't make it clear what the output is going to be and what the purpose of the template is as, in this case, the name of the template "About" is misleading. Using it this way would look like: {{About||UseA|ArticleA|UseB}} ====Multiple articles per use==== Multiple articles can be used per use by putting a parameter with the content <code>and</code> between them. For example, the wikitext <!-- formerly: <code>{{((}}For-multi|UseA|ArticleA|and|ArticleB|and|ArticleC|UseB|ArticleD|and|ArticleE}}</code> --> :{{tlx|For-multi|UseA|ArticleA|and|ArticleB|and|ArticleC|UseB|ArticleD|and|ArticleE}} yields: {{For-multi|UseA|ArticleA|and|ArticleB|and|ArticleC|UseB|ArticleD|and|ArticleE}} ====Last parameter==== When the last parameter is a "use", the current article plus (disambiguation) will be linked to at the end of the template. For example, :{{tlx|For-multi|UseA|ArticleA|UseB}} yields: {{For-multi|UseA|ArticleA|UseB}} The above example produces a link to the PAGENAME (no namespace) at the end. == TemplateData == {{TemplateData header}} <templatedata> { "description": "This template lists multiple other uses for the title and links to articles about those uses. See the documentation for more information on usage and alternatives.", "params": { "1": { "label": "Other use 1", "type": "string", "description": "What the first other use of the title is. If unused or blank, defaults to \"For other uses\" and ignores parameters 3ff.", "required": true }, "2": { "label": "Other page 1", "type": "wiki-page-name", "description": "The title of the first other page. If unused, defaults to \"[page title] (disambiguation)\".", "required": true }, "3": { "label": "Other use 2", "type": "string", "description": "What the second other use of the title is. If unused or blank, defaults to \"For other uses\" and ignores parameters 5ff.", "required": true }, "4": { "label": "Other page 2", "type": "wiki-page-name", "description": "The title of the second other page. If unused or blank and parameter 3 exists, defaults to \"[page title] (disambiguation)\"." }, "5": { "label": "Other use 3", "type": "string", "description": "What the third other use of the title is. If unused or blank, defaults to \"For other uses\" and ignores parameters 7ff." }, "6": { "label": "Other page 3", "type": "wiki-page-name", "description": "The title of the third other page. If unused or blank and parameter 5 exists, defaults to \"[page title] (disambiguation)\"." }, "7": { "label": "Other use 4", "type": "string", "description": "What the fourth other use of the title is. If unused or blank, defaults to \"For other uses\"." }, "8": { "label": "Other page 4", "type": "wiki-page-name", "description": "The title of the fourth other page. If unused or blank and parameter 7 exists, defaults to \"[page title] (disambiguation)\"." } }, "format": "inline" } </templatedata> ==See also== * [[:Category:Disambiguation and redirection templates]] * {{tl|Disambiguation}} β for helping readers find other articles with the same or similar names. Placed at the bottom of the article. * {{tl|For}} β hatnote linking to multiple articles or disambiguation pages; e.g. ''For similar terms, see ArticleA, ArticleB, and ArticleC.'' * {{tl|Other uses}} β hatnote linking to a disambiguation pages; e.g. ''For other uses, see Target (disambiguation).'' * {{tl|Redirect}} β for linking to disambiguation pages in an article that is [[wikipedia:WP:PRIMARYREDIRECT|the primary topic of a redirect]] * {{tl|WikiProject Disambiguation}} β for disambig talkpages * [[Wikipedia:Hatnote]] {{Hatnote templates}} <includeonly>{{sandbox other|| <!-- Categories below this line; interwikis at Wikidata --> [[Category:Disambiguation and redirection templates]] [[Category:Hatnote templates]] }}</includeonly>
Summary:
Please note that all contributions to Red Letter Media Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RLMWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:((
(
edit
)
Template:About
(
edit
)
Template:Dir
(
edit
)
Template:Documentation subpage
(
edit
)
Template:For
(
edit
)
Template:For-multi
(
edit
)
Template:For-multi/doc
(
edit
)
Template:Hatnote
(
edit
)
Template:Hatnote templates
(
edit
)
Template:High-use
(
edit
)
Template:Hlist/styles.css
(
edit
)
Template:Icon
(
edit
)
Template:Lua
(
edit
)
Template:Mbox
(
edit
)
Template:Mbox/styles.css
(
edit
)
Template:Navbox
(
edit
)
Template:Nowrap
(
edit
)
Template:Other uses
(
edit
)
Template:Sandbox other
(
edit
)
Template:Strong
(
edit
)
Template:TemplateData header
(
edit
)
Template:Template link
(
edit
)
Template:Template link code
(
edit
)
Template:Template link expanded
(
edit
)
Template:Template other
(
edit
)
Template:Template parameter usage
(
edit
)
Template:Terminate sentence
(
edit
)
Template:Tl
(
edit
)
Template:Tlc
(
edit
)
Template:Tlx
(
edit
)
Template:Yesno
(
edit
)
Template:Yesno-no
(
edit
)
Module:About
(
edit
)
Module:Arguments
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:For
(
edit
)
Module:Format link
(
edit
)
Module:Hatnote
(
edit
)
Module:Hatnote/styles.css
(
edit
)
Module:Hatnote list
(
edit
)
Module:High-use
(
edit
)
Module:Icon
(
edit
)
Module:Icon/data
(
edit
)
Module:List
(
edit
)
Module:Lua banner
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Navbar
(
edit
)
Module:Navbar/configuration
(
edit
)
Module:Navbar/styles.css
(
edit
)
Module:Navbox
(
edit
)
Module:Navbox/configuration
(
edit
)
Module:Navbox/styles.css
(
edit
)
Module:Other uses
(
edit
)
Module:Pagetype
(
edit
)
Module:Pagetype/config
(
edit
)
Module:Pagetype/rfd
(
edit
)
Module:Pagetype/softredirect
(
edit
)
Module:String
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Module:Text
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/F
(
edit
)
Module:Wikitext Parsing
(
edit
)
Module:Yesno
(
edit
)
Toggle limited content width