Template:Infobox character/doc: Difference between revisions
GameCreepr (talk | contribs) mNo edit summary |
GameCreepr (talk | contribs) mNo edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1:
= Documentation =
<pre>
{{Infobox
| name =
| portrait =
|
| portraitlabel =
| portraitalt =
| incumbenttitle =
| incumbentdate =
| toprole =
| toproleholder =
| precededby =
| succeededby =
| title1 =
| assumed1 =
| left1 =
| toprole1 =
| toproleholder1 =
| precededby1 =
| succeededby1 =
| title2 =
| assumed2 =
| left2 =
| toprole2 =
| toproleholder2 =
| precededby2 =
| succeededby2 =
| longname =
Line 61 ⟶ 47:
}}
</pre>
extra title parameters:
<pre>
| incumbenttitle1 =
| incumbentdate1 =
| toprolea =
| toproleholdera =
| precededbya =
| succeededbya =
| title3 =
| assumed3 =
| left3 =
| toprole3 =
| toproleholder3 =
| precededby3 =
| succeededby3 =
| title4 =
| assumed4 =
| left4 =
| toprole4 =
| toproleholder4 =
| precededby4 =
| succeededby4 =
| title5 =
| assumed5 =
| left5 =
| toprole5 =
| toproleholder5 =
| precededby5 =
| succeededby5 =
| title6 =
| assumed6 =
| left6 =
| toprole6 =
| toproleholder6 =
| precededby6 =
| succeededby6 =
| title7 =
| assumed7 =
| left7 =
| toprole7 =
| toproleholder7 =
| precededby7 =
| succeededby7 =
| title8 =
| assumed8 =
| left8 =
| toprole8 =
| toproleholder8 =
| precededby8 =
| succeededby8 =
</pre>
ideology icon template addendum:
<pre>
| ideologyaddendum =
</pre>
tabber: (deprecated, use tabber template and portraitalt)
<pre>
| tabbertitle1 =
| tabberfile1 =
| tabbercaption1 =
| tabbertitle2 =
| tabberfile2 =
| tabbercaption2 =
| tabbertitle3 =
| tabberfile3 =
| tabbercaption3 =
| tabbertitle4 =
| tabberfile4 =
| tabbercaption4 =
| tabbertitle5 =
| tabberfile5 =
| tabbercaption5 =
| tabbertitle6 =
| tabberfile6 =
| tabbercaption6 =
</pre>
== How to use each parameter: ==
'''name''' = character's name
'''portrait''' = character's portrait file name. the template automatically embeds the image <br/>
'''portraitsize''' = size of the portrait. defaults to 210px vertical if left empty <br/>
'''portraitlabel''' = caption for the portrait <br/>
'''portraitalt''' = use when you need to put text in the portrait slot. has no formatting. use the tabber template here <br/>
'''incumbenttitle''' = highest level incumbent title of the character <br/>
'''incumbentdate''' = date that the character began their incumbency <br/>
'''toprole''' = the title of the top dog that the character is serving under (i.e. the president) <br/>
'''toproleholder''' = the guy who actually is the top dog <br/>
'''precededby''' = the character's predecessor <br/>
'''succeededby''' = the character's successor (only use if there's only 1 successor) <br/>
'''title''' = title that the character has previously held <br/>
'''assumed''' = when they gained that title <br/>
'''left''' = when they lost it <br/>
'''toprole''' = title of the top dog they served under <br/>
'''toproleholder''' = name of the top dog they served under <br/>
'''precededby''' = their predecessor <br/>
'''succeededby''' = their successor <br/>
'''longname''' = the character's full name, not localized <br/>
'''birthdate''' = the character's date of birth <br/>
'''birthplace''' = the character's place of birth <br/>
'''deathdate''' = the character's date of death <br/>
'''deathplace''' = the character's place of death <br/>
'''age''' = the character's age (IF THEY ARE ALIVE AT GAME START) <br/>
'''deathage''' = the character's death age <br/>
'''nationality''' = the character's nationality <br/>
'''role''' = the character's role and potential roles in the mod <br/>
'''party''' = the character's party <br/>
'''otherparty''' = previous and potential party affiliations of the character <br/>
'''ideology''' = the character's ideology <br/>
'''ideologyaddendum''' = to be used when an ideology has multiple icons/types which all use the same name, such as British Fascism or Dynastic Liberalism. check [[:Category:Ideology Icon Templates]] to see what this parameter should be
=== tabber ===
the tabber has been deprecated. if you wish to use it, use the [[template:tabber|tabber template]] in the portraitalt parameter. documentation has been kept for the sake of understanding previous instances of it being used
the tabber is a substitute for the standard image parameters. it will only work if all the image parameters are empty and if tabberfile1 isnt
<br/> <br/>
'''tabbertitle''' = title for the tabber tab <br/>
'''tabberfile''' = name of the file to display in the tabber. the template automatically embeds it <br/>
'''tabbercaption''' = caption for the displayed image <br/>
==Examples:==
{{Infobox character
| name = Richard Nixon
| portrait = Portrait USA Richard Nixon.png
| portraitsize =
| portraitlabel = Richard Nixon in 1963
| incumbenttitle = 36th [[List of US Presidents|{{color|darkblue|President of the United States}}]]
| incumbentdate = January 20, 1961
| toprole = Vice President
| toproleholder = John F. Kennedy
| precededby = [[Estes Kefauver]]
| succeededby = [[John F. Kennedy]]
| title1 = United States Senator <br/> from [[w:California|{{color|darkblue|California}}]]
| assumed1 = December 1, 1950
| left1 = January 1, 1961
| toprole1 =
| toproleholder1 =
| precededby1 = Sheridan Downey
| succeededby1 = Thomas Kuchel
| title2 = Member of the <br/> U.S. House of Representatives <br/> for California's 12th district
| assumed2 = January 3, 1947
| left2 = November 30, 1950
| toprole2 =
| toproleholder2 =
| precededby2 = Jerry Voorhis
| succeededby2 = Patrick J. Hillings
| longname = Richard Milhous Nixon
| birthdate = January 9, 1913
| birthplace = Yorba Linda, California, U.S.
| deathdate =
| deathplace =
| age = 49 years old
| deathage =
| nationality = [[File:Flag_of_the_United_States_(DoS_ECA_Color_Standard).svg|25px]] [[United States of America|American]]
| role = Starting leader of the USA
| party = [[Republican-Democratic Coalition]] - ([[Republican Party|Republican]])
| otherparty =
| ideology = Silent Conservatism
}} <pre> {{Infobox character
| name = Richard Nixon
| portrait = Portrait USA Richard Nixon.png
| portraitsize =
| portraitlabel = Richard Nixon in 1963
| incumbenttitle = 36th [[List of US Presidents|{{color|darkblue|President of the United States}}]]
| incumbentdate = January 20, 1961
| toprole = Vice President
| toproleholder = John F. Kennedy
| precededby = [[Estes Kefauver]]
| succeededby = [[John F. Kennedy]]
| title1 = United States Senator <br/> from [[w:California|{{color|darkblue|California}}]]
| assumed1 = December 1, 1950
| left1 = January 1, 1961
| toprole1 =
| toproleholder1 =
| precededby1 = Sheridan Downey
| succeededby1 = Thomas Kuchel
| title2 = Member of the <br/> U.S. House of Representatives <br/> for California's 12th district
| assumed2 = January 3, 1947
| left2 = November 30, 1950
| toprole2 =
| toproleholder2 =
| precededby2 = Jerry Voorhis
| succeededby2 = Patrick J. Hillings
| longname = Richard Milhous Nixon
| birthdate = January 9, 1913
| birthplace = Yorba Linda, California, U.S.
| deathdate =
| deathplace =
| age = 49 years old
| deathage =
| nationality = [[File:Flag_of_the_United_States_(DoS_ECA_Color_Standard).svg|25px]] [[United States of America|American]]
| role = Starting leader of the USA
| party = [[Republican-Democratic Coalition]] - ([[Republican Party|Republican]])
| otherparty =
| ideology = Silent Conservatism
}} </pre> becomes what you see on the right
<br/><br/><br/><br/><br/> {{Infobox character
| name = Lyndon B. Johnson
| portrait = Portrait USA Lyndon B Johnson.png
| portraitsize =
| portraitlabel = Lyndon Johnson in 1965
| incumbenttitle = Senate Majority Leader
| incumbentdate = January 3, 1955
| toprole = President
| toproleholder = [[Dwight Eisenhower]] (1955-1957) <br/> [[Estes Kefauver]] (1957-1961) <br/> [[Richard Nixon]] (1961-1963) <br/> [[John F. Kennedy]] (1963) <br/> [[John McCormack]] (1963-1965)
| precededby = William F. Knowland
| succeededby =
| incumbenttitle1 = United States Senator <br/> from [[w:Texas|{{color|darkblue|Texas}}]]
| incumbentdate1 = January 3, 1949
| toprolea =
| toproleholdera =
| precededbya = W. Lee O'Daniel
| succeededbya =
| title1 = Senate Minority Leader
| assumed1 = January 3, 1953
| left1 = January 3, 1955
| toprole1 =
| toproleholder1 =
| precededby1 = Styles Bridges
| succeededby1 = William F. Knowland
| title2 = Member of the <br/> U.S. House of Representatives <br/> from Texas's 10th district
| assumed2 = April 10, 1937
| left2 = January 3, 1949
| toprole2 =
| toproleholder2 =
| precededby2 = James P. Buchanan
| succeededby2 = Homer Thornberry
| title8 = <u>Potential</u> <br/> 39th [[List of US Presidents|{{color|darkblue|President of the United States}}]]
| assumed8 = January 20, 1965
| left8 = January 20, 1969/1973
| toprole8 = Vice President
| toproleholder8 = [[Edmund Muskie]]
| precededby8 = [[John McCormack]]
| succeededby8 =
| longname = Lyndon Baines Johnson
| birthdate = August 27, 1908
| birthplace = Place of Birth
| age = 53 years old
| nationality = [[File:Flag_of_the_United_States_(DoS_ECA_Color_Standard).svg|25px]] [[United States of America|American]]
| role =
*Democratic Senator for Texas
*Leader of the Labor Democrats
*Potential 1965 Presidential Nominee, and potential President
| party = [[Republican-Democratic Coalition]] - ([[Democratic Party|Democrat]])
| otherparty =
| ideology = Dynastic Liberalism
| ideologyaddendum = LBJ
}} <pre> {{Infobox character
| name = Lyndon B. Johnson
| portrait = Portrait USA Lyndon B Johnson.png
| portraitsize =
| portraitlabel = Lyndon Johnson in 1965
| incumbenttitle = Senate Majority Leader
| incumbentdate = January 3, 1955
| toprole = President
| toproleholder = [[Dwight Eisenhower]] (1955-1957) <br/> [[Estes Kefauver]] (1957-1961) <br/> [[Richard Nixon]] (1961-1963) <br/> [[John F. Kennedy]] (1963) <br/> [[John McCormack]] (1963-1965)
| precededby = William F. Knowland
| succeededby =
| incumbenttitle1 = United States Senator <br/> from [[w:Texas|{{color|darkblue|Texas}}]]
| incumbentdate1 = January 3, 1949
| toprolea =
| toproleholdera =
| precededbya = W. Lee O'Daniel
| succeededbya =
| title1 = Senate Minority Leader
| assumed1 = January 3, 1953
| left1 = January 3, 1955
| toprole1 =
| toproleholder1 =
| precededby1 = Styles Bridges
| succeededby1 = William F. Knowland
| title2 = Member of the <br/> U.S. House of Representatives <br/> from Texas's 10th district
| assumed2 = April 10, 1937
| left2 = January 3, 1949
| toprole2 =
| toproleholder2 =
| precededby2 = James P. Buchanan
| succeededby2 = Homer Thornberry
| title8 = <u>Potential</u> <br/> 39th [[List of US Presidents|{{color|darkblue|President of the United States}}]]
| assumed8 = January 20, 1965
| left8 = January 20, 1969/1973
| toprole8 = Vice President
| toproleholder8 = [[Edmund Muskie]]
| precededby8 = [[John McCormack]]
| succeededby8 =
| longname = Lyndon Baines Johnson
| birthdate = August 27, 1908
| birthplace = Place of Birth
| age = 53 years old
| nationality = [[File:Flag_of_the_United_States_(DoS_ECA_Color_Standard).svg|25px]] [[United States of America|American]]
| role =
*Democratic Senator for Texas
*Leader of the Labor Democrats
*Potential 1965 Presidential Nominee, and potential President
| party = [[Republican-Democratic Coalition]] - ([[Democratic Party|Democrat]])
| otherparty =
| ideology = Dynastic Liberalism
| ideologyaddendum = LBJ
}} </pre> becomes what you see on the right
==Helpful pages==
[[List of ideologies]] <br/>
[[:Category:Ideology Icon Templates]]
<noinclude>[[Category:Template Documentations]]</noinclude>
|
Latest revision as of 02:13, 27 May 2024
Documentation[edit source]
Unless specified otherwise, parameters left blank will not appear on the page
{{Infobox character | name = | portrait = | portraitsize = | portraitlabel = | portraitalt = | incumbenttitle = | incumbentdate = | toprole = | toproleholder = | precededby = | succeededby = | title1 = | assumed1 = | left1 = | toprole1 = | toproleholder1 = | precededby1 = | succeededby1 = | title2 = | assumed2 = | left2 = | toprole2 = | toproleholder2 = | precededby2 = | succeededby2 = | longname = | birthdate = | birthplace = | deathdate = | deathplace = | age = | deathage = | nationality = | role = | party = | otherparty = | ideology = }}
extra title parameters:
| incumbenttitle1 = | incumbentdate1 = | toprolea = | toproleholdera = | precededbya = | succeededbya = | title3 = | assumed3 = | left3 = | toprole3 = | toproleholder3 = | precededby3 = | succeededby3 = | title4 = | assumed4 = | left4 = | toprole4 = | toproleholder4 = | precededby4 = | succeededby4 = | title5 = | assumed5 = | left5 = | toprole5 = | toproleholder5 = | precededby5 = | succeededby5 = | title6 = | assumed6 = | left6 = | toprole6 = | toproleholder6 = | precededby6 = | succeededby6 = | title7 = | assumed7 = | left7 = | toprole7 = | toproleholder7 = | precededby7 = | succeededby7 = | title8 = | assumed8 = | left8 = | toprole8 = | toproleholder8 = | precededby8 = | succeededby8 =
ideology icon template addendum:
| ideologyaddendum =
tabber: (deprecated, use tabber template and portraitalt)
| tabbertitle1 = | tabberfile1 = | tabbercaption1 = | tabbertitle2 = | tabberfile2 = | tabbercaption2 = | tabbertitle3 = | tabberfile3 = | tabbercaption3 = | tabbertitle4 = | tabberfile4 = | tabbercaption4 = | tabbertitle5 = | tabberfile5 = | tabbercaption5 = | tabbertitle6 = | tabberfile6 = | tabbercaption6 =
How to use each parameter:[edit source]
name = character's name
portrait = character's portrait file name. the template automatically embeds the image
portraitsize = size of the portrait. defaults to 210px vertical if left empty
portraitlabel = caption for the portrait
portraitalt = use when you need to put text in the portrait slot. has no formatting. use the tabber template here
incumbenttitle = highest level incumbent title of the character
incumbentdate = date that the character began their incumbency
toprole = the title of the top dog that the character is serving under (i.e. the president)
toproleholder = the guy who actually is the top dog
precededby = the character's predecessor
succeededby = the character's successor (only use if there's only 1 successor)
title = title that the character has previously held
assumed = when they gained that title
left = when they lost it
toprole = title of the top dog they served under
toproleholder = name of the top dog they served under
precededby = their predecessor
succeededby = their successor
longname = the character's full name, not localized
birthdate = the character's date of birth
birthplace = the character's place of birth
deathdate = the character's date of death
deathplace = the character's place of death
age = the character's age (IF THEY ARE ALIVE AT GAME START)
deathage = the character's death age
nationality = the character's nationality
role = the character's role and potential roles in the mod
party = the character's party
otherparty = previous and potential party affiliations of the character
ideology = the character's ideology
ideologyaddendum = to be used when an ideology has multiple icons/types which all use the same name, such as British Fascism or Dynastic Liberalism. check Category:Ideology Icon Templates to see what this parameter should be
tabber[edit source]
the tabber has been deprecated. if you wish to use it, use the tabber template in the portraitalt parameter. documentation has been kept for the sake of understanding previous instances of it being used
the tabber is a substitute for the standard image parameters. it will only work if all the image parameters are empty and if tabberfile1 isnt
tabbertitle = title for the tabber tab
tabberfile = name of the file to display in the tabber. the template automatically embeds it
tabbercaption = caption for the displayed image
Examples:[edit source]
Richard Nixon | |
---|---|
![]() Richard Nixon in 1963 | |
36th President of the United States Incumbent | |
January 20, 1961 | |
Vice President | John F. Kennedy |
Preceded by | Estes Kefauver |
Succeeded by | John F. Kennedy |
United States Senator from California | |
December 1, 1950 - January 1, 1961 | |
Preceded by | Sheridan Downey |
Succeeded by | Thomas Kuchel |
Member of the U.S. House of Representatives for California's 12th district | |
January 3, 1947 - November 30, 1950 | |
Preceded by | Jerry Voorhis |
Succeeded by | Patrick J. Hillings |
Personal details | |
Native name | Richard Milhous Nixon |
Date of birth | January 9, 1913 |
Place of birth | Yorba Linda, California, U.S. |
Age at start | 49 years old |
Nationality | |
Role | Starting leader of the USA |
Political party | Republican-Democratic Coalition - (Republican) |
Ideology | ![]() |
{{Infobox character | name = Richard Nixon | portrait = Portrait USA Richard Nixon.png | portraitsize = | portraitlabel = Richard Nixon in 1963 | incumbenttitle = 36th [[List of US Presidents|{{color|darkblue|President of the United States}}]] | incumbentdate = January 20, 1961 | toprole = Vice President | toproleholder = John F. Kennedy | precededby = [[Estes Kefauver]] | succeededby = [[John F. Kennedy]] | title1 = United States Senator <br/> from [[w:California|{{color|darkblue|California}}]] | assumed1 = December 1, 1950 | left1 = January 1, 1961 | toprole1 = | toproleholder1 = | precededby1 = Sheridan Downey | succeededby1 = Thomas Kuchel | title2 = Member of the <br/> U.S. House of Representatives <br/> for California's 12th district | assumed2 = January 3, 1947 | left2 = November 30, 1950 | toprole2 = | toproleholder2 = | precededby2 = Jerry Voorhis | succeededby2 = Patrick J. Hillings | longname = Richard Milhous Nixon | birthdate = January 9, 1913 | birthplace = Yorba Linda, California, U.S. | deathdate = | deathplace = | age = 49 years old | deathage = | nationality = [[File:Flag_of_the_United_States_(DoS_ECA_Color_Standard).svg|25px]] [[United States of America|American]] | role = Starting leader of the USA | party = [[Republican-Democratic Coalition]] - ([[Republican Party|Republican]]) | otherparty = | ideology = Silent Conservatism }}
becomes what you see on the right
Lyndon B. Johnson | |
---|---|
![]() Lyndon Johnson in 1965 | |
Senate Majority Leader Incumbent | |
January 3, 1955 | |
President | Dwight Eisenhower (1955-1957) Estes Kefauver (1957-1961) Richard Nixon (1961-1963) John F. Kennedy (1963) John McCormack (1963-1965) |
Preceded by | William F. Knowland |
United States Senator from Texas Incumbent | |
January 3, 1949 | |
Preceded by | W. Lee O'Daniel |
Senate Minority Leader | |
January 3, 1953 - January 3, 1955 | |
Preceded by | Styles Bridges |
Succeeded by | William F. Knowland |
Member of the U.S. House of Representatives from Texas's 10th district | |
April 10, 1937 - January 3, 1949 | |
Preceded by | James P. Buchanan |
Succeeded by | Homer Thornberry |
Potential 39th President of the United States | |
January 20, 1965 - January 20, 1969/1973 | |
Vice President | Edmund Muskie |
Preceded by | John McCormack |
Personal details | |
Native name | Lyndon Baines Johnson |
Date of birth | August 27, 1908 |
Place of birth | Place of Birth |
Age at start | 53 years old |
Nationality | |
Role |
|
Political party | Republican-Democratic Coalition - (Democrat) |
Ideology | ![]() |
{{Infobox character | name = Lyndon B. Johnson | portrait = Portrait USA Lyndon B Johnson.png | portraitsize = | portraitlabel = Lyndon Johnson in 1965 | incumbenttitle = Senate Majority Leader | incumbentdate = January 3, 1955 | toprole = President | toproleholder = [[Dwight Eisenhower]] (1955-1957) <br/> [[Estes Kefauver]] (1957-1961) <br/> [[Richard Nixon]] (1961-1963) <br/> [[John F. Kennedy]] (1963) <br/> [[John McCormack]] (1963-1965) | precededby = William F. Knowland | succeededby = | incumbenttitle1 = United States Senator <br/> from [[w:Texas|{{color|darkblue|Texas}}]] | incumbentdate1 = January 3, 1949 | toprolea = | toproleholdera = | precededbya = W. Lee O'Daniel | succeededbya = | title1 = Senate Minority Leader | assumed1 = January 3, 1953 | left1 = January 3, 1955 | toprole1 = | toproleholder1 = | precededby1 = Styles Bridges | succeededby1 = William F. Knowland | title2 = Member of the <br/> U.S. House of Representatives <br/> from Texas's 10th district | assumed2 = April 10, 1937 | left2 = January 3, 1949 | toprole2 = | toproleholder2 = | precededby2 = James P. Buchanan | succeededby2 = Homer Thornberry | title8 = <u>Potential</u> <br/> 39th [[List of US Presidents|{{color|darkblue|President of the United States}}]] | assumed8 = January 20, 1965 | left8 = January 20, 1969/1973 | toprole8 = Vice President | toproleholder8 = [[Edmund Muskie]] | precededby8 = [[John McCormack]] | succeededby8 = | longname = Lyndon Baines Johnson | birthdate = August 27, 1908 | birthplace = Place of Birth | age = 53 years old | nationality = [[File:Flag_of_the_United_States_(DoS_ECA_Color_Standard).svg|25px]] [[United States of America|American]] | role = *Democratic Senator for Texas *Leader of the Labor Democrats *Potential 1965 Presidential Nominee, and potential President | party = [[Republican-Democratic Coalition]] - ([[Democratic Party|Democrat]]) | otherparty = | ideology = Dynastic Liberalism | ideologyaddendum = LBJ }}
becomes what you see on the right