Padron:Infobox officeholder/sandbox
Ito ang template sandbox page ng Padron:Infobox officeholder (diff). |
{{Infobox officeholder}} incorporates the following templates (i.e. all the templates listed here). Please use the most appropriate name when placing this template on a page.
- {{Infobox AM}}
- {{Infobox ambassador}}
- {{Infobox Canadian MP}}
- {{Infobox Canadian senator}}
- {{Infobox candidate}}
- {{Infobox chancellor}}
- {{Infobox congressional candidate}}
- {{Infobox congressman}}
- {{Infobox defense minister}}
- {{Infobox deputy first minister}}
- {{Infobox deputy prime minister}}
- {{Infobox doge}}
- {{Infobox Eritrea cabinet official}}
- {{Infobox first lady}}
- {{Infobox first minister}}
- {{Infobox governor}}
- {{Infobox governor-elect}}
- {{Infobox governor general}}
- {{Infobox governor-general}}
- {{Infobox Indian politician}}
- {{Infobox judge}}
- {{Infobox lt governor}}
- {{Infobox mayor}}
- {{Infobox MEP}}
- {{Infobox minister}}
- {{Infobox MLA}}
- {{Infobox MP}}
- {{Infobox MSP}}
- {{Infobox PM}}
- {{Infobox politician}}
- {{Infobox politician (general)}}
- {{Infobox premier}}
- {{Infobox president}}
- {{Infobox president-elect}}
- {{Infobox prime minister}}
- {{Infobox prime minister-elect}}
- {{Infobox representative-elect}}
- {{Infobox SCC chief justice}}
- {{Infobox SCC puisne justice}}
- {{Infobox secretary-general}}
- {{Infobox senator}}
- {{Infobox senator-elect}}
- {{Infobox speaker}}
- {{Infobox state representative}}
- {{Infobox state SC associate justice}}
- {{Infobox state SC justice}}
- {{Infobox state senator}}
- {{Infobox US ambassador}}
- {{Infobox US associate justice}}
- {{Infobox US cabinet official}}
- {{Infobox US chief justice}}
- {{Infobox US territorial governor}}
- {{Infobox vice president}}
Usage
[baguhin ang wikitext]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 |order=
is used in conjunction with |office=
to state that the officeholder is the nth holder of the office, for example "2nd President of Mauritius". If |order=
is not specified, the value of |office=
can be wikilinked in the usual way, for example, "[[Ministry of Defence (Singapore)|Minister for Defence]]". However, if |order=
is specified together with |office=
, the value of |office=
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 |term=
, |terms2=
, 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
[baguhin ang wikitext]{{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
Ambassador
[baguhin ang wikitext]{{Infobox ambassador |honorific-prefix = |name = |honorific-suffix = |image = |imagesize = |alt = |order = <!--Can be repeated up to eight times by adding a number--> |ambassador_from = <!--Can be repeated up to eight times by adding a number--> |country = <!--Can be repeated up to eight times by adding a number--> |term_start = <!--Can be repeated up to eight times by adding a number--> |term_end = <!--Can be repeated up to eight times by adding a number--> |predecessor = <!--Can be repeated up to eight times by adding a number--> |successor = <!--Can be repeated up to eight times by adding a number--> |president = <!--Can be repeated up to eight times by adding a number-->
add personal data
Assembly Member
[baguhin ang wikitext]{{Infobox AM |honorific-prefix = |name = |honorific-suffix = |image = |alt = |caption = |constituency_AM = <!--Can be repeated up to eight times by adding a number--> |assembly = <!--Can be repeated up to eight times by adding a number--> |majority = <!--Can be repeated up to eight times by adding a number--> |term_start = <!--Can be repeated up to eight times by adding a number--> |term_end = <!--Can be repeated up to eight times by adding a number--> |predecessor = <!--Can be repeated up to eight times by adding a number--> |successor = <!--Can be repeated up to eight times by adding a number-->
add personal data
Governor
[baguhin ang wikitext]{{Infobox governor |honorific-prefix = |name = |honorific-suffix = |image = |alt = |order = <!--Can be repeated up to eight times by adding a number--> |office = <!--Can be repeated up to eight times by adding a number--> |term_start = <!--Can be repeated up to eight times by adding a number--> |term_end = <!--Can be repeated up to eight times by adding a number--> |lieutenant = <!--Can be repeated up to eight times by adding a number--> |predecessor = <!--Can be repeated up to eight times by adding a number--> |successor = <!--Can be repeated up to eight times by adding a number-->
add personal data
If Governor was appointed by a President, add:
|president = <!--name of president-->
If Governor appointed by other, add:
|appointed = <!--name of appointer-->
Judge
[baguhin ang wikitext]{{Infobox judge |honorific-prefix = |name = |honorific-suffix = |image = |imagesize = |alt = |caption = |office = <!--Can be repeated up to eight times by changing the number--> |term_start = <!--Can be repeated up to eight times by changing the number--> |term_end = <!--Can be repeated up to eight times by changing the number--> |nominator = <!--Can be repeated up to eight times by changing the number--> |appointer = <!--Can be repeated up to eight times by changing the number--> |predecessor = <!--Can be repeated up to eight times by changing the number--> |successor = <!--Can be repeated up to eight times by changing the number-->
add personal data
Nominee/Candidate
[baguhin ang wikitext]- Do not add this section to pages of people who have held a previous office.
{{Infobox candidate |honorific-prefix = |name = |honorific-suffix = |image = |imagesize = |alt = |caption = |nominee = |party_election = |election_date = |runningmate = |opponent = |incumbent =
If a candidate, then instead of nominee
use:
|candidate =
add personal data
Member of Parliament
[baguhin ang wikitext]{{Infobox MP |honorific-prefix = |name = |honorific-suffix = |image = |alt = |caption = |constituency_MP = <!--Can be repeated up to eight times by adding a number--> |parliament = <!--Can be repeated up to eight times by adding a number--> |majority = <!--Can be repeated up to eight times by adding a number--> |term_start = <!--Can be repeated up to eight times by adding a number--> |term_end = <!--Can be repeated up to eight times by adding a number--> |predecessor = <!--Can be repeated up to eight times by adding a number--> |successor = <!--Can be repeated up to eight times by adding a number-->
add personal data
U.S. Representatives
[baguhin ang wikitext]U.S. Congressman
[baguhin ang wikitext]{{Infobox Congressman |honorific-prefix = |name = |honorific-suffix = |image = |alt = |state = <!--Can be repeated up to seven times by adding a number, start at 3--> |district = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_start = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_end = <!--Can be repeated up to seven times by adding a number, start at 3--> |predecessor = <!--Can be repeated up to seven times by adding a number, start at 3--> |successor = <!--Can be repeated up to seven times by adding a number, start at 3-->
add personal data
If Congressman served as Speaker of the House add:
|speaker = <!--number of office holder--> |term_start2 = |term_end2 = |predecessor2 = |successor2 =
If Congressman has been elected but not sworn in:
|succeeding = <!--the name of the incumbent congressman-->
State Representative
[baguhin ang wikitext]{{Infobox state representative |honorific-prefix = |name = |honorific-suffix = |image = |alt = |state_house = <!--Can be repeated up to seven times by adding a number, start at 3--> |district = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_start = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_end = <!--Can be repeated up to seven times by adding a number, start at 3--> |predecessor = <!--Can be repeated up to seven times by adding a number, start at 3--> |successor = <!--Can be repeated up to seven times by adding a number, start at 3-->
add personal data
For Representative from states that have an Assembly, instead of state_house use:
|state_assembly = <!--Can be repeated up to seven times by adding a number, start at 3-->
For Representative from states that have a House of Delegates, instead of state_house use:
|state_delegate = <!--Can be repeated up to seven times by adding a number, start at 3-->
For Representative from states that have a Legislature, instead of state_house use:
|state_legislature = <!--Can be repeated up to seven times by adding a number, start at 3-->
If Representative served as Speaker of the State House add:
|speaker = <!--number of office holder--> |state_house = |term_start2 = |term_end2 = |predecessor2 = |successor2 =
U.S. Senators
[baguhin ang wikitext]U.S. Senator
[baguhin ang wikitext]{{Infobox senator |honorific-prefix = |name = |honorific-suffix = |image = |imagesize = |alt = |jr/sr = <!--Can be repeated up to eight times by appending 2, 3, etc--> This code has been disabled per Template talk:Infobox officeholder. |state = <!--Can be repeated up to eight times by appending 2, 3, etc--> |term_start = <!--Can be repeated up to eight times by appending 2, 3, etc--> |term_end = <!--Can be repeated up to eight times by appending 2, 3, etc--> |predecessor = <!--Can be repeated up to eight times by appending 2, 3, etc--> |successor = <!--Can be repeated up to eight times by appending 2, 3, etc-->
add personal data
|alongside = <!--the name of fellow senator-->
If Senator has just been elected and is a Senator-Elect:
|succeeding = <!--the name of the incumbent senator-->
If Senator served as Senate Majority Leader add:
|majorityleader3 = <!--number of office holder--> |term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
If Senator served as Congressman add:
|state3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |district3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
State Senator
[baguhin ang wikitext]{{Infobox State Senator |honorific-prefix = |name = |honorific-suffix = |image = |alt = |state_senate = <!--Can be repeated up to eight times by appending 2, 3, etc--> |district = <!--Can be repeated up to eight times by appending 2, 3, etc--> |term_start = <!--Can be repeated up to eight times by appending 2, 3, etc--> |term_end = <!--Can be repeated up to eight times by appending 2, 3, etc--> |predecessor = <!--Can be repeated up to eight times by appending 2, 3, etc--> |successor = <!--Can be repeated up to eight times by appending 2, 3, etc-->
add personal data
If State Senator served as Majority Leader of the State Senate add:
|majority_leader3 = <!--number of office holder--> |term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
If State Senator served as Minority Leader of the State Senate add:
|minority_leader3 = <!--number of office holder--> |term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
If State Senator served as Majority Floor Leader of the State Senate add:
|majority_floor_leader3 = <!--number of office holder--> |term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
If State Senator served as Minority Floor Leader of the State Senate add:
|minority_floor_leader3 = <!--number of office holder--> |term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> |successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
Personal data
[baguhin ang wikitext]Place this underneath the template
|birth_date = |birth_place = |death_date = |death_place = |restingplace = |restingplacecoordinates = |birthname = |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 = }}
Microformat
[baguhin ang wikitext]The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
Date-of-birth ("bday") parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.
hCard uses HTML classes including:
- adr
- bday
- county-name
- fn (required)
- honorific-prefix
- honorific-suffix
- label
- locality
- nickname
- note
- org
- role
- vcard
Please do not rename or remove these classes.]]