Jump to content

Template:Disamb/doc: Difference between revisions

From SeptemWiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Including this template adds a page to the category for disambiguation pages, and displays the banner about disambiguation.
Including this template adds a page to the category for disambiguation pages, and displays the banner about disambiguation.


If the {{c|text}} parameter is used, that is what is displayed as the first line of the banner.
If the {{c|text}} parameter is used, that is what is displayed as the first line of the banner:
 
{{disamb|text=Let me tell you about disambiguation.}}


If the {{c|title}} parameter is used, the default message is used, and will say "... lists articles associated with the title '''{{c|title}}'''".
If the {{c|title}} parameter is used, the default message is used, and will say "... lists articles associated with the title '''{{c|title}}'''".
{{disamb|title=Your friendly neighborhood Spider-Man}}


If neither is used, the default message is used, and the title is determined by removing {{c|" (disambiguation)"}} from the page title.
If neither is used, the default message is used, and the title is determined by removing {{c|" (disambiguation)"}} from the page title.


If the {{c|nowarn{{=}}yes}} option is used, the second line is suppressed.
If the {{c|nowarn{{=}}yes}} option is used, the line about "If an internal link led you here" is suppressed.
 
{{disamb|text=I suppressed the warning, but I did not shoot the deputy.|nowarn=yes}}
 
If the {{c|image}} parameter is used, it will replace the default image.  If the parameter is set to {{c|none}}, there will be no left-side image.
 
{{disamb|image=none}}
 
{{disamb|image=[[File:Imperial arms.png|30px]]}}
 
An image may be added on the right by including a {{c|imageright}} parameter.
 
{{disamb|imageright=[[File:Imperial arms.png|30px]]}}

Latest revision as of 19:41, 9 April 2016

Including this template adds a page to the category for disambiguation pages, and displays the banner about disambiguation.

If the text parameter is used, that is what is displayed as the first line of the banner:


If the title parameter is used, the default message is used, and will say "... lists articles associated with the title title".


If neither is used, the default message is used, and the title is determined by removing " (disambiguation)" from the page title.

If the nowarn=yes option is used, the line about "If an internal link led you here" is suppressed.


If the image parameter is used, it will replace the default image. If the parameter is set to none, there will be no left-side image.



An image may be added on the right by including a imageright parameter.