Template:Infobox character: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
No edit summary
(Decided to do this.)
 
(21 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="realName"><label>Real name</label></data>
| autoheaders = y
    <data source="aliases"><label>Aliases</label></data>
 
    <data source="relatives"><label>Relatives</label></data>
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imageSize|}}}|sizedefault=300px|upright={{{imageUpright|1}}}|alt={{{imageAlt|}}}}}
    <data source="affiliation"><label>Affiliation</label></data>
| caption1    = {{{imageCaption|}}}
    </group>
 
     <group>
| label1      = Real name
        <header>General information</header>
| data1      = {{{realName|}}}
        <data source="age"><label>Age</label></data>
 
        <data source="sex"><label>Sex</label></data>
| label2      = Aliases
        <data source="gender"><label>Gender</label></data>
| data2      = {{{aliases|}}}
        <data source="orientation"><label style="width: 120px;">Sexual orientation/fetishes</label></data>
 
        <data source="race"><label>Race</label></data>
| label3      = Known for
        <data source="nationality"><label>Nationality</label></data>
| data3      = {{{knownFor|}}}
        <data source="residence"><label>City or country of residence</label></data>
 
        <data source="marital"><label>Marital status</label></data>
| label4      = Family
    <data source="birthDate"><label>Date of birth</label></data>
| data4      = {{{family|}}}
        <data source="birthPlace"><label>Place of birth</label></data>
 
        <data source="deathDate"><label>Date of death</label></data>
| label5      = Affiliations
        <data source="deathPlace"><label>Place of death</label></data>
| data5      = {{{affiliations|}}}
    </group>
 
    <group>
| label6      = Friends
        <header>Physical description</header>
| data6      = {{{friends|}}}
        <data source="height"><label>Height</label></data>
 
        <data source="weight"><label>Weight</label></data>
| label7      = Enemies
        <data source="eyes"><label>Eye color</label></data>
| data7      = {{{enemies|}}}
</group>
 
<group>
| header8     = General information
<header>Socials</header>
 
<data source="webpage"><label>Web Page</label></data>
| label9      = Age
</group>
| data9      = {{{age|}}}
</infobox>
 
| 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