Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(made change per talk request)
(add "class=dummy" for placeholder images (see Talk))
Line 5: Line 5:
<!----------Image---------->
<!----------Image---------->
{{#if:{{{image|}}} |<!--then:-->
{{#if:{{{image|}}} |<!--then:-->
{{!}}colspan="2" style="text-align:center;"{{!}} [[Image:{{{image}}}|{{#ifeq:{{{image|}}}|Replace this image1.svg|150px|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|{{{width|225}}}x{{{height|250px}}}|}}}}|{{PAGENAME}}]]<br/>
{{!}}colspan="2" style="text-align:center;"{{!}} <span {{#switch:{{{image}}}|Replace this image male.svg|Replace this image female.svg|Replace this image1.svg|Replace this imageb.svg=class=dummy}}>[[Image:{{{image}}}|{{#ifeq:{{{image|}}}|Replace this image1.svg|150px|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|{{{width|225}}}x{{{height|250px}}}|}}}}|{{PAGENAME}}]]</span><br/>
<small>{{{caption|}}}</small>
<small>{{{caption|}}}</small>
{{!-}}
{{!-}}