Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(rem xml:lang- no longer passed by MediaWiki, but automatically added when lang is defined)
(use #invoke:InfoboxImage)
Line 2: Line 2:
<includeonly>! colspan=2 class="n" style="text-align: center; font-size: 125%;"|{{#if:{{{honorific-prefix|}}}|<span class="honorific-prefix" style="font-size:87%">{{{honorific-prefix|}}}</span><br />}}<span class="fn">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{honorific-suffix|}}}|<br /><span class="honorific-suffix" style="font-size:87%">{{{honorific-suffix|}}}</span>}}{{#if:{{{native_name|}}}|<br /><span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}</includeonly>
<includeonly>! colspan=2 class="n" style="text-align: center; font-size: 125%;"|{{#if:{{{honorific-prefix|}}}|<span class="honorific-prefix" style="font-size:87%">{{{honorific-prefix|}}}</span><br />}}<span class="fn">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{honorific-suffix|}}}|<br /><span class="honorific-suffix" style="font-size:87%">{{{honorific-suffix|}}}</span>}}{{#if:{{{native_name|}}}|<br /><span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}</includeonly>
|-
|-
{{#if:{{Hide if placeholder image|{{{image|}}}}}|
{{#if:{{{image|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{image|}}}|{{px|{{{width|{{{imagesize|{{{image_size|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{imagesize|{{{image_size|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{image name|}}}|
{{#if:{{{image name|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{image name|}}}|{{px|{{{width|{{{imagesize|{{{image_size|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image name|}}}|size={{{width|{{{imagesize|{{{image_size|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{smallimage|}}}|
{{#if:{{{smallimage|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{smallimage}}}|frameless|alt={{{alt|}}}]]
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{smallimage}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
{{!}}-
{{!}}-
}}
}}

Revision as of 23:46, 15 March 2013

Template:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/OfficeTemplate:Infobox officeholder/Personal data