Difference between revisions of "Template talk:img"

From WikiCorporates
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
   }}
 
   }}
 
   {{#if:{{{border|}}}|border:thin solid {{{border}}};}}">
 
   {{#if:{{{border|}}}|border:thin solid {{{border}}};}}">
−
   <img src="http://wikipolitiks.local/Images/{{{1}}}" width="{{{2}}}" height="{{{3}}}"/>
+
   <img src="http://wikipolitiks.*/Images/{{{1}}}" width="{{{2}}}" height="{{{3}}}"/>
 
   {{{caption}}}</div>
 
   {{{caption}}}</div>
 
|<span style="
 
|<span style="
Line 15: Line 15:
 
   |none= float:none; margin-left:8px;
 
   |none= float:none; margin-left:8px;
 
   |#default= float:right; margin-left:10px;}}">
 
   |#default= float:right; margin-left:10px;}}">
−
   <img {{#if:{{{round|}}}|style="border-radius:50%;"}} src="http://wikipolitiks.local/Images/{{{1}}}" width="{{{2}}}" height="{{{3}}}"/></span>
+
   <img {{#if:{{{round|}}}|style="border-radius:50%;"}} src="http://wikipolitiks.*/Images/{{{1}}}" width="{{{2}}}" height="{{{3}}}"/></span>
 
}}
 
}}
 
<noinclude>{{doc2}}</noinclude>
 
<noinclude>{{doc2}}</noinclude>
 
</pre>
 
</pre>

Latest revision as of 22:28, 28 March 2019

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.*/Images/{{{1}}}" width="{{{2}}}" height="{{{3}}}"/>
  {{{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.*/Images/{{{1}}}" width="{{{2}}}" height="{{{3}}}"/></span>
}}
<noinclude>{{doc2}}</noinclude>