Template:Disamb: Difference between revisions
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | <table id="disambigbox" class="metadata plainlinks dmbox dmbox-disambig" style="{{{style|}}}" role="presentation"> | ||
| | <tr> | ||
{{#ifeq:{{{image|}}}|none | |||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td> | |||
| | | <td class="mbox-image" style="padding: 2px 0 2px 0.4em;"> {{#if:{{{image|}}} | ||
| {{{image}}} | |||
| [[File:Disambiguation.png|30px|alt=Disambiguation icon]] | |||
}}</td> | |||
}} | }} | ||
<td class="mbox-text" style="padding: 0.25em 0.25em; font-style: italic; {{{textstyle|}}}"> | |||
<p style="margin: 0.25em;"> | |||
{{#if:{{{text|}}} | |||
|{{{text}}} | |||
|This disambiguation page lists articles associated with the title | |||
'''{{#if:{{{title|}}} | |||
|{{{title}}} | |||
|{{Str rep|{{FULLPAGENAME}}| (disambiguation)|}}}}.''' | |||
}}{{#if:{{{nowarn|}}}| | |||
|<br><small>If an [{{fullurl:Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article.</small>}} | |||
</p></td> | |||
{{#if:{{{imageright|}}} | |||
| <td class="mbox-imageright" style="padding: 2px 0.4em 2px 0;"> {{{imageright}}} </td> | |||
}} | |||
</tr></table> | |||
{{main other|[[Category:Disambiguation pages]]|}}<noinclude>{{Documentation}}</noinclude> | {{main other|[[Category:Disambiguation pages]]|}}<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 19:33, 9 April 2016
![]() |
This disambiguation page lists articles associated with the title
Script error: No such module "String".. |
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:
![]() |
Let me tell you about disambiguation. |
If the title
parameter is used, the default message is used, and will say "... lists articles associated with the title title
".
![]() |
This disambiguation page lists articles associated with the title
Your friendly neighborhood Spider-Man. |
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.
![]() |
I suppressed the warning, but I did not shoot the deputy. |
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.
This disambiguation page lists articles associated with the title
Script error: No such module "String".. |
![]() |
This disambiguation page lists articles associated with the title
Script error: No such module "String".. |
An image may be added on the right by including a imageright
parameter.
![]() |
This disambiguation page lists articles associated with the title
Script error: No such module "String".. |
![]() |
Pages that use this Template
|
Templates that use this Template
|