Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
m (unused, undocumented, and not a good idea)
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|}}}{{{image name|}}}|
{{!}} 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|}}}|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|{{{imagesize|{{{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}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{speaker|}}}|
{{#if:{{{speaker|}}}|
{{#if:{{{nominee|}}}{{{candidate|}}}||
{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/Office|2|
{{Infobox officeholder/Office/sandbox|2|
| 1blankname2 = {{{1blankname2|}}}
| 1blankname2 = {{{1blankname2|}}}
| 1namedata2 = {{{1namedata2|}}}
| 1namedata2 = {{{1namedata2|}}}
Line 90: Line 93:
| prior_term = {{{prior_term|}}}
| prior_term = {{{prior_term|}}}
}}}}}}
}}}}}}
{{Infobox officeholder/Office||
{{Infobox officeholder/Office/sandbox||
| 1blankname = {{{1blankname|}}}
| 1blankname = {{{1blankname|}}}
| 1namedata = {{{1namedata|}}}
| 1namedata = {{{1namedata|}}}
Line 168: Line 171:
}}
}}
{{#if:{{{nominee|}}}{{{candidate|}}}||
{{#if:{{{nominee|}}}{{{candidate|}}}||
{{Infobox officeholder/Office|1|
{{Infobox officeholder/Office/sandbox|1|
| 1blankname1 = {{{1blankname1|}}}
| 1blankname1 = {{{1blankname1|}}}
| 1namedata1 = {{{1namedata1|}}}
| 1namedata1 = {{{1namedata1|}}}
Line 239: Line 242:
}}
}}
{{#if:{{{speaker|}}}||
{{#if:{{{speaker|}}}||
{{Infobox officeholder/Office|2|
{{Infobox officeholder/Office/sandbox|2|
| 1blankname2 = {{{1blankname2|}}}
| 1blankname2 = {{{1blankname2|}}}
| 1namedata2 = {{{1namedata2|}}}
| 1namedata2 = {{{1namedata2|}}}
Line 309: Line 312:
| prior_term2 = {{{prior_term2|}}}
| prior_term2 = {{{prior_term2|}}}
}}}}
}}}}
{{Infobox officeholder/Office|3|
{{Infobox officeholder/Office/sandbox|3|
| 1blankname3 = {{{1blankname3|}}}
| 1blankname3 = {{{1blankname3|}}}
| 1namedata3 = {{{1namedata3|}}}
| 1namedata3 = {{{1namedata3|}}}
Line 379: Line 382:
| prior_term3 = {{{prior_term3|}}}
| prior_term3 = {{{prior_term3|}}}
}}
}}
{{Infobox officeholder/Office|4|
{{Infobox officeholder/Office/sandbox|4|
| 1blankname4 = {{{1blankname4|}}}
| 1blankname4 = {{{1blankname4|}}}
| 1namedata4 = {{{1namedata4|}}}
| 1namedata4 = {{{1namedata4|}}}
Line 449: Line 452:
| prior_term4 = {{{prior_term4|}}}
| prior_term4 = {{{prior_term4|}}}
}}
}}
{{Infobox officeholder/Office|5|
{{Infobox officeholder/Office/sandbox|5|
| 1blankname5 = {{{1blankname5|}}}
| 1blankname5 = {{{1blankname5|}}}
| 1namedata5 = {{{1namedata5|}}}
| 1namedata5 = {{{1namedata5|}}}
Line 519: Line 522:
| prior_term5 = {{{prior_term5|}}}
| prior_term5 = {{{prior_term5|}}}
}}
}}
{{Infobox officeholder/Office|6|
{{Infobox officeholder/Office/sandbox|6|
| 1blankname6 = {{{1blankname6|}}}
| 1blankname6 = {{{1blankname6|}}}
| 1namedata6 = {{{1namedata6|}}}
| 1namedata6 = {{{1namedata6|}}}
Line 589: Line 592:
| prior_term6 = {{{prior_term6|}}}
| prior_term6 = {{{prior_term6|}}}
}}
}}
{{Infobox officeholder/Office|7|
{{Infobox officeholder/Office/sandbox|7|
| 1blankname7 = {{{1blankname7|}}}
| 1blankname7 = {{{1blankname7|}}}
| 1namedata7 = {{{1namedata7|}}}
| 1namedata7 = {{{1namedata7|}}}
Line 659: Line 662:
| prior_term7 = {{{prior_term7|}}}
| prior_term7 = {{{prior_term7|}}}
}}
}}
{{Infobox officeholder/Office|8|
{{Infobox officeholder/Office/sandbox|8|
| 1blankname8 = {{{1blankname8|}}}
| 1blankname8 = {{{1blankname8|}}}
| 1namedata8 = {{{1namedata8|}}}
| 1namedata8 = {{{1namedata8|}}}
Line 729: Line 732:
| prior_term8 = {{{prior_term8|}}}
| prior_term8 = {{{prior_term8|}}}
}}
}}
{{Infobox officeholder/Office|9|
{{Infobox officeholder/Office/sandbox|9|
| 1blankname9 = {{{1blankname9|}}}
| 1blankname9 = {{{1blankname9|}}}
| 1namedata9 = {{{1namedata9|}}}
| 1namedata9 = {{{1namedata9|}}}
Line 799: Line 802:
| prior_term9 = {{{prior_term9|}}}
| prior_term9 = {{{prior_term9|}}}
}}
}}
{{Infobox officeholder/Office|0|
{{Infobox officeholder/Office/sandbox|0|
| 1blankname0 = {{{1blankname0|}}}
| 1blankname0 = {{{1blankname0|}}}
| 1namedata0 = {{{1namedata0|}}}
| 1namedata0 = {{{1namedata0|}}}
Line 869: Line 872:
| prior_term0 = {{{prior_term0|}}}
| prior_term0 = {{{prior_term0|}}}
}}
}}
{{Infobox officeholder/Office|11|
{{Infobox officeholder/Office/sandbox|11|
| 1blankname11 = {{{1blankname11|}}}
| 1blankname11 = {{{1blankname11|}}}
| 1namedata11 = {{{1namedata11|}}}
| 1namedata11 = {{{1namedata11|}}}
Line 939: Line 942:
| prior_term11 = {{{prior_term11|}}}
| prior_term11 = {{{prior_term11|}}}
}}
}}
{{Infobox officeholder/Office|12|
{{Infobox officeholder/Office/sandbox|12|
| 1blankname12 = {{{1blankname12|}}}
| 1blankname12 = {{{1blankname12|}}}
| 1namedata12 = {{{1namedata12|}}}
| 1namedata12 = {{{1namedata12|}}}
Line 1,009: Line 1,012:
| prior_term12 = {{{prior_term12|}}}
| prior_term12 = {{{prior_term12|}}}
}}
}}
{{Infobox officeholder/Office|13|
{{Infobox officeholder/Office/sandbox|13|
| 1blankname13 = {{{1blankname13|}}}
| 1blankname13 = {{{1blankname13|}}}
| 1namedata13 = {{{1namedata13|}}}
| 1namedata13 = {{{1namedata13|}}}
Line 1,079: Line 1,082:
| prior_term13 = {{{prior_term13|}}}
| prior_term13 = {{{prior_term13|}}}
}}
}}
{{Infobox officeholder/Office|14|
{{Infobox officeholder/Office/sandbox|14|
| 1blankname14 = {{{1blankname14|}}}
| 1blankname14 = {{{1blankname14|}}}
| 1namedata14 = {{{1namedata14|}}}
| 1namedata14 = {{{1namedata14|}}}
Line 1,150: Line 1,153:
}}}}
}}}}
<!----------Personal data---------->
<!----------Personal data---------->
{{Infobox officeholder/Personal data
{{Infobox officeholder/Personal data/sandbox
| birth_name = {{{birth_name|{{{birthname|}}}}}}
| birth_name = {{{birth_name|{{{birthname|}}}}}}
| birth_name = {{{birth_name|{{{birthname|}}}}}}
| birth_date = {{{birth_date|{{{birthdate|}}}}}}
| birth_place = {{{birth_place|{{{birthplace|}}}}}}
| birth_place = {{{birth_place|{{{birthplace|}}}}}}
| death_date = {{{death_date|{{{deathdate|}}}}}}
| death_date = {{{death_date|{{{deathdate|}}}}}}
Line 1,160: Line 1,163:
| citizenship = {{{citizenship|}}}
| citizenship = {{{citizenship|}}}
| nationality = {{{nationality|}}}
| nationality = {{{nationality|}}}
| ethnicity = {{{ethnicity|}}}
| party = {{{party|}}}
| party = {{{party|}}}
| otherparty = {{{otherparty|}}}
| otherparty = {{{otherparty|}}}
Line 1,211: Line 1,215:
| signature_alt = {{{signature_alt|}}}
| signature_alt = {{{signature_alt|}}}
}}
}}
|}<noinclude>
|}<noinclude>{{Documentation}}</noinclude>
{{Documentation}}
</noinclude>

Revision as of 13:08, 21 June 2011

Template:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Office/sandboxTemplate:Infobox officeholder/Personal data/sandbox