Template:NPCDemographics: Difference between revisions

From Dreams of Hope
Created page with " <noinclude> <templatedata> { "params": { "Birth Date": { "type": "date", "required": true }, "Birth-Place": { "example": "Kaelthia, Council Lands", "type": "string" }, "Residence": { "description": "Current residence, if not dead", "type": "string", "suggested": true }, "Lineage": { "example": "ihmisi", "type": "string", "required": true }, "Description": { "description": "Physical Description", "type": "string" }..."
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 29: Line 29:
"type": "content",
"type": "content",
"suggestedvalues": [
"suggestedvalues": [
"Male",
"male",
"Female",
"female",
"Neuter",
"neuter",
"Other"
"other"
],
],
"required": true
"required": true
},
},
"Occupation": {},
"Occupation": {
"Title": {},
"description": "Either this or title + organization must be set"
},
"Title": {
"description": "Either this + organization or occupation must be set",
"type": "string"
},
"Organization-affiliation": {},
"Organization-affiliation": {},
"other": {},
"other": {},
Line 49: Line 54:
}
}
},
},
"format": "block"
"format": "block",
"paramOrder": [
"Birth Date",
"Birth-Place",
"Residence",
"Lineage",
"Description",
"Gender",
"Occupation",
"Title",
"Organization-affiliation",
"other",
"Death-Date",
"name"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
==Demographics==
==Demographics==
'''Born:''' {{{Birth-Date}}}{{{#if: {{{Birth-Place|}}} |, {{{Birth-Place|}}} | }}}
A {{{Gender}}} {{{Lineage}}} {{{#if: {{{Residence}}} || of {{{Residence|}}}}}}
 
'''Born:''' {{{Birth Date}}}{{{#if: {{{Birth-Place}}} ||, {{{Birth-Place|}}}}}}
 
'''Died:''' {{{Death-Date|N/A}}}
 
'''Residence:''' {{{Residence|N/A}}}
 
'''Occupation:''' {{{Occupation|{{{Title}}} of {{{Organization-affiliation|}}} }}}
 
{{{Description}}}


{{{#if: {{{Death-Date|}}}|'''Died:''' {{{Death-Date}}}|}}}
{{{other|}}}

Latest revision as of 20:36, 13 December 2024


No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Birth DateBirth Date

no description

Daterequired
Birth-PlaceBirth-Place

no description

Example
Kaelthia, Council Lands
Stringoptional
ResidenceResidence

Current residence, if not dead

Stringsuggested
LineageLineage

no description

Example
ihmisi
Stringrequired
DescriptionDescription

Physical Description

Stringoptional
GenderGender

no description

Suggested values
male female neuter other
Contentrequired
OccupationOccupation

Either this or title + organization must be set

Unknownoptional
TitleTitle

Either this + organization or occupation must be set

Stringoptional
Organization-affiliationOrganization-affiliation

no description

Unknownoptional
otherother

no description

Unknownoptional
Death-DateDeath-Date

Omit if alive as of 253 AC.

Dateoptional
namename

no description

Page namerequired

Demographics

A {{{Gender}}} {{{Lineage}}}

Born: {{{Birth Date}}}

Died: N/A

Residence: N/A

Occupation: {{{Title}}} of

{{{Description}}}