Template:Infobox character: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Added some fields.)
(I forgot about the headers.)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<infobox>
{{Infobox
<title source="name"/>
| bodystyle  = {{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}}
<image source="image">
| abovestyle  = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{{textColor|{{Greater color contrast|{{{color}}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}
<caption source="imageCaption"/>
| headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{{textColor|{{Greater color contrast|{{{color}}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}
</image>
 
<group>
| title       = {{{name|{{PAGENAME}}}}}
<data source="realName"><label>Real name</label></data>
| autoheaders = y
<data source="aliases"><label>Aliases</label></data>
 
<data source="knownFor"><label>Known for</label></data>
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imageSize|}}}|sizedefault=300px|upright={{{imageUpright|1}}}|alt={{{imageAlt|}}}}}
<data source="Family"><label>Family</label></data>
| caption1    = {{{imageCaption|}}}
<data source="affiliation"><label>Affiliation</label></data>
 
<data source="friends"><label>Friends</label></data>
| label1      = Real name
<data source="enemies"><label>Enemies</label></data>
| data1      = {{{realName|}}}
</group>
 
<group>
| label2      = Aliases
<header>General information</header>
| data2      = {{{aliases|}}}
<data source="age"><label>Age</label></data>
 
<data source="sex"><label>Sex</label></data>
| label3      = Known for
<data source="gender"><label>Gender</label></data>
| data3      = {{{knownFor|}}}
<data source="sexualOrientation"><label>Sexual orientation</label></data>
 
<data source="race"><label>Race</label></data>
| label4      = Family
<data source="religion"><label>Religion</label></data>
| data4      = {{{family|}}}
<data source="nationality"><label>Country of origin</label></data>
 
<data source="residence"><label>City or country of residence</label></data>
| label5      = Affiliations
<data source="marital"><label>Marital status</label></data>
| data5      = {{{affiliations|}}}
        <data source="significantOther"><label>Significant other</label></data>
 
<data source="birthDate"><label>Date of birth</label></data>
| label6      = Friends
<data source="birthPlace"><label>Place of birth</label></data>
| data6      = {{{friends|}}}
<data source="deathDate"><label>Date of death</label></data>
 
<data source="deathPlace"><label>Place of death</label></data>
| label7      = Enemies
</group>
| data7      = {{{enemies|}}}
<group>
 
<header>Physical description</header>
| header8    = General information
<data source="height"><label>Height</label></data>
 
<data source="weight"><label>Weight</label></data>
| label9      = Age
<data source="eyes"><label>Eye color</label></data>
| data9      = {{{age|}}}
</group>
 
<group>
| label10    = Sex
<header>Socials</header>
| data10      = {{{sex|}}}
<data source="webpage"><label>Webpage</label></data>
 
<data source="otherSocials"><label>Others</label></data>
| label11    = Gender
</group>
| data11      = {{{gender|}}}
</infobox><noinclude>
 
| label12    = Sexual orientation
| data12      = {{{sexualOrientation|}}}
 
| label13    = Race
| data13      = {{{race|}}}
 
| label14    = Religion
| data14      = {{{religion|}}}
 
| label15    = Country of origin
| data15      = {{{nationality|}}}
 
| label16    = City or country of residence
| data16      = {{{residence|}}}
 
| label17    = Marital status
| data17      = {{{marital|}}}
 
| label18    = Significant other
| data18      = {{{significantOther|}}}
 
| label19    = Occupation
| data19      = {{{occupation|}}}
 
| label20    = Employer
| data20      = {{{employer|}}}
 
| label21    = Organization
| data21      = {{{organization|}}}
 
| label22    = Date of birth
| data22      = {{{birthDate|}}}
 
| label23    = Place of birth
| data23      = {{{birthPlace|}}}
 
| label24    = Date of death
| data24      = {{{deathDate|}}}
 
| label25    = Place of death
| data25      = {{{deathPlace|}}}
 
| header26    = Physical description
 
| label27    = Height
| data27      = {{{height|}}}
 
| label28    = Weight
| data28      = {{{weight|}}}
 
| label29    = Eye color
| data29      = {{{eyes|}}}
 
| header30    = Socials
 
| label31    = Webpage
| data31      = {{{webpage|}}}
 
| label32    = Others
| data32      = {{{otherSocials|}}}
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 10:06, 21 November 2024

Infobox character