Difference between revisions of "Template:Disambig"

561 bytes added ,  15:12, 3 February 2009
m
1 revision
(Importing image file)
 
m (1 revision)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}} <!-- first parameter inserts a <div> with a left, right or central float -->
{{dmbox
| left = <div class="thumb tleft">
| type = disambig
| right = <div class="thumb tright">
| text = This [[Wikipedia:Disambiguation|disambiguation]] page lists articles associated with the same title. 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.
| center|centre = <div class="center"><div class="thumb tnone">
}}{{main other
| #default = <div class="thumb tright">
| [[Category:Disambiguation pages]]
}}<div class="thumbinner" style="width:{{#expr: {{{3|0}}} + {{{5|0}}} + 8}}px;">  <!-- calculate width based on image widths +8px -->
| <!-- Don't categorise when not in main (article) space. -->
{| style="background: transparent; border: 0; padding: 0; margin: 0; width:{{#expr: {{{3|0}}} + {{{5|0}}} + 4}}px;" cellspacing="0"
}}<noinclude>
|-
 
| style="padding: auto; margin: 0;" class="thumbimage" | [[Image:{{{2}}}|{{{3}}}px|{{{6|}}}]]  <!-- image 1 -->
{{pp-template|small=yes}}
| style="padding: 0; margin: 0; border: 0; width: 2px" |
{{documentation}}
| style="padding: auto; margin: 0;" class="thumbimage" | [[Image:{{{4}}}|{{{5}}}px|{{{6|}}}]] <!-- image 2 -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
|- style="vertical-align:top;"
</noinclude>
{{#if: {{{7|}}} |   <!-- two captions if the seventh param (caption for title two) is specified -->
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}} <div class="thumbcaption">{{{6|}}}</div>
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}}
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}} <div class="thumbcaption">{{{7|}}}</div>
|  <!-- otherwise just have one caption underneath both images -->
{{!}} style="padding: 0; margin: 0; border: 0;" colspan="3" {{!}} <div class="thumbcaption">{{{6|}}}</div>
}}
|}
</div>
{{#switch: {{{1|}}}  <!-- as central image float needs two divs, need to close two for center and only one for left/right -->
| center|centre = </div></div>
| </div>
}}</includeonly><noinclude>{{documentation}}</noinclude>
Budlight
Bots, Bureaucrats, Administrators
529

edits