Jump to content

Template:Infobox character/doc: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1:
= Documentation =
IfUnless aspecified person does not have the required parameterotherwise, leaveparameters the parameterleft blank. It will not showappear up inon the page once left blank.
 
<pre>
{{Infobox Charactercharacter
| name =
| portrait =
| portraitcaptionportraitsize =
| portraitlabel =
| portraitalt =
 
| incumbenttitle =
| incumbentdate =
| toprole =
| toproleholder =
| precededby =
| succeededby =
 
| title1 =
| assumed1 =
| left1 =
| toprole1 =
| toproleholder1 =
| precededby1 =
| succeededby1 =
 
| title2 =
| assumed2 =
| left2 =
| toprole2 =
| toproleholder2 =
| precededby2 =
| succeededby2 =
 
| title3 =
| assumed3 =
| left3 =
| toprole3 =
| toproleholder3 =
| precededby3 =
| succeededby3 =
 
| title4 =
| assumed4 =
| left4 =
| toprole4 =
| toproleholder4 =
| precededby4 =
| succeededby4 =
| 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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.