Difference between revisions of "Template:Infobox officeholder"

From FenWiki
Jump to: navigation, search
m
Line 1,289: Line 1,289:
 
|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]]
}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<noinclude>{{Documentation}}</noinclude><noinclude>
+
}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<noinclude>
 
==Usage==
 
==Usage==
 
Paste the code for the relevant office and then add the [[#Personal data|personal data]] to the bottom. There are no required fields and some fields will not appear when others are in use. For instructions on how to implement multiple terms, see [[Template:Infobox officeholder/example#Multiple terms|this page]]. For advice on alt text, see ''[[Wikipedia:Alternative text for images]]''.
 
Paste the code for the relevant office and then add the [[#Personal data|personal data]] to the bottom. There are no required fields and some fields will not appear when others are in use. For instructions on how to implement multiple terms, see [[Template:Infobox officeholder/example#Multiple terms|this page]]. For advice on alt text, see ''[[Wikipedia:Alternative text for images]]''.

Revision as of 03:30, 18 November 2011

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 instructions on how to implement multiple terms, see this page. For advice on alt text, see Wikipedia:Alternative text for images.

The parameter Template:Para is used in conjunction with Template:Para to state that the officeholder is the nth holder of the office, for example "2nd President of Mauritius". If Template:Para is not specified, the value of Template:Para can be wikilinked in the usual way, for example, "[[Ministry of Defence (Singapore)|Minister for Defence]]". However, if Template:Para is specified together with Template:Para, the value of Template:Para is automatically linked to a Wikipedia article of the same name, whether such an article exists or not. Wikilinking cannot be used to redirect the link elsewhere, but a piped link can be created like this: "Ministry of Defence (Singapore){{!}}Minister for Defence" (note that the double square brackets have been omitted).

When both a start and an end term are given, you can instead specify the complete term using using the parameters Template:Para, Template:Para, etc. This can be helpful with complicated terms that cannot be given as simple starting or ending dates, or if you prefer something other than the default term separator (an en dash, with spaces around it if the start or end is not a simple integer date).

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     = 
}}