Template:Infobox character/doc: Difference between revisions
GameCreepr (talk | contribs) mNo edit summary |
GameCreepr (talk | contribs) No edit summary |
||
Line 48:
extra title parameters:
<pre>
| incumbenttitle1 =
| incumbentdate1 =
| toprolea =
| toproleholdera =
| precededbya =
| succeededbya =
| title3 =
| assumed3 =
Line 95 ⟶ 102:
| precededby8 =
| succeededby8 =
</pre>
dynastic liberalism icon style parameter:
<pre>
| dynasticliberalismstyle =
</pre>
tabber:
|
Revision as of 06:53, 7 April 2024
Documentation
If a person does not have the required parameter, leave the parameter blank. It will not show up in the page once left blank.
{{Infobox character | name = | portrait = | portraitsize = | portraitlabel = | 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 =
dynastic liberalism icon style parameter:
| dynasticliberalismstyle =
tabber:
| tabbertitle1 = | tabberfile1 = | tabbercaption1 = | tabbertitle2 = | tabberfile2 = | tabbercaption2 = | tabbertitle3 = | tabberfile3 = | tabbercaption3 =
How to use each parameter:
name = character's name
portrait = character's portrait file name. the template automatically embeds the image
portraitsize = size of the portrait. defaults to 156px horizontal if left empty
portraitlabel = caption for the portrait
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
tabber
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. only use the tabber parameters if you know what youre doing. check the template source to better understand how it works
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
Example:
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