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 1: Line 1:
<infobox>
<infobox>
<title source="title1">
<title source="full-name">
<default>{{PAGENAME}}</default>
<default>{{PAGENAME}}</default>
</title>
</title>
<image source="image1">
<image source="portrait">
</image>
</image>
<group>
<data source="born">
<header>Placeholder</header>
<label>born</label>
<data source="label1">
<label>Placeholder</label>
</data>
</data>
<data source="label2">
<data source="died">
<label>Placeholder</label>
<label>died</label>
</data>
</data>
</group>
</infobox>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
Example usage:<pre>
{{Spook-Infobox
{{Biography
|title1=Example
|full-name=Example
|image1=Example
|portrait=Example
|header1=Example
|born=Example
|label1=Example
|died=Example
|label2=Example
}}
}}
</pre>
</pre>
<templatedata>
<templatedata>
{"params":{"title1":{"aliases":["title1"],"label":"Placeholder","description":"Placeholder","example":"Placeholder","type":"string"},"image1":{"aliases":["image1"],"label":"Placeholder","description":"Placeholder","example":"Placeholder","type":"string"},"header1":{"aliases":["header1"],"label":"Placeholder","description":"Placeholder","example":"Placeholder","type":"string"},"label1":{"aliases":["label1"],"label":"Placeholder","description":"Placeholder","example":"Placeholder","type":"string"},"label2":{"aliases":["label2"],"label":"Placeholder","description":"Placeholder","example":"Placeholder","type":"string"}},"paramOrder":["title1","image1","header1","label1","label2"]}
{"params":{"title1":{"aliases":["full-name"],"label":"Full name","description":"Placeholder","example":"Placeholder","type":"string"},"image1":{"aliases":["portrait"],"label":"portrait","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"}},"paramOrder":["title1","image1","label1","label2"]}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 02:27, 28 July 2023

Example usage:

{{Biography
|full-name=Example
|portrait=Example
|born=Example
|died=Example
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Full nametitle1 full-name

Placeholder

Example
Placeholder
Stringoptional
portraitimage1 portrait

Placeholder

Example
Placeholder
Stringoptional
bornlabel1 born

Placeholder

Example
Placeholder
Stringoptional
diedlabel2 died

Placeholder

Example
Placeholder
Stringoptional