Template:Infobox royalty: Difference between revisions
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
<tr> | <tr> | ||
<td class="infobox-image mw-no-invert" colspan="2"> | <td class="infobox-image mw-no-invert" colspan="2"> | ||
[[File:{{{image}}}|{{{imagesize|300px}}}|alt={{{image_alt|}}}|center]] | |||
{{#if: {{{image_caption|}}} | <div class="infobox-caption">{{{image_caption}}}</div> }} | {{#if: {{{image_caption|}}} | <div class="infobox-caption">{{{image_caption}}}</div> }} | ||
</td> | </td> | ||
| Line 104: | Line 104: | ||
{{#if: {{{death_date|}}} | | {{#if: {{{death_date|}}} | | ||
<tr> | <tr> | ||
<th scope="row">Age at death</th> | |||
<td>{{{death_date}}}</td> | <td>{{{death_date}}}</td> | ||
</tr> | </tr> | ||
| Line 131: | Line 131: | ||
"image": { "label": "Primary image filename", "description": "Filename only (no \"File:\" prefix).", "type": "string", "example": "EmpressYlva.png" }, | "image": { "label": "Primary image filename", "description": "Filename only (no \"File:\" prefix).", "type": "string", "example": "EmpressYlva.png" }, | ||
"imagesize": { "label": "Primary image size", "type": "string", "default": " | "imagesize": { "label": "Primary image size", "type": "string", "default": "300px" }, | ||
"image_alt": { "label": "Primary image alt text", "type": "string" }, | "image_alt": { "label": "Primary image alt text", "type": "string" }, | ||
"image_caption": { "label": "Primary image caption", "type": "string" }, | "image_caption": { "label": "Primary image caption", "type": "string" }, | ||