Template:Infobox: Difference between revisions
Appearance
adding conditional statements to sections |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 14: | Line 14: | ||
{{ #if: {{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}} | | {{ #if: {{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}} | | ||
<tr> | <tr> | ||
<th>Born</th> | <th>Born</th><td> | ||
{{#if: {{{birth_name|}}} | | {{#if: {{{birth_name|}}} | | ||
<span class="nickname">{{{birth_name}}}</span><br/> | <span class="nickname">{{{birth_name}}}</span><br/> | ||
| Line 34: | Line 33: | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{died|}}} | | |||
<tr> | <tr> | ||
<th>Died</th> | <th>Died</th> | ||
<td | <td>{{{died}}}</td> | ||
</tr> | |||
}} | |||
{{#if: {{{spouse|}}} | | |||
<tr> | <tr> | ||
<th>Spouse</th> | <th>Spouse</th> | ||
<td>{{{spouse}}}</td> | <td>{{{spouse}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{children|}}} | | |||
<tr> | <tr> | ||
<th>Children</th> | <th>Children</th> | ||
<td>{{{children}}}</td> | <td>{{{children}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{relatives|}}} | | |||
<tr> | <tr> | ||
<th>Other Relatives</th> | <th>Other Relatives</th> | ||
<td>{{{relatives}}}</td> | <td>{{{relatives}}}</td> | ||
</tr> | </tr> | ||
}} | |||
<tr> | <tr> | ||
<th colspan="2" class="infobox-header" style="background:#CCCC99; color:black;"> | <th colspan="2" class="infobox-header" style="background:#CCCC99; color:black;">Career</th> | ||
</tr> | </tr> | ||
{{#if: {{{height|}}} | | |||
<tr> | <tr> | ||
<th>Height</th> | <th>Height</th> | ||
<td>{{{height}}}</td> | <td>{{{height}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{weight|}}} | | |||
<tr> | <tr> | ||
<th>Weight</th> | <th>Weight</th> | ||
<td>{{{weight}}}</td> | <td>{{{weight}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{billed|}}} | | |||
<tr> | <tr> | ||
<th>Billed From</th> | <th>Billed From</th> | ||
<td>{{{billed}}}</td> | <td>{{{billed}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{trainer|}}} | | |||
<tr> | <tr> | ||
<th>Trained by</th> | <th>Trained by</th> | ||
<td>{{{trainer}}}</td> | <td>{{{trainer}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{debut|}}} | | |||
<tr> | <tr> | ||
<th>Debut</th> | <th>Debut</th> | ||
<td>{{{debut}}}</td> | <td>{{{debut}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{retired|}}} | | |||
<tr> | <tr> | ||
<th>Retired</th> | <th>Retired</th> | ||
<td>{{{retired}}}</td> | <td>{{{retired}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{record|}}} | | |||
<tr> | <tr> | ||
<th>Record</th> | <th>Record</th> | ||
<td>{{{record}}}</td> | <td>{{{record}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{achievements|}}} | | |||
<tr> | <tr> | ||
<th>Achievements</th> | <th>Achievements</th> | ||
<td>{{{achievements}}}</td> | <td>{{{achievements}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{ #if: {{{managed|}}}{{{manager_years|}}} | | {{ #if: {{{managed|}}}{{{manager_years|}}} | | ||
<tr> | <tr> | ||
Latest revision as of 22:38, 21 May 2026
Infobox
| Personal Information | |
|---|---|
| Career |