• Home
  • Random
  • Log in
  • Settings
  • About Azupedia
  • Disclaimers
Azupedia

Template:For

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
For the template to create a for loop, see Template:For loop.
この記事は、クリエイティブ・コモンズ・表示・継承ライセンス3.0のもとで公表されたウィキペディアの項目Template:Forを素材として二次利用しています。
Lua error in Module:Itemnumber at line 91: attempt to concatenate local 'qid' (a nil value).
Lua logoLuaModuleを使用しています:
  • Module:For

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

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. {{For|other entities}} yields on page Foo:

For other entities, see Foo (disambiguation).

The second parameter is used to change the resultant link, e.g. {{For|the acronym|FOO}} yields (wherever it is set, now independent of the article title):

For the acronym, see FOO.

The third, fourth and fifth parameters are used to give one, two, or three additional resultant links:

For similar terms, see Foobar and Bar.
For similar terms, see Foobar, Bar, and Baz.
For similar terms, see Foobar, Bar, Baz, and Quux.

the last being produced by e.g. {{For|similar terms|Foobar|Bar|Baz|Quux}}.

Tracking category

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

See also

  • {{About}}
  • {{For2}}
  • {{See also}}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for For

This template lists up to four articles on alternative meanings of a term. For further details and examples see the template documentation.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Description1

a phrase describing the major alternative, or a general term for all alternative meanings

Example
other people with the surname Smith
Stringrequired
First link2

A page to link to; usually a disambiguation page or the most likely other meaning.

Default
{{PAGENAME}} (disambiguation)
Page nameoptional
Second link3

A page to link to for another meaning, if any.

Page nameoptional
Third link4

A page to link to for another meaning, if any.

Page nameoptional
Fourth link5

A page to link to for another meaning, if any.

Page nameoptional
  • v
  • t
  • e
Hatnote templates
  • Wikipedia:Hatnote
  • Wikipedia:Disambiguation
  • Wikipedia:Redirect
Generic
  • {{Hatnote}}
  • {{Selfref}} (for self-references)
For and about
  • {{For}}
  • {{For-text}} (for custom text)
  • {{For multi}} (for multiple uses)
  • {{About}}
  • Variations: {{Other uses}}
  • {{Other uses of}}
  • {{Redirect-distinguish-for}}
  • {{About-distinguish}}
  • {{About-distinguish-text}}
Other topics
  • {{Other people}}
  • {{About other people}} (adds "about" description)
  • {{Similar names}}
  • {{Other places}}
  • {{Other ships}}
  • {{Other hurricanes}}
Redirect
  • {{Redirect}}
  • {{Redirect2}} (for two redirects)
  • {{Redirect-multi}} (for multiple redirects)
  • {{Redirect-several}} (for several redirects, without listing each)
  • {{Redirect-synonym}}
  • {{Redirect-distinguish}}
  • {{Redirect-distinguish-text}}
  • {{Redirect-distinguish-for}}
  • {{Technical reasons}}
Distinguish
  • {{Distinguish}} (supports custom text too)
  • {{Redirect-distinguish}}
  • {{Redirect-distinguish-text}} (for custom text)
  • {{Redirect-distinguish-for}}
  • {{About-distinguish}}
  • {{About-distinguish-text}} (for custom text)
For use in sections
  • {{Main}}
  • {{Further}}
  • {{Further-text}} (for custom text)
  • {{Further ill}}
  • {{See also}}
  • {{See also if exists}}
  • {{For outline}}
  • {{For timeline}}
Special
  • {{Broader}}
  • {{See introduction}}
  • {{See Wiktionary}}
  • {{Transcluding article}}
  • {{Transcluded section}}
Subject specific
  • {{Year dab}}
  • {{Highway detail hatnote}}
  • {{For LMST}}
  • {{WikiIPA}}
  • カテゴリ Category:Hatnote templates
    • modules
    • for [family] names
    • for lists
  • hatnote templates for category pages
The above documentation is transcluded from Template:For/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://wiki.tiffa.net/w/index.php?title=Template:For&oldid=750"
Last edited on 31 January 2021, at 21:20

Languages

      This page is not available in other languages.

      Azupedia
      • This page was last edited on 31 January 2021, at 21:20.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Azupedia
      • Disclaimers
      • Desktop