Template:Wide image: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary |
m (Protected "Template:Wide image" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|none= tnone" style=" | |none= tnone" style=" | ||
|#default=tnone" style="margin-left: auto; margin-right:auto; overflow:hidden; | |#default=tnone" style="margin-left: auto; margin-right:auto; overflow:hidden; | ||
}} width:{{{4}}}; max-width:{{{2}}}px;"> | }} width:{{{4}}}px; max-width:{{{2}}}px;"> | ||
<div class="thumbinner" style="{{yesno|{{{border|}}}|no=border-width:0; background:transparent;|blank=}}"><div class="overflowbugx" style="overflow:auto;{{#ifeq:{{{dir|}}}|rtl|direction:rtl;}}">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#invoke:Unstrip|unstrip|{{#switch:{{{3}}} | <div class="thumbinner" style="{{yesno|{{{border|}}}|no=border-width:0; background:transparent;|blank=}}"><div class="overflowbugx" style="overflow:auto;{{#ifeq:{{{dir|}}}|rtl|direction:rtl;}}">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#invoke:Unstrip|unstrip|{{#switch:{{{3}}} | ||
|thumb | |thumb | ||
Line 11: | Line 11: | ||
|border={{{1}}} | |border={{{1}}} | ||
|#default={{{3|}}}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption" {{#if:{{{align-cap|}}}|style="text-align:{{{align-cap}}}"}}><div class="magnify">[[:File:{{{1}}}| ]]</div>{{{3}}}</div>|}} | |#default={{{3|}}}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption" {{#if:{{{align-cap|}}}|style="text-align:{{{align-cap}}}"}}><div class="magnify">[[:File:{{{1}}}| ]]</div>{{{3}}}</div>|}} | ||
</div></div></includeonly> | </div></div></includeonly><noinclude> | ||
Use <code><nowiki>{{Wide image|name|image width|caption|box width|alignment|alt=alt text}}</nowiki></code> for this template. | |||
</noinclude> |
Latest revision as of 23:11, 19 September 2017
Use {{Wide image|name|image width|caption|box width|alignment|alt=alt text}}
for this template.