Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(update to use template:infobox, tested in sandbox/testcases, will temporarily save old version in sandbox for comparison)
(simplify)
Line 10: Line 10:
|3 = {{#if:{{{honorific-suffix|}}}|<span class="honorific-suffix" style="font-size:77%; font-weight:normal;">{{{honorific-suffix|}}}</span>}}
|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;
| subheaderstyle = font-size:115%; font-weight:bold;
| subheader = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
| 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}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{imagesize|{{{image_size|}}}}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
Line 19: Line 19:


| caption{{#if:{{{smallimage|}}}|3|{{#if:{{{image name|}}}|2}}}} = {{{caption|}}}
| caption{{#if:{{{smallimage|}}}|3|{{#if:{{{image name|}}}|2}}}} = {{{caption|}}}

}}
| headerstyle = background:lavender
| headerstyle = background:lavender



Revision as of 18:10, 27 August 2015