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 3: Line 3:
<default>{{PAGENAME}}</default>
<default>{{PAGENAME}}</default>
</title>
</title>
<image source="portrait">
<image source="image1">
<caption source="caption1" />
<caption source="caption1" />
</image>
</image>
<data source="born">
<data source="headquarters">
<label>Born</label>
<label>Military Unit Type</label>
</data>
</data>
<data source="died">
<data source="established">
<label>Died</label>
<label>Established</label>
</data>
<data source="cause_of_death">
<label>Cause of death</label>
</data>
</data>
<group>
<group>
<header>Personal Details</header>
<header>Leadership</header>
<data source="residence">
<data source="marshal_commander">
<label>Residence</label>
<label>Generals</label>
</data>
</data>
<data source="gender">
<data source="commanders">
<label>Gender</label>
<label>Commanders</label>
</data>
<data source="species">
<label>Species</label>
</data>
<data source="occupation">
<label>Occupation</label>
</data>
<data source="education">
<label>Education</label>
</data>
</data>
</group>
</group>
<group>
<group>
<header>Military Service</header>
<header>Details</header>
<data source="allegiance">
<data source="active_personnel">
<label>Allegiance</label>
<label>Active personnel</label>
</data>
<data source="budget">
<label>Budget</label>
</data>
</data>
<data source="battles/wars">
<data source="affiliation">
<label>Battles/Wars</label>
<label>Affiliation</label>
</data>
</data>
</group>
</group>
Line 45: Line 36:
<noinclude>
<noinclude>
Example usage:<pre>
Example usage:<pre>
{{Test
{{Dark-Angels-Army
|title1=Example
|title1=Example
|portrait=Example
|image1=Example
|caption1=Example
|caption1=Example
|born=Example
|headquarters=Example
|died=Example
|established=Example
|cause_of_death=Example
|marshal_commander=Example
|residence=Example
|commanders=Example
|gender=Example
|active_personnel=Example
|species=Example
|budget=Example
|occupation=Example
|affiliation=Example
|education=Example
|allegiance=Example
|battles/wars=Example
}}
}}
</pre>
</pre>
<templatedata>
<templatedata>
{"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"]}
{"params":{"image1":{"aliases":["image1"],"label":"image1","description":"Placeholder","example":"Placeholder","type":"string"},"caption1":{"aliases":["caption1"],"label":"caption1","description":"Placeholder","example":"Placeholder","type":"string"},"headquarters":{"aliases":["headquarters"],"label":"Military Unit Type","description":"Placeholder","example":"Placeholder","type":"string"},"established":{"aliases":["established"],"label":"Established","description":"Placeholder","example":"Placeholder","type":"string"},"marshal_commander":{"aliases":["marshal_commander"],"label":"Generals","description":"Placeholder","example":"Placeholder","type":"string"},"commanders":{"aliases":["commanders"],"label":"Commanders","description":"Placeholder","example":"Placeholder","type":"string"},"active_personnel":{"aliases":["active_personnel"],"label":"Active personnel","description":"Placeholder","example":"Placeholder","type":"string"},"budget":{"aliases":["budget"],"label":"Budget","description":"Placeholder","example":"Placeholder","type":"string"},"affiliation":{"aliases":["affiliation"],"label":"Affiliation","description":"Placeholder","example":"Placeholder","type":"string"},"title1":{"aliases":["title1"],"label":"title1","description":"Placeholder","example":"Placeholder","type":"string"}},"paramOrder":["title1","image1","caption1","headquarters","established","marshal_commander","commanders","active_personnel","budget","affiliation"]}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 22:35, 28 July 2023

Example usage:

{{Dark-Angels-Army
|title1=Example
|image1=Example
|caption1=Example
|headquarters=Example
|established=Example
|marshal_commander=Example
|commanders=Example
|active_personnel=Example
|budget=Example
|affiliation=Example
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
title1title1 title1

Placeholder

Example
Placeholder
Stringoptional
image1image1 image1

Placeholder

Example
Placeholder
Stringoptional
caption1caption1 caption1

Placeholder

Example
Placeholder
Stringoptional
Military Unit Typeheadquarters headquarters

Placeholder

Example
Placeholder
Stringoptional
Establishedestablished established

Placeholder

Example
Placeholder
Stringoptional
Generalsmarshal_commander marshal_commander

Placeholder

Example
Placeholder
Stringoptional
Commanderscommanders commanders

Placeholder

Example
Placeholder
Stringoptional
Active personnelactive_personnel active_personnel

Placeholder

Example
Placeholder
Stringoptional
Budgetbudget budget

Placeholder

Example
Placeholder
Stringoptional
Affiliationaffiliation affiliation

Placeholder

Example
Placeholder
Stringoptional