Psuvillager (talk | contribs) (Same) Tag: Reverted |
Psuvillager (talk | contribs) (Fresh start) Tag: Reverted |
||
| Line 1: | Line 1: | ||
< |
<table class="infobox"> |
||
<tr> |
|||
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div> |
|||
<th class="infobox-title" colspan="2">{{{name|{{PAGENAME}}}}}</th> |
|||
</tr> |
|||
{{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|300px}}}|alt={{{alt|}}}]]}} |
|||
{{#if:{{{image|}}}| |
|||
</div> |
|||
<tr> |
|||
{{#if:{{{caption|}}}|<div style="text-align:center;">'' {{{caption}}} ''</div>}} |
|||
<td class="infobox-image" colspan="2" style="text-align:center;"> |
|||
<table> |
|||
[[File:{{{image}}}|{{{imagesize|300px}}}|alt={{{alt|}}}]] |
|||
{{#if:{{{gender|}}}|<tr><th>Gender/Pronouns</th><td>{{{gender}}}</td></tr>|}} |
|||
{{#if:{{{caption|}}}|<div><small><em>{{{caption}}}</em></small></div>}} |
|||
</td> |
|||
{{#if:{{{playerPronouns|}}}|<tr><th>Player Pronouns</th><td>{{{playerPronouns}}}</td></tr>|}} |
|||
</tr> |
|||
{{#if:{{{alias|}}}| |
|||
}} |
|||
<tr><th>Alias</th><td>{{{alias}}}</td></tr> |
|||
{{#if:{{{gender|}}}|<tr><th>Gender/Pronouns</th><td>{{{gender}}}</td></tr>}} |
|||
|{{#if:{{{aliases|}}}| |
|||
{{#if:{{{playerName|}}}|<tr><th>Player Name</th><td>{{{playerName}}}</td></tr>}} |
|||
{{#if:{{{playerPronouns|}}}|<tr><th>Player Pronouns</th><td>{{{playerPronouns}}}</td></tr>}} |
|||
}}}} |
|||
{{#if:{{{relatives|}}}|<tr><th>Relatives</th><td>{{{relatives}}}</td></tr>}} |
|||
{{#if:{{{alias|{{{aliases|}}}}}}|<tr><th>Alias</th><td>{{{alias|{{{aliases}}}}}</td></tr>}} |
|||
{{#if:{{{affiliation|}}}| |
|||
<tr><th>Affiliations</th><td>{{{affiliation}}}</td></tr> |
|||
{{#if:{{{relatives|}}}|<tr><th>Relatives</th><td>{{{relatives}}}</td></tr>}} |
|||
|{{#if:{{{affilliation|}}}| |
|||
<tr><th>Affiliations</th><td>{{{affilliation}}}</td></tr> |
|||
{{#if:{{{affiliation|{{{affilliation|}}}}}}|<tr><th>Affiliations</th><td>{{{affiliation|{{{affilliation}}}}}</td></tr>}} |
|||
}}}} |
|||
{{#if:{{{languages|}}}|<tr><th>Languages</th><td>{{{languages}}}</td></tr>|}} |
|||
{{#if:{{{languages|}}}|<tr><th>Languages</th><td>{{{languages}}}</td></tr>}} |
|||
{{#if:{{{marital|}}}|<tr><th>Marital Status</th><td>{{{marital}}}</td></tr>}} |
|||
{{#if:{{{birthPlace|}}}|<tr><th>Place of Birth</th><td>{{{birthPlace}}}</td></tr>|}} |
|||
{{#if:{{{birthDate|}}}|<tr><th>Date of Birth</th><td>{{{birthDate}}}</td></tr>}} |
|||
{{#if:{{{birthPlace|}}}|<tr><th>Place of Birth</th><td>{{{birthPlace}}}</td></tr>}} |
|||
{{#if:{{{species|}}}|<tr><th>Species</th><td>{{{species}}}</td></tr>|}} |
|||
{{#if:{{{deathDate|}}}|<tr><th>Date of Death</th><td>{{{deathDate}}}</td></tr>}} |
|||
{{#if:{{{deathPlace|}}}|<tr><th>Place of Death</th><td>{{{deathPlace}}}</td></tr>}} |
|||
{{#if:{{{eyes|}}}|<tr><th>Eye Color</th><td>{{{eyes}}}</td></tr>|}} |
|||
{{#if:{{{species|}}}|<tr><th>Species</th><td>{{{species}}}</td></tr>}} |
|||
{{#if:{{{height|}}}|<tr><th>Height</th><td>{{{height}}}</td></tr>}} |
|||
{{#if:{{{weight|}}}|<tr><th>Weight</th><td>{{{weight}}}</td></tr>}} |
|||
{{#if:{{{eyes|}}}|<tr><th>Eye Color</th><td>{{{eyes}}}</td></tr>}} |
|||
</table> |
|||
{{#if:{{{field1|}}}|<tr><th>{{{field1}}}</th><td>{{{value1}}}</td></tr>}} |
|||
</div> |
|||
{{#if:{{{field2|}}}|<tr><th>{{{field2}}}</th><td>{{{value2}}}</td></tr>}} |
|||
</div> |
|||
{{#if:{{{field3|}}}|<tr><th>{{{field3}}}</th><td>{{{value3}}}</td></tr>}} |
|||
{{#if:{{{field4|}}}|<tr><th>{{{field4}}}</th><td>{{{value4}}}</td></tr>}} |
|||
</table> |
|||
<noinclude> |
<noinclude> |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"params": { |
|||
"name": { |
|||
" |
"type": "string", |
||
" |
"label": "Name", |
||
"description": "Displayed title of the infobox", |
|||
"default": "{{PAGENAME}}" |
|||
}, |
|||
"example": "\"A White Male with a Green Shirt stands at attention\"", |
|||
"image": { |
|||
"type": "string", |
|||
"label": "Image", |
|||
"description": "Image file name (no 'File:' prefix)" |
|||
"caption": {}, |
|||
}, |
|||
"alt": { |
|||
"gender": {"default": " / "}, |
|||
"type": "string", |
|||
"label": "Alt text", |
|||
"description": "Alternative text for screen readers", |
|||
"aliases": {"default": " "}, |
|||
"example": "A man wearing a green shirt" |
|||
"alias": {"default": ""}, |
|||
}, |
|||
"relatives": {"default": " "}, |
|||
"imagesize": { |
|||
"affiliation": {"default": " "}, |
|||
"type": "string", |
|||
"label": "Image size", |
|||
"default": "300px" |
|||
}, |
|||
"birthDate": {"default": " "}, |
|||
"caption": { |
|||
"birthPlace": {"default": " "}, |
|||
"type": "string", |
|||
"label": "Image caption", |
|||
"description": "Caption shown below the image" |
|||
}, |
|||
"species": {"default": " "}, |
|||
"gender": { |
|||
"type": "string", |
|||
"label": "Gender/Pronouns" |
|||
}, |
|||
"playerName": { |
|||
"type": "string", |
|||
"label": "Player Name" |
|||
}, |
|||
"playerPronouns": { |
|||
"type": "string", |
|||
" |
"label": "Player Pronouns" |
||
}, |
|||
"alias": { |
|||
"type": "string", |
|||
"name", |
|||
"label": "Alias" |
|||
"image", |
|||
}, |
|||
"alt", |
|||
"aliases": { |
|||
"imagesize", |
|||
"type": "string", |
|||
"caption", |
|||
"label": "Alias (legacy support)" |
|||
"gender", |
|||
}, |
|||
"playerName", |
|||
"relatives": { |
|||
"playerPronouns", |
|||
"type": "string", |
|||
"aliases", |
|||
"label": "Relatives" |
|||
"alias", |
|||
}, |
|||
"relatives", |
|||
"affiliation": { |
|||
"type": "string", |
|||
"label": "Affiliations" |
|||
"languages", |
|||
}, |
|||
"marital", |
|||
"affilliation": { |
|||
"birthDate", |
|||
"type": "string", |
|||
"birthPlace", |
|||
"label": "Affiliations (misspelled legacy)" |
|||
"deathDate", |
|||
}, |
|||
"deathPlace", |
|||
"languages": { |
|||
"species", |
|||
"type": "string", |
|||
"height", |
|||
"label": "Languages" |
|||
"weight", |
|||
}, |
|||
"eyes", |
|||
"marital": { |
|||
"field1", |
|||
"type": "string", |
|||
"field2", |
|||
"label": "Marital Status" |
|||
"field3", |
|||
}, |
|||
"field4", |
|||
"birthDate": { |
|||
"value1", |
|||
"type": "string", |
|||
"value2", |
|||
"label": "Date of Birth" |
|||
"value3", |
|||
}, |
|||
"value4" |
|||
"birthPlace": { |
|||
] |
|||
"type": "string", |
|||
"label": "Place of Birth" |
|||
}, |
|||
"deathDate": { |
|||
"type": "string", |
|||
"label": "Date of Death" |
|||
}, |
|||
"deathPlace": { |
|||
"type": "string", |
|||
"label": "Place of Death" |
|||
}, |
|||
"species": { |
|||
"type": "string", |
|||
"label": "Species" |
|||
}, |
|||
"height": { |
|||
"type": "string", |
|||
"label": "Height" |
|||
}, |
|||
"weight": { |
|||
"type": "string", |
|||
"label": "Weight" |
|||
}, |
|||
"eyes": { |
|||
"type": "string", |
|||
"label": "Eye Color" |
|||
}, |
|||
"field1": { |
|||
"type": "string", |
|||
"label": "Custom Field 1 Label" |
|||
}, |
|||
"value1": { |
|||
"type": "string", |
|||
"label": "Custom Field 1 Value" |
|||
}, |
|||
"field2": { |
|||
"type": "string", |
|||
"label": "Custom Field 2 Label" |
|||
}, |
|||
"value2": { |
|||
"type": "string", |
|||
"label": "Custom Field 2 Value" |
|||
}, |
|||
"field3": { |
|||
"type": "string", |
|||
"label": "Custom Field 3 Label" |
|||
}, |
|||
"value3": { |
|||
"type": "string", |
|||
"label": "Custom Field 3 Value" |
|||
}, |
|||
"field4": { |
|||
"type": "string", |
|||
"label": "Custom Field 4 Label" |
|||
}, |
|||
"value4": { |
|||
"type": "string", |
|||
"label": "Custom Field 4 Value" |
|||
} |
|||
}, |
|||
"paramOrder": [ |
|||
"name", |
|||
"image", |
|||
"alt", |
|||
"imagesize", |
|||
"caption", |
|||
"gender", |
|||
"playerName", |
|||
"playerPronouns", |
|||
"alias", |
|||
"aliases", |
|||
"relatives", |
|||
"affiliation", |
|||
"affilliation", |
|||
"languages", |
|||
"marital", |
|||
"birthDate", |
|||
"birthPlace", |
|||
"deathDate", |
|||
"deathPlace", |
|||
"species", |
|||
"height", |
|||
"weight", |
|||
"eyes", |
|||
"field1", |
|||
"value1", |
|||
"field2", |
|||
"value2", |
|||
"field3", |
|||
"value3", |
|||
"field4", |
|||
"value4" |
|||
] |
|||
} |
} |
||
</templatedata> |
</templatedata> |
||
Revision as of 02:36, 7 October 2025
| Infobox character |
|---|
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Displayed title of the infobox
| String | optional |
| Image | image | Image file name (no 'File:' prefix) | String | optional |
| Alt text | alt | Alternative text for screen readers
| String | optional |
| Image size | imagesize | no description
| String | optional |
| Image caption | caption | Caption shown below the image | String | optional |
| Gender/Pronouns | gender | no description | String | optional |
| Player Name | playerName | no description | String | optional |
| Player Pronouns | playerPronouns | no description | String | optional |
| Alias | alias | no description | String | optional |
| Alias (legacy support) | aliases | no description | String | optional |
| Relatives | relatives | no description | String | optional |
| Affiliations | affiliation | no description | String | optional |
| Affiliations (misspelled legacy) | affilliation | no description | String | optional |
| Languages | languages | no description | String | optional |
| Marital Status | marital | no description | String | optional |
| Date of Birth | birthDate | no description | String | optional |
| Place of Birth | birthPlace | no description | String | optional |
| Date of Death | deathDate | no description | String | optional |
| Place of Death | deathPlace | no description | String | optional |
| Species | species | no description | String | optional |
| Height | height | no description | String | optional |
| Weight | weight | no description | String | optional |
| Eye Color | eyes | no description | String | optional |
| Custom Field 1 Label | field1 | no description | String | optional |
| Custom Field 1 Value | value1 | no description | String | optional |
| Custom Field 2 Label | field2 | no description | String | optional |
| Custom Field 2 Value | value2 | no description | String | optional |
| Custom Field 3 Label | field3 | no description | String | optional |
| Custom Field 3 Value | value3 | no description | String | optional |
| Custom Field 4 Label | field4 | no description | String | optional |
| Custom Field 4 Value | value4 | no description | String | optional |
