Difference between revisions of "Reding Family/Test Page"

From BattleMaster Wiki
Jump to navigation Jump to search
(Replaced content with "<includeonly><div class="thumb tnone" style="clear:both"><div class="thumbinner"><div class="overflowbugx" style="overflow: auto; {{#ifeq:{{{dir|}}}|rtl|direction: rtl;}}"...")
Line 1: Line 1:
<includeonly><div class="thumb tnone" style="clear:both"><div class="thumbinner"><div class="overflowbugx" style="overflow: auto; {{#ifeq:{{{dir|}}}|rtl|direction: rtl;}}">[[{{{image}}}|{{#if:{{{height|}}}|x{{{height}}}px}}|alt={{{alt|}}}]]</div>{{#if:{{{caption|}}}|<div class="thumbcaption">{{magnify icon|link=:{{{image}}} }}<!-- -->{{{caption|}}}</div>}}</div></div></includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly><div class="thumb {{#switch:{{{5}}}
 +
|left= tleft" style="
 +
|right= tright" style="
 +
|none= tnone" style="
 +
|#default=tnone" style="margin-left: auto; margin-right:auto;
 +
}} width:{{{4|99%}}}; max-width:{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}} + 8}}px;">
 +
<div class="thumbinner"><div class="overflowbugx" style="overflow:auto;{{#ifeq:{{{dir|}}}|rtl|direction:rtl;}}">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#switch:{{{3}}}
 +
|thumb
 +
|thumbnail
 +
|frame
 +
|border={{{1}}}
 +
|#default={{{3|}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption">{{Magnify icon|link=File:{{{1}}} }}<!-- -->{{{3}}}</div>|}}
 +
</div></div></includeonly><noinclude>
 +
{{documentation}}
 +
<!-- If you copy this template, you need to add the overflowx and overflowy CSS classes to your global CSS for Internet Explorer users. On the English Wikipedia, these are conditionally loaded by [[MediaWiki:Common.js]] -->
 +
<!-- Add categories to the /doc subpage, not here! -->
 +
</noinclude>

Revision as of 19:57, 3 August 2014

Template-info.svg Template Documentation
This documentation is transcluded from Template:Reding Family/Test Page/doc.

ExamplesSandbox

Template:Reding Family/Test Page/doc