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 4: Line 4:
</title>
</title>
<image source="image1">
<image source="image1">
<caption source="caption1" />
</image>
</image>
<data source="headquarters">
<data source="label1">
<label>Military Unit Type</label>
<label>Born</label>
</data>
</data>
<data source="established">
<data source="label2">
<label>Established</label>
<label>Died</label>
</data>
</data>
<group>
<data source="label3">
<header>Leadership</header>
<label>Coronated</label>
<data source="marshal_commander">
<label>Generals</label>
</data>
</data>
<data source="commanders">
<label>Commanders</label>
</data>
</group>
<group>
<header>Details</header>
<data source="active_personnel">
<label>Active personnel</label>
</data>
<data source="budget">
<label>Budget</label>
</data>
<data source="affiliation">
<label>Affiliation</label>
</data>
</group>
</infobox>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
Example usage:<pre>
{{Dark-Angels-Army
{{Test
|title1=Example
|title1=Example
|image1=Example
|image1=Example
|caption1=Example
|born=Example
|headquarters=Example
|died=Example
|established=Example
|coronated=Example
|marshal_commander=Example
|commanders=Example
|active_personnel=Example
|budget=Example
|affiliation=Example
}}
}}
</pre>
</pre>
<templatedata>
<templatedata>
{"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"]}
{"params":{"title1":{"aliases":["title1"],"label":"Placeholder","description":"Placeholder","example":"Placeholder","type":"string"},"image1":{"aliases":["image1"],"label":"Placeholder","description":"Placeholder","example":"Placeholder","type":"string"},"label1":{"aliases":["born"],"label":"Born","description":"Placeholder","example":"Placeholder","type":"string"},"label2":{"aliases":["died"],"label":"Died","description":"Placeholder","example":"Placeholder","type":"string"},"label3":{"aliases":["coronated"],"label":"Coronated","description":"Placeholder","example":"Placeholder","type":"string"}},"paramOrder":["title1","image1","label1","label2","label3"]}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 21:33, 23 August 2023

Example usage:

{{Test
|title1=Example
|image1=Example
|born=Example
|died=Example
|coronated=Example
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Placeholdertitle1 title1

Placeholder

Example
Placeholder
Stringoptional
Placeholderimage1 image1

Placeholder

Example
Placeholder
Stringoptional
Bornlabel1 born

Placeholder

Example
Placeholder
Stringoptional
Diedlabel2 died

Placeholder

Example
Placeholder
Stringoptional
Coronatedlabel3 coronated

Placeholder

Example
Placeholder
Stringoptional