• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:For-text/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:For-text
For {{{1}}}, see {{{2}}}.
This is the template sandbox page for Template:For-text (diff).
Template documentation[view] [edit] [history] [purge]

Contents

  • 1 Usage
    • 1.1 With one topic
    • 1.2 With more than one topic
    • 1.3 Wikilinks and capitalization
  • 2 TemplateData

Usage

edit

Modelled after {{for}}, {{for-text}} was created to allow custom text, including such modifications as quotation marks or a link, as part of both a topic and its suggested article.

Note: you must supply any formatting manually (unlike {{For}}, parameters aren't automatically bluelinked)

With one topic

edit
  • {{For-text|TOPIC|CUSTOM TEXT}} →
    For TOPIC, see CUSTOM TEXT.

With more than one topic

edit

This template also supports up to five topics and their suggested articles:

  • {{For-text|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2}} →
    For TOPIC, see CUSTOM TEXT. For TOPIC 2, see CUSTOM TEXT 2.
  • {{For-text|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2|TOPIC 3|CUSTOM TEXT 3|TOPIC 4|CUSTOM TEXT 4|TOPIC 5|CUSTOM TEXT 5}} →
    For TOPIC, see CUSTOM TEXT. For TOPIC 2, see CUSTOM TEXT 2. For TOPIC 3, see CUSTOM TEXT 3. For TOPIC 4, see CUSTOM TEXT 4. For TOPIC 5, see CUSTOM TEXT 5.

Wikilinks and capitalization

edit

Style note: When the context around a wikilink discusses the destination article itself (e.g., For more information, see Xyz; Main article: Xyz; This is discussed in Xyz) rather than the topic of that article (e.g., Tailors often use xyz on their clients' pants), use the capitalization of the article's title in the wikilinked text: [[Xyz]]. The same applies to subheadings: [[Xyz#PDQ|Xyz § PDQ]].

TemplateData

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

TemplateData for For-text

This template lists up to five 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
First description1

A phrase describing an alternative meaning

Default
other uses
Example
other people with the surname Smith
Stringrequired
First link2

A phrase including a wikilink to the first alternative meaning.

Example
[[Smith (surname)]]
Stringrequired
Second description3

A phrase describing another meaning, if any

Example
people with the given name Smith
Stringoptional
Second link4

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

Example
[[Smith (given name)]]
Stringoptional
Third description5

A phrase describing another meaning, if any

Stringoptional
Third link6

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

Stringoptional
Fourth description7

A phrase describing another meaning, if any

Stringoptional
Fourth link8

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

Stringoptional
Fifth description9

A phrase describing another meaning, if any

Stringoptional
Fifth link10

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

Stringoptional
  • v
  • t
  • e
Hatnote templates
  • Wikipedia:Hatnote
  • Wikipedia:Disambiguation
  • Wikipedia:Redirect
Generic
  • {{Hatnote}}
  • {{Hatnote group}}
  • {{Self-reference}}
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 storms}}
  • {{Other stars by Bayer designation}}
  • {{Other places}}
  • {{Other ships}}
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)
  • {{About-distinguish}}
  • {{About-distinguish-text}} (for custom text)
  • {{Redirect-distinguish}}
  • {{Redirect-distinguish-text}} (for custom text)
  • {{Redirect-distinguish-for}}
For use in sections
  • {{Main}}
  • {{Main if exists}}
  • {{Main list}}
  • {{Further}}
  • {{Further-text}} (for custom text)
  • {{Further interlanguage link}}
  • {{See also}}
  • {{See also-text}} (for custom text)
  • {{For outline}}
  • {{For timeline}}
Special
  • {{Broader}}
  • {{For introduction}}
  • {{See Wiktionary}}
  • {{Transcluding article}}
  • {{Transcluded section}}
Subject specific
  • {{About year}}
  • {{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-text/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:For-text/sandbox&oldid=1273486358"
Last edited on 2 February 2025, at 14:55

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 2 February 2025, at 14:55 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop