Template

Difference between revisions of "For"

From Joomla! Documentation

m (try to make translate extension friendly)
m (language solution)
Line 1: Line 1:
{{dablink|For <em>{{{1}}}</em>, see [[:S:MyLanguage/{{{2|{{PAGENAME}} (disambiguation)}}}|{{{2|{{PAGENAME}} (disambiguation)}}}]]{{#if:{{{3|}}}|&#32;and [[:S:MyLanguage/{{{3|{{PAGENAME}} (disambiguation)}}}|{{{3|{{PAGENAME}} (disambiguation)}}}]]}}.}}<noinclude>{{pp-template|small=yes}}
+
{{dablink|[[File:Info_non-talk.png|20px]] <em>{{{1}}}</em>, see [[:S:MyLanguage/{{{2|{{PAGENAME}} (disambiguation)}}}|{{{2|{{PAGENAME}} (disambiguation)}}}]]{{#if:{{{3|}}}|&#32;and [[:S:MyLanguage/{{{3|{{PAGENAME}} (disambiguation)}}}|{{{3|{{PAGENAME}} (disambiguation)}}}]]}}.}}<noinclude>{{pp-template|small=yes}}
 
{{documentation|Template:otheruses templates}}</noinclude>
 
{{documentation|Template:otheruses templates}}</noinclude>

Revision as of 15:20, 16 July 2014

[view] [edit] [history]

Template-info.pngTemplate documentation

Otheruses templates[edit]

To discuss these templates as a whole, please see Project talk:Disambiguation If you wish to discuss general wordings, rather than the wording or formatting of this specific template, don't post here, or else what you say will probably go unnoticed.

For a summary page on how to use these templates, see Project:Otheruses templates (example usage).

Generic[edit]

For example, {{dablink|For other senses of this term, see [[etc...]]}}. This template is adaptable, but fails to standardize hatnotes.
TEXT
(Similar to dablink, but used for messages that wouldn't make sense on printed copies or (localized) mirrors of this wiki, such as a link in the main article namespace that links to one in the Joomla! Documentation Namespaces. See Project:Avoid self-references for more details.)

Otheruses[edit]

Note: All of these templates are special cases of {{Otheruses4}}

  • {{otheruses4|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}} (fully specified):
When there are as many other uses as in the last example, it would be more appropriate to create a disambiguation page. Like all templates, it works with or without an initial capital letter; in addition, the word 'otheruses4' can be also replaced by 'about'.
  • {{This|PAGE1}} (disambiguous):
  • {{This|PAGE1|PAGE2}} (disambiguous):
  • {{otheruses5}}: (this is for when there are both a singular and plural disambiguation page; only works when the plural is formed simply by adding "s" at the end.)
  • {{otheruses6|PAGE1|PAGE2}}: (for when there are two disambiguation pages, such as noun and adjective, or singular and irregular plural; there are only two parameters, they are required, and they do not auto-add "(disambiguation)")

For (other topic)[edit]

Note: {{otheruses4}} ({{about}} is a convenient redirect) can often be used instead of {{for}}; you just have to add an empty first parameter (e.g. {{For|OTHER TOPIC|PAGE}} becomes {{About||OTHER TOPIC|PAGE}}

Otherusesof (topic)[edit]

Redirect[edit]

Some examples:

"Not to be confused with"...[edit]

Notes[edit]

Do not use subst: with these templates, as that will prevent:

  1. propagating changes as the template is modified; and
  2. the What links here listing.

DO NOT EDIT THESE TEMPLATES UNLESS YOU KNOW WHAT YOU ARE DOING

These templates may be used in thousands of articles, and changing the syntax could therefore break thousands of articles. If you wish to edit a disambiguation template first ask yourself:

  1. Is there already another template that will do this job? We have lots of disambiguation templates already, see Category:Disambiguation and redirection templates.
  2. Do I really need a template for this? Will it ever get used on any other articles, or should I just use {{dablink}} instead?
  3. Do I know what will happen if I change the parameters around? Will it break existing uses of the template, and if so, can I fix them all?