Difference between revisions of "Template:Infobox officeholder"
From FenWiki
m (messing about with boats, mind me not) |
|||
Line 1: | Line 1: | ||
− | {| class="infobox vcard" style="width: {{{mainwidth|22em}}} | + | {| class="infobox vcard" style="width: {{{mainwidth|22em}}}" |
− | <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}}} | + | <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> }}<span class="fn">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{honorific-suffix|}}}| <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:{{{image|}}}| | {{#if:{{{image|}}}| | ||
Line 120: | Line 120: | ||
| governor_general = {{{governor{{#if:{{{governor-general|}}}|-|_}}general|}}} | | governor_general = {{{governor{{#if:{{{governor-general|}}}|-|_}}general|}}} | ||
| governor = {{{governor|}}} | | governor = {{{governor|}}} | ||
− | | incumbent = {{{}}} | + | | incumbent = {{{incumbent|}}} |
| jr/sr = {{{jr/sr|}}} | | jr/sr = {{{jr/sr|}}} | ||
| jr/sr and state = {{{jr/sr and state|}}} | | jr/sr and state = {{{jr/sr and state|}}} | ||
Line 1,408: | Line 1,408: | ||
|military_data5 = | |military_data5 = | ||
}} | }} | ||
− | </pre> | + | </pre><includeonly></noinclude> |
− | + | ||
− | </noinclude> | + |
Revision as of 17:00, 30 August 2012
Usage
Paste the code for the relevant office and then add the personal data to the bottom. There are no required fields and some fields will not appear when others are in use. For advice on alt text, see Wikipedia:Alternative text for images.
General office
{{Infobox officeholder |honorific-prefix = |name = |honorific-suffix = |image = |imagesize = |smallimage = <!--If this is specified, "image" should not be.--> |alt = |caption = |order = |office = |term_start = |term_end = |alongside = <!--For two or more people serving in the same position from the same district. (e.g. United States Senators.)--> |vicepresident = |viceprimeminister = |deputy = |lieutenant = |monarch = |president = |primeminister = |taoiseach = |chancellor = |governor = |governor-general = |governor_general = |succeeding = <!--For President-elect or equivalent--> |predecessor = |successor = |constituency = |majority = |order2 = <!--Can be repeated up to eight times by changing the number--> |office2 = <!--Can be repeated up to eight times by changing the number--> |term_start2 = <!--Can be repeated up to eight times by changing the number--> |term_end2 = <!--Can be repeated up to eight times by changing the number--> |alongside2 = <!--Can be repeated up to eight times by changing the number--> |vicepresident2 = <!--Can be repeated up to eight times by changing the number--> |viceprimeminister2 = <!--Can be repeated up to eight times by changing the number--> |deputy2 = <!--Can be repeated up to eight times by changing the number--> |lieutenant2 = <!--Can be repeated up to eight times by changing the number--> |monarch2 = <!--Can be repeated up to eight times by changing the number--> |president2 = <!--Can be repeated up to eight times by changing the number--> |primeminister2 = <!--Can be repeated up to eight times by changing the number--> |governor2 = <!--Can be repeated up to eight times by changing the number--> |succeeding2 = <!--Can be repeated up to eight times by changing the number--> |predecessor2 = <!--Can be repeated up to eight times by changing the number--> |successor2 = <!--Can be repeated up to eight times by changing the number--> |constituency2 = <!--Can be repeated up to eight times by changing the number--> |majority2 = <!--Can be repeated up to eight times by changing the number-->
add personal data
Personal data
Place this underneath the template
|birth_date = |birth_place = |death_date = |death_place = |restingplace = |restingplacecoordinates = |birthname = |citizenship = |nationality = |party = |otherparty = <!--For additional political affiliations--> |spouse = |partner = <!--For those with a domestic partner and not married--> |relations = |children = |residence = |alma_mater = |occupation = |profession = |cabinet = |committees = |portfolio = |religion = |signature = |signature_alt = |website = |footnotes = |blank1 = |data1 = |blank2 = |data2 = |blank3 = |data3 = |blank4 = |data4 = |blank5 = |data5 = <!--Military service--> |nickname = |allegiance = |branch = |serviceyears = |rank = |unit = |commands = |battles = |awards = |military_blank1 = |military_data1 = |military_blank2 = |military_data2 = |military_blank3 = |military_data3 = |military_blank4 = |military_data4 = |military_blank5 = |military_data5 = }}