Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(track placeholder images)
(re-syncing from sandbox, minor cleanup to header. was reverted due to image width problems, now fixed)
Line 1: Line 1:
{| class="infobox vcard" style="width: {{{mainwidth|22em}}}; font-size: 90%; text-align: left"
{| class="infobox vcard" style="width: {{{mainwidth|22em}}}"
| colspan=2 class="n" style="text-align: center; font-size: 125%; font-weight: bold"|{{#if:{{{honorific-prefix|}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific-prefix}}}</span>&nbsp;}}<span class="fn">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{honorific-suffix|}}}|&nbsp;<span class="honorific-suffix" style="font-size: small">{{{honorific-suffix}}}</span>}}
<includeonly>! colspan=2 class="n" style="text-align: center; font-size: 125%"|{{#if:{{{honorific-prefix|}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific-prefix}}}</span>&#32;}}<span class="fn">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{honorific-suffix|}}}|&#32;<span class="honorific-suffix" style="font-size: small">{{{honorific-suffix}}}</span>}}{{#if:{{{native_name|}}}|<br /><span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}</includeonly>
{{#if:{{{native_name|}}}|<br /><span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} colspan=2 style="text-align: center" {{#switch:{{{image}}}|Replace this image male.svg|Replace this image female.svg|Replace this image1.svg|Replace this imageb.svg=class=dummy}} {{!}} [[file:{{{image}}}|{{#ifeq:{{{image|}}}|Replace this image1.svg|180px|{{#if:{{{imagesize|{{{image_size|}}}}}}|{{{imagesize|{{{image_size|}}}}}}|{{#if:{{{width|}}}|{{{width}}}|225px}}}}}}|alt={{{alt|}}}|{{PAGENAME}}]]<br /><small>{{{caption|}}}</small>
{{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{image|}}}|{{px|{{{width|{{{imagesize|}}}}}}|frameless}}|alt={{{alt|}}}]]
{{!}}-
{{!}}-
}}
}}
{{#if:{{{image name|}}}|
{{#if:{{{image name|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} [[File:{{{image name}}}|{{#ifeq:{{{image name|}}}|Replace this image1.svg|150px|{{#if:{{{imagesize|}}}|{{{imagesize}}}|160px}}}}|alt={{{alt|}}}|{{PAGENAME}}]]<br /><small>{{{caption|}}}</small>
{{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{image name|}}}|{{px|{{{width|{{{imagesize|}}}}}}|frameless}}|alt={{{alt|}}}]]
{{!}}-
{{!}}-
}}
}}
{{#if:{{{smallimage|}}}|
{{#if:{{{smallimage|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{smallimage}}}|alt={{{alt|}}}|{{PAGENAME}}]]<br /><small>{{{caption|}}}</small>
{{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{smallimage}}}|frameless|alt={{{alt|}}}]]
{{!}}-
}}
{{#if:{{{caption|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{{caption}}}
{{!}}-
{{!}}-
}}
}}
Line 817: Line 820:
| co-leader = {{{co-leader0|}}}
| co-leader = {{{co-leader0|}}}
| constituency_{{#if:{{{constituency_AM0|}}}|AM|MP}} = {{{constituency_{{#if:{{{constituency_AM0|}}}|AM|MP}}0|}}}
| constituency_{{#if:{{{constituency_AM0|}}}|AM|MP}} = {{{constituency_{{#if:{{{constituency_AM0|}}}|AM|MP}}0|}}}
| constituency = {{{constituency0|}}}
| constituency = {{{constituency0|}}}
| country = {{{country0|}}}
| country = {{{country0|}}}
| deputy = {{{deputy0|}}}
| deputy = {{{deputy0|}}}
Line 1,216: Line 1,219:
|Replace this image female.svg
|Replace this image female.svg
|Replace_this_image_female.svg=[[Category:Infobox person using placeholder image]]
|Replace_this_image_female.svg=[[Category:Infobox person using placeholder image]]
}}<noinclude>
}}<noinclude>{{Documentation}}</noinclude>
{{Documentation}}
</noinclude>

Revision as of 08:06, 20 July 2011

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/Personal data