Template:Infobox person: Difference between revisions

From PRIME Universe Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Death Date
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Death Date
| style="padding:6px;" | {{{death|}}}
| style="padding:6px;" | {{{death|}}}
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Death Place
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Death Place
| style="padding:6px;" | {{{deathplace|}}}
| style="padding:6px;" | {{{deathplace|}}}
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Cause of Death
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Cause of Death
| style="padding:6px;" | {{{deathcause|}}}
| style="padding:6px;" | {{{deathcause|}}}
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Age
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Age
Line 42: Line 42:
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Affiliations
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Affiliations
| style="padding:6px;" | {{{affiliations|}}}
| style="padding:6px;" | {{{affiliations|}}}
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Organisation
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Organisation
| style="padding:6px;" | {{{organisation|}}}
| style="padding:6px;" | {{{organisation|}}}
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Title
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Title
| style="padding:6px;" | {{{title2|}}}
| style="padding:6px;" | {{{title2|}}}
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Family
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Family
Line 54: Line 54:
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Spouse
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Spouse
| style="padding:6px;" | {{{spouse|}}}
| style="padding:6px;" | {{{spouse|}}}
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Children
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Children
| style="padding:6px;" | {{{children|}}}
| style="padding:6px;" | {{{children|}}}
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Residence
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Residence
Line 66: Line 66:
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Awards
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Awards
| style="padding:6px;" | {{{awards|}}}
| style="padding:6px;" | {{{awards|}}}
|-
|-
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Status
! style="text-align:left; padding:6px; background-color:#f2f2f2;" | Status
| style="padding:6px;" | {{{status|Unknown}}}
| style="padding:6px;" | {{{status|Unknown}}}
|}
|}
<noinclude>
<noinclude>
==Usage==
== Usage ==
Example:
<pre>
<pre>
{{Infobox
{{Infobox person
  | title        = John Doe
  | title        = John Doe
  | image        = [[File:Example.jpg|250px]]
  | image        = [[File:Example.jpg|250px]]
Line 81: Line 81:
  | birth        = 1990
  | birth        = 1990
  | birthplace  = Earth
  | birthplace  = Earth
| death        = 2060
| deathplace  = Mars Colony
| deathcause  = Radiation poisoning
| age          = 70
  | nationality  = Terran
  | nationality  = Terran
  | occupation  = Engineer
  | occupation  = Engineer
  | yearsactive  = 2010–2055
  | yearsactive  = 2010–2055
  | knownfor    = Terraforming project
  | knownfor    = Terraforming project
| education    = Commonwealth Institute
  | affiliations = Terran Commonwealth
  | affiliations = Terran Commonwealth
  | organisation = MassTek Industries
  | organisation = MassTek Industries
| title2      = Chief Engineer
  | status      = Alive
| family      = Doe family
| spouse      = Jane Doe
| children    = Jack Doe
| residence    = Commonwealth Habitat-4
| religion    = Secular
| awards      = Medal of Innovation
  | status      = Deceased
}}
}}
</pre>
</pre>
<templatedata>
{
"description": "Infobox for characters or notable persons within the Commonwealth Archives.",
"params": {
"title": {"label": "Title","description": "Name of the person or character.","type": "string","required": true},
"image": {"label": "Image","description": "Profile or representative image.","type": "wiki-file-name"},
"species": {"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
}}