Template:Infobox officeholder/doc: Difference between revisions

Remove unsupported imported template links from documentation
Remove final unsupported template links
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{Notice|Please note that in June 2017, the {{para|religion}} parameter was removed from Infobox officeholder as a result of [[Template talk:Infobox officeholder/Archive 21#Religion in officeholder infoboxes|this discussion]].}}
{{Notice|Please note that in June 2017, the {{para|religion}} parameter was removed from Infobox officeholder as a result of [[Template talk:Infobox officeholder/Archive 21#Religion in officeholder infoboxes|this discussion]].}}


{{tl|Infobox officeholder}} is incorporated into the following templates (i.e. all the templates listed <span class="plainlinks">[{{fullurl:Special:WhatLinksHere/Template:Infobox officeholder|namespace=10&limit=1000&hidetrans=1&hidelinks=1}} here]</span>). Please use the most appropriate name when placing this template on a page.
Use {{tl|Infobox officeholder}} directly; specialized imported aliases are not maintained on this wiki.
 
{{collapse top |title= List of templates}}
{{refbegin|colwidth=20em}}
* {{Tld|Infobox AM}}
* {{Tld|Infobox Canadian MP}}
* {{Tld|Infobox Canadian senator}}
* {{Tld|Infobox candidate}}
* {{Tld|Infobox civil servant}}
* {{Tld|Infobox chancellor}}
* {{Tld|Infobox congressional candidate}}
* {{Tld|Infobox congressman}}
* {{Tld|Infobox defense minister}}
* {{Tld|Infobox deputy first minister}}
* {{Tld|Infobox deputy prime minister}}
* {{Tld|Infobox doge}}
* {{Tld|Infobox Eritrea cabinet official}}
* {{Tld|Infobox first lady}}
* {{Tld|Infobox first minister}}
* {{Tld|Infobox governor}}
* {{Tld|Infobox governor-elect}}
* {{Tld|Infobox governor general}}
* {{Tld|Infobox governor-general}}
* {{Tld|Infobox Indian politician}}
* {{Tld|Infobox judge}}
* {{Tld|Infobox lt governor}}
* {{Tld|Infobox mayor}}
* {{Tld|Infobox MEP}}
* {{Tld|Infobox minister}}
* {{Tld|Infobox MLA}}
* {{Tld|Infobox MP}}
* {{Tld|Infobox MSP}}
* {{Tld|Infobox PM}}
* {{Tld|Infobox politician}}
* {{Tld|Infobox politician (general)}}
* {{Tld|Infobox premier}}
* {{Tld|Infobox president}}
* {{Tld|Infobox president-elect}}
* {{Tld|Infobox prime minister}}
* {{Tld|Infobox prime minister-elect}}
* {{Tld|Infobox representative-elect}}
* {{Tld|Infobox SCC chief justice}}
* {{Tld|Infobox SCC puisne justice}}
* {{Tld|Infobox secretary-general}}
* {{Tld|Infobox senator}}
* {{Tld|Infobox senator-elect}}
* {{Tld|Infobox speaker}}
* {{Tld|Infobox state representative}}
* {{Tld|Infobox state SC associate justice}}
* {{Tld|Infobox state SC justice}}
* {{Tld|Infobox state senator}}
* {{Tld|Infobox US ambassador}}
* {{Tld|Infobox US associate justice}}
* {{Tld|Infobox US cabinet official}}
* {{Tld|Infobox US chief justice}}
* {{Tld|Infobox US territorial governor}}
* {{Tld|Infobox vice president}}
{{refend}}
{{collapse bottom}}


{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
Line 240: Line 182:
}}
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox ambassador
{{Infobox officeholder
  | honorific_prefix =  
  | honorific_prefix =  
  | name        =  
  | name        =  
Line 277: Line 219:
}}
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox AM
{{Infobox officeholder
  | honorific_prefix =  
  | honorific_prefix =  
  | name        =  
  | name        =  
Line 313: Line 255:
}}
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox governor
{{Infobox officeholder
  | honorific_prefix =  
  | honorific_prefix =  
  | name        =  
  | name        =  
Line 366: Line 308:
}}
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox judge
{{Infobox officeholder
  | honorific_prefix =  
  | honorific_prefix =  
  | name        =  
  | name        =  
Line 402: Line 344:
}}
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox MP
{{Infobox officeholder
  | honorific_prefix =  
  | honorific_prefix =  
  | name        =  
  | name        =  
Line 440: Line 382:
}}
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox Congressman
{{Infobox officeholder
  | honorific_prefix =  
  | honorific_prefix =  
  | name        =  
  | name        =  
Line 501: Line 443:
}}
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox state representative
{{Infobox officeholder
  | honorific_prefix =  
  | honorific_prefix =  
  | name        =  
  | name        =  
Line 568: Line 510:
  | predecessor2 =  
  | predecessor2 =  
  | successor2  =  
  | successor2  =  
</syntaxhighlight>
{{clear}}
===U.S. Senators===
====U.S. Senator====
{{Generic template demo
| honorific_prefix
| name
| honorific_suffix
| image
| image_size
| image_upright
| alt
| caption
| jr/sr
| state
| term_start
| term_end
| predecessor
| successor
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox senator
| honorific_prefix =
| name        =
| honorific_suffix =
| image      =
| image_size  =
| image_upright =
| alt        =
| caption    =
| jr/sr      =  <!--Can be repeated up to eight times by appending 2, 3, etc-->  Set to any value to display the "United States Senator from" header. If this parameter is missing or empty, "United States Senator from" will not be displayed.
| 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-->
</syntaxhighlight>
''add [[#Personal data|personal data]]''
{{clear}}
{{Generic template demo
| term_start
| alongside
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| term_start  =
| alongside  =  <!--the name of fellow senator-->
</syntaxhighlight>
{{clear}}
If Senator has just been elected and is a Senator-Elect:
{{Generic template demo
| succeeding
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| succeeding  =  <!--the name of the incumbent senator-->
</syntaxhighlight>
{{clear}}
If Senator served as Senate Majority Leader add:
{{Generic template demo
| majorityleader3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| 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-->
</syntaxhighlight>
{{clear}}
If Senator served as Congressman add:
{{Generic template demo
| state3
| district3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| 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-->
</syntaxhighlight>
{{clear}}
====State Senator====
{{Generic template demo
| honorific_prefix
| name
| honorific_suffix
| image
| alt
| caption
| state_senate
| district
| term_start
| term_end
| predecessor
| successor
| prior_term
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox state senator
| honorific_prefix =
| name        =
| honorific_suffix =
| image        =
| alt          =
| caption      =
| 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-->
| prior_term  =
</syntaxhighlight>
''add [[#Personal data|personal data]]''
{{clear}}
If State Senator served as Majority Leader of the State Senate add:
{{Generic template demo
| majority_leader3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| 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-->
</syntaxhighlight>
{{clear}}
If State Senator served as Minority Leader of the State Senate add:
{{Generic template demo
| minority_leader3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| 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-->
</syntaxhighlight>
{{clear}}
If State Senator served as Majority Floor Leader of the State Senate add:
{{Generic template demo
| majority_floor_leader3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| 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-->
</syntaxhighlight>
{{clear}}
If State Senator served as Minority Floor Leader of the State Senate add:
{{Generic template demo
| minority_floor_leader3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| 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-->
</syntaxhighlight>
</syntaxhighlight>
{{clear}}
{{clear}}