Template:Disambig/doc: Difference between revisions

From Mistipedia
Jump to navigationJump to search
Gonzoron (talk | contribs)
cleaning up detritus in templates imported from wikipedia
Gonzoron (talk | contribs)
No edit summary
 
Line 11: Line 11:
=== Page title fix ===
=== Page title fix ===


In the event that the page title is causing an error, such as <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=%2A%2A%2A&oldid=171348746 what happened]</span> at ''[[***]]'', add the parameter: '''<code>{{para|page-title |<var> page title</var>}}</code>''' . Thus, the [[***]] page would use the syntax: '''<code><nowiki>{{disambig |page-title = ***}}</nowiki></code>''' .
In the event that the page title is causing an error, add the parameter: '''<code>{{para|page-title |<var> page title</var>}}</code>''' . Thus, the <nowiki>[[***]]</nowiki> page would use the syntax: '''<code><nowiki>{{disambig |page-title = ***}}</nowiki></code>''' .





Latest revision as of 12:32, 18 November 2013

Template:Helpbox This is the {{disambig}} template.

Important: Please do not SUBST: this template.

This is a general-purpose template, to be placed at the bottom of any article that exists to help readers find other articles with the same or similar names. This concept is called disambiguation and is used with many common words, such as cross, life and work. This template automatically adds articles to the Category:Disambiguation pages.

Page title fix

In the event that the page title is causing an error, add the parameter: |page-title = page title . Thus, the [[***]] page would use the syntax: {{disambig |page-title = ***}} .


Alternative names

For those who can't remember how this template's name is abbreviated, the {{disambiguation}}, {{disamb}} and {{dab}} templates all redirect to {{disambig}}.

Technical details

Internally this template uses {{dmbox}}. That template categorises pages into Category:All disambiguation pages and Category:All article disambiguation pages.

This template uses {{disambig/cat}} to handle the categorisation parameters such as "hospital" and "school".

See also

  • {{dablink}} – Basic article hatnote, see templates (example usage) for the full hatnote index.
  • {{dn}} – Adds an inline "disambiguation needed" tag to an ambiguous link within an article.