Template:Test: Difference between revisions

From The Reed and Rite
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{Infobox
{{Infobox|
| {{{name|}}}
<body=
| {{{image|}}}
<!-- Name -->
| {{{caption|}}}
| content =
{{#if: {{{born|}}} |
<tr>
<tr>
  <th colspan="2">{{{name|No name provided}}}</th>
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Born</td>
  <td style="padding: 0.1em;">{{{born}}}</td>
</tr>
</tr>
 
}}
<!-- Image -->
{{#if: {{{died|}}} |
{{#if: {{{image|}}} |
<tr>
<tr>
  <td colspan="2" class="image">
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Died</td>
    [[File:{{{image}}}|200px|center|alt={{{caption|}}}|{{{caption|}}}]]
  <td style="padding: 0.1em;">{{{died}}}</td>
  </td>
</tr>
</tr>
}}
}}
 
{{#if: {{{spouse|}}} |
<!-- Caption -->
{{#if: {{{caption|}}} |
<tr>
<tr>
  <td colspan="2" class="caption">{{{caption}}}</td>
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Spouse</td>
  <td style="padding: 0.1em;">{{{spouse}}}</td>
</tr>
</tr>
}}
<!-- Fields -->
{{#if: {{{born|}}} |
<tr><td class="label">Born</td><td class="data">{{{born}}}</td></tr>
}}
{{#if: {{{died|}}} |
<tr><td class="label">Died</td><td class="data">{{{died}}}</td></tr>
}}
{{#if: {{{spouse|}}} |
<tr><td class="label">Spouse</td><td class="data">{{{spouse}}}</td></tr>
}}
}}
{{#if: {{{parents|}}} |
{{#if: {{{parents|}}} |
<tr><td class="label">Parents</td><td class="data">{{{parents}}}</td></tr>
<tr>
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Parents</td>
  <td style="padding: 0.1em;">{{{parents}}}</td>
</tr>
}}
}}
{{#if: {{{children|}}} |
{{#if: {{{children|}}} |
<tr><td class="label">Children</td><td class="data">{{{children}}}</td></tr>
<tr>
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Children</td>
  <td style="padding: 0.1em;">{{{children}}}</td>
</tr>
}}
}}
{{#if: {{{relatives|}}} |
{{#if: {{{relatives|}}} |
<tr><td class="label">Relatives</td><td class="data">{{{relatives}}}</td></tr>
<tr>
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Relatives</td>
  <td style="padding: 0.1em;">{{{relatives}}}</td>
</tr>
}}
}}
{{#if: {{{profession|}}} |
{{#if: {{{profession|}}} |
<tr><td class="label">Profession</td><td class="data">{{{profession}}}</td></tr>
<tr>
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Profession</td>
  <td style="padding: 0.1em;">{{{profession}}}</td>
</tr>
}}
}}
{{#if: {{{titles|}}} |
{{#if: {{{titles|}}} |
<tr><td class="label">Titles</td><td class="data">{{{titles}}}</td></tr>
<tr>
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Titles</td>
  <td style="padding: 0.1em;">{{{titles}}}</td>
</tr>
}}
}}
{{#if: {{{monikers|}}} |
{{#if: {{{monikers|}}} |
<tr><td class="label">Monikers</td><td class="data">{{{monikers}}}</td></tr>
<tr>
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Monikers</td>
  <td style="padding: 0.1em;">{{{monikers}}}</td>
</tr>
}}
}}
{{#if: {{{groups|}}} |
{{#if: {{{groups|}}} |
<tr><td class="label">Groups</td><td class="data">{{{groups}}}</td></tr>
<tr>
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Groups</td>
  <td style="padding: 0.1em;">{{{groups}}}</td>
</tr>
}}
}}
{{#if: {{{introduced|}}} |
{{#if: {{{introduced|}}} |
<tr><td class="label">Introduced</td><td class="data">{{{introduced}}}</td></tr>
<tr>
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Introduced</td>
  <td style="padding: 0.1em;">{{{introduced}}}</td>
</tr>
}}
}}
{{#if: {{{last_mentioned|}}} |
{{#if: {{{last_mentioned|}}} |
<tr><td class="label">Last Mentioned</td><td class="data">{{{last_mentioned}}}</td></tr>
<tr>
}}
  <td style="font-weight: bold; padding: 0.1em; vertical-align: top; width: 35%;">Last Mentioned</td>
  <td style="padding: 0.1em;">{{{last_mentioned}}}</td>
</tr>
}}
}}
[[Category:Characters]]
}}[[Category:Characters]]</includeonly><noinclude>
</includeonly><noinclude>
This page is for testing out new templates or for making alterations to live templates without damaging them.
This page is for testing out new templates or for making alterations to live templates without damaging them.



Revision as of 01:32, 6 April 2025

This page is for testing out new templates or for making alterations to live templates without damaging them.

No name provided
No name provided