Template:Infobox person: Difference between revisions

From PRIME Universe Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="width:300px; border:1px solid #a2a9b1; background-color:#f8f9fa; border-collapse:collapse; float:right; margin:0 0 1em 1em; font-size:95%; line-height:1.4em;"
|-
! colspan="2" style="background-color:#e6e6e6; text-align:center; font-size:110%; padding:6px; border-bottom:1px solid #a2a9b1;" | {{{title|Infobox Title}}}
|-
| colspan="2" style="text-align:center; padding:6px;" | {{{image|[[File:Info.png|250px|alt=Example image]]}}}
|-
! style="width:35%; text-align:left; padding:6px; background-color:#f2f2f2;" | Species / Race
| style="padding:6px;" | {{{species|Unknown}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Birth Date
| style="padding:6px;" | {{{birth|Unknown}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Birth Place
| style="padding:6px;" | {{{birthplace|Unknown}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Death Date
| style="padding:6px;" | {{{death|—}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Death Place
| style="padding:6px;" | {{{deathplace|—}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Cause of Death
| style="padding:6px;" | {{{deathcause|—}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Age
| style="padding:6px;" | {{{age|Unknown}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Nationality
| style="padding:6px;" | {{{nationality|Unknown}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Occupation
| style="padding:6px;" | {{{occupation|Unknown}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Years Active
| style="padding:6px;" | {{{yearsactive|Unknown}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Known For
| style="padding:6px;" | {{{knownfor|Unknown}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Education
| style="padding:6px;" | {{{education|None}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Affiliations
| style="padding:6px;" | {{{affiliations|—}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Organisation
| style="padding:6px;" | {{{organisation|—}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Title
| style="padding:6px;" | {{{title2|—}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Family
| style="padding:6px;" | {{{family|None}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Spouse
| style="padding:6px;" | {{{spouse|—}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Children
| style="padding:6px;" | {{{children|—}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Residence
| style="padding:6px;" | {{{residence|Unknown}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Religion
| style="padding:6px;" | {{{religion|None}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Awards
| style="padding:6px;" | {{{awards|—}}}
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Status
| style="padding:6px;" | {{{status|Unknown}}}
|}
<noinclude>
<noinclude>
{{Documentation}}
== Usage ==
 
Example:
<templatedata>
<pre>
{
{{Infobox person
"description": "Infobox for characters or notable persons within the Commonwealth Archives.",
| title       = John Doe
"params": {
| image       = [[File:Example.jpg|250px]]
"title": {
| species     = Human
"label": "Title",
| birth       = 1990
"description": "The name of the person or character.",
| birthplace   = Earth
"type": "string",
| nationality = Terran
"required": true
| occupation   = Engineer
},
| yearsactive = 2010–2055
"image": {
| knownfor     = Terraforming project
"label": "Image",
| affiliations = Terran Commonwealth
"description": "Profile or representative image.",
| organisation = MassTek Industries
"type": "wiki-file-name"
| status       = Alive
},
}}
"species": {
</pre>
"label": "Species / Race",
"description": "The species or race of the person.",
"type": "string"
},
"birth": {
"label": "Birth Date",
"description": "Date of birth.",
"type": "date"
},
"birthplace": {
"label": "Birth Place",
"description": "Where the person was born.",
"type": "string"
},
"death": {
"label": "Death Date",
"description": "Date of death, if applicable.",
"type": "date"
},
"deathplace": {
"label": "Death Place",
"description": "Where the person died, if applicable.",
"type": "string"
},
"deathcause": {
"label": "Cause of Death",
"description": "How the person died, if applicable.",
"type": "string"
},
"age": {
"label": "Age",
"description": "Current or final age.",
"type": "number"
},
"nationality": {
"label": "Nationality",
"description": "Nationality or citizenship.",
"type": "string"
},
"occupation": {
"label": "Occupation",
"description": "Profession, role, or job.",
"type": "string"
},
"yearsactive": {
"label": "Years Active",
"description": "Years the person was active in their role or profession.",
"type": "string"
},
"knownfor": {
"label": "Known For",
"description": "What the person is known for.",
"type": "string"
},
"education": {
"label": "Education",
"description": "Educational background.",
"type": "string"
},
"affiliations": {
"label": "Affiliations",
"description": "Groups, factions, or organizations the person is associated with.",
"type": "string"
},
"organisation": {
"label": "Organisation",
"description": "Primary organization or employer.",
"type": "string"
},
"title2": {
"label": "Title / Rank",
"description": "Formal or noble title.",
"type": "string"
},
"family": {
"label": "Family",
"description": "Notable family members or relatives.",
"type": "string"
},
"spouse": {
"label": "Spouse",
"description": "Name of spouse(s).",
"type": "string"
},
"children": {
"label": "Children",
"description": "Names of children.",
"type": "string"
},
"residence": {
"label": "Residence",
"description": "Current or last known place of residence.",
"type": "string"
},
"religion": {
"label": "Religion",
"description": "Religious beliefs or affiliations.",
"type": "string"
},
"awards": {
"label": "Awards",
"description": "Honors, medals, or awards received.",
"type": "string"
},
"status": {
"label": "Status",
"description": "Alive, deceased, missing, etc.",
"type": "string"
}
}
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 12:01, 1 November 2025

Infobox Title
Example image
Species / Race Unknown
Birth Date Unknown
Birth Place Unknown
Death Date
Death Place
Cause of Death
Age Unknown
Nationality Unknown
Occupation Unknown
Years Active Unknown
Known For Unknown
Education None
Affiliations
Organisation
Title
Family None
Spouse
Children
Residence Unknown
Religion None
Awards
Status Unknown

Usage

Example:

{{Infobox person
 | title        = John Doe
 | image        = [[File:Example.jpg|250px]]
 | species      = Human
 | birth        = 1990
 | birthplace   = Earth
 | nationality  = Terran
 | occupation   = Engineer
 | yearsactive  = 2010–2055
 | knownfor     = Terraforming project
 | affiliations = Terran Commonwealth
 | organisation = MassTek Industries
 | status       = Alive
}}