Template:Infobox character: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Add webpage field to the character infobox)
(Decided to do this.)
 
(24 intermediate revisions by 4 users 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: {{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}
    <caption source="imagecaption"/>
| headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}
</image>
 
<group>
| above      = {{{name|{{PAGENAME}}}}}
    <data source="aliases"><label>Aliases</label></data>
| autoheaders = y
    <data source="relatives"><label>Relatives</label></data>
 
    <data source="affiliation"><label>Affiliation</label></data>
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imageSize|}}}|sizedefault=300px|upright={{{imageUpright|1}}}|alt={{{imageAlt|}}}}}
     </group>
| caption1    = {{{imageCaption|}}}
     <group>
 
        <header>Biographical information</header>
| label1      = Real name
        <data source="marital"><label>Marital status</label></data>
| data1      = {{{realName|}}}
    <data source="birthDate"><label>Date of birth</label></data>
 
        <data source="birthPlace"><label>Place of birth</label></data>
| label2      = Aliases
        <data source="deathDate"><label>Date of death</label></data>
| data2      = {{{aliases|}}}
        <data source="deathPlace"><label>Place of death</label></data>
 
    </group>
| label3      = Known for
    <group>
| data3      = {{{knownFor|}}}
        <header>Physical description</header>
 
        <data source="species"><label>Species</label></data>
| label4      = Family
        <data source="gender"><label>Gender</label></data>
| data4      = {{{family|}}}
        <data source="height"><label>Height</label></data>
 
        <data source="weight"><label>Weight</label></data>
| label5      = Affiliations
        <data source="eyes"><label>Eye color</label></data>
| data5      = {{{affiliations|}}}
</group>
 
<group>
| label6      = Friends
<header>Socials</header>
| data6      = {{{friends|}}}
<data source="webpage"><label>Web Page</label></data>
 
</group>
| label7      = Enemies
</infobox>
| data7      = {{{enemies|}}}
 
| header8    = General information
 
| label9      = Age
| data9      = {{{age|}}}
 
| label10    = Sex
| data10      = {{{sex|}}}
 
| label11    = Gender
| data11      = {{{gender|}}}
 
| 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}}
</noinclude>

Latest revision as of 11:07, 22 November 2024

Infobox character