Difference between revisions of "Template talk:img"
Jump to navigation
Jump to search
(Created page with "Template, formatted. {{#if:{{{caption|}}}|<div style="text-align:center; font-size:80%; width:{{{2}}}px; {{#switch:{{{float}}} |left= float:left; margin-right:10px; |...") |
m |
||
| Line 1: | Line 1: | ||
Template, formatted. | Template, formatted. | ||
| + | <pre> | ||
{{#if:{{{caption|}}}|<div style="text-align:center; font-size:80%; width:{{{2}}}px; | {{#if:{{{caption|}}}|<div style="text-align:center; font-size:80%; width:{{{2}}}px; | ||
{{#switch:{{{float}}} | {{#switch:{{{float}}} | ||
| Line 17: | Line 18: | ||
}} | }} | ||
<noinclude>{{doc2}}</noinclude> | <noinclude>{{doc2}}</noinclude> | ||
| + | </pre> | ||
Revision as of 17:10, 4 September 2018
Template, formatted.
{{#if:{{{caption|}}}|<div style="text-align:center; font-size:80%; width:{{{2}}}px;
{{#switch:{{{float}}}
|left= float:left; margin-right:10px;
|none= float:none;
|#default= float:right; margin-left:10px;
}}
{{#if:{{{border|}}}|border:thin solid {{{border}}};}}">
<img src="http://wikipolitiks.local/Images/{{{1}}}" width="{{{2}}}" height="{{{3}}}"/>
{{#if:{{{caption|}}}|{{{caption}}}}}</div>
|<span style="
{{#switch:{{{float}}}
|left= float:left; margin-right:10px;
|none= float:none; margin-left:8px;
|#default= float:right; margin-left:10px;}}">
<img {{#if:{{{round|}}}|style="border-radius:50%;"}} src="http://wikipolitiks.local/Images/{{{1}}}" width="{{{2}}}" height="{{{3}}}"/></span>
}}
<noinclude>{{doc2}}</noinclude>