Template:Infobox officeholder: Difference between revisions

simplify
(update to use template:infobox, tested in sandbox/testcases, will temporarily save old version in sandbox for comparison)
(simplify)
Line 10:
|3 = {{#if:{{{honorific-suffix|}}}|<span class="honorific-suffix" style="font-size:77%; font-weight:normal;">{{{honorific-suffix|}}}</span>}}
}}
 
{{Infobox|child=yes
| subheaderstyle = font-size:115%; font-weight:bold;
| subheader = {{#ifeq:{{lc:{{{embed}}}}}|yes||{{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{imagesize|{{{image_size|}}}}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
Line 19:
 
| caption{{#if:{{{smallimage|}}}|3|{{#if:{{{image name|}}}|2}}}} = {{{caption|}}}
 
}}
| headerstyle = background:lavender
 
Anonymous user