Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Spook Infobox: Difference between revisions

Template page
No edit summary
No edit summary
Line 62: Line 62:
</pre>
</pre>
<templatedata>
<templatedata>
{"params":{"title1":{"aliases":["title1"],"label":"Full Name","description":"Placeholder","example":"Placeholder","type":"string"},"image1":{"aliases":["portrait"],"label":"Portrait","description":"Placeholder","example":"Placeholder","type":"wiki-file-name"},"caption1":{"aliases":["caption1"],"label":"Caption for Portrait","description":"Placeholder","example":"Placeholder","type":"string"},"born":{"aliases":["born"],"label":"Born","description":"Month Day, Year","example":"January 15, 1987","type":"string"},"died":{"aliases":["died"],"label":"Died","description":"If still alive, leave blank. Month Day, Year","example":"Placeholder","type":"string"},"cause_of_death":{"aliases":["cause_of_death"],"label":"Cause of death","description":"Placeholder","example":"Placeholder","type":"string"},"residence":{"aliases":["residence"],"label":"Residence","description":"The person's current place of residence.","example":"Byfair","type":"string"},"gender":{"aliases":["gender"],"label":"Gender","description":"Placeholder","example":"Placeholder","type":"string"},"species":{"aliases":["species"],"label":"Species","description":"Placeholder","example":"Placeholder","type":"string"},"occupation":{"aliases":["occupation"],"label":"Occupation","description":"Placeholder","example":"Placeholder","type":"string"},"education":{"aliases":["education"],"label":"Education","description":"Major, minor, PhD, etc.","example":"PhD in Theoretical Physics, Harvard University","type":"string"},"allegiance":{"aliases":["allegiance"],"label":"Allegiance","description":"If the person served in the military, what country or corporation did they pledge allegiance to?","example":"Placeholder","type":"string"},"battles/wars":{"aliases":["battles/wars"],"label":"Battles/Wars","description":"If the person served in the military, what conflicts did they take part in?","example":"Placeholder","type":"string"}},"paramOrder":["title1","image1","caption1","born","died","cause_of_death","residence","gender","species","occupation","education","allegiance","battles/wars"]}
{"params":{"title1":{"aliases":["title1"],"label":"Full Name","description":"","example":"","type":"string"},"image1":{"aliases":["portrait"],"label":"Portrait","description":"","example":"","type":"wiki-file-name"},"caption1":{"aliases":["caption1"],"label":"Caption for Portrait","description":"","example":"","type":"string"},"born":{"aliases":["born"],"label":"Born","description":"Month Day, Year","example":"January 15, 1987","type":"string"},"died":{"aliases":["died"],"label":"Died","description":"If still alive, leave blank. Month Day, Year","example":"","type":"string"},"cause_of_death":{"aliases":["cause_of_death"],"label":"Cause of death","description":"","example":"","type":"string"},"residence":{"aliases":["residence"],"label":"Residence","description":"The person's current place of residence.","example":"Byfair","type":"string"},"gender":{"aliases":["gender"],"label":"Gender","description":"","example":"","type":"string"},"species":{"aliases":["species"],"label":"Species","description":"","example":"","type":"string"},"occupation":{"aliases":["occupation"],"label":"Occupation","description":"","example":"","type":"string"},"education":{"aliases":["education"],"label":"Education","description":"Major, minor, PhD, etc.","example":"PhD in Theoretical Physics, Harvard University","type":"string"},"allegiance":{"aliases":["allegiance"],"label":"Allegiance","description":"If the person served in the military, what country or corporation did they pledge allegiance to?","example":"","type":"string"},"battles/wars":{"aliases":["battles/wars"],"label":"Battles/Wars","description":"If the person served in the military, what conflicts did they take part in?","example":"","type":"string"}},"paramOrder":["title1","image1","caption1","born","died","cause_of_death","residence","gender","species","occupation","education","allegiance","battles/wars"]}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 20:52, 28 July 2023

Example usage:

{{Test
|title1=Example
|portrait=Example
|caption1=Example
|born=Example
|died=Example
|cause_of_death=Example
|residence=Example
|gender=Example
|species=Example
|occupation=Example
|education=Example
|allegiance=Example
|battles/wars=Example
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Full Nametitle1 title1

Example
Stringoptional
Portraitimage1 portrait

Example
Fileoptional
Caption for Portraitcaption1 caption1

Example
Stringoptional
Bornborn born

Month Day, Year

Example
January 15, 1987
Stringoptional
Dieddied died

If still alive, leave blank. Month Day, Year

Example
Stringoptional
Cause of deathcause_of_death cause_of_death

Example
Stringoptional
Residenceresidence residence

The person's current place of residence.

Example
Byfair
Stringoptional
Gendergender gender

Example
Stringoptional
Speciesspecies species

Example
Stringoptional
Occupationoccupation occupation

Example
Stringoptional
Educationeducation education

Major, minor, PhD, etc.

Example
PhD in Theoretical Physics, Harvard University
Stringoptional
Allegianceallegiance allegiance

If the person served in the military, what country or corporation did they pledge allegiance to?

Example
Stringoptional
Battles/Warsbattles/wars battles/wars

If the person served in the military, what conflicts did they take part in?

Example
Stringoptional