Template:Person Infobox: Difference between revisions

From Yaoi House Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
}}
}}


<table class="infobox-person-table">
<table class="infobox-person">
{{#if:{{{name|}}}|
<tr>
<th colspan="2" class="infobox-person-title">{{{name}}}</th>
</tr>
}}
 
{{#if:{{{image|}}}|
<tr>
<td colspan="2" class="infobox-person-image">[[File:{{{image}}}|frameless|upright=1]]</td>
</tr>
}}
 
{{#if:{{{caption|}}}|
<tr>
<td colspan="2" class="infobox-person-caption">{{{caption}}}</td>
</tr>
}}
 
{{#if:{{{birthdate|{{{age|{{{birthplace|}}}}}}}}}|
<tr>
<th colspan="2" class="infobox-person-header">Personal information</th>
</tr>
}}
 
{{#if:{{{birthdate|}}}|
<tr>
<th class="infobox-person-label">Born</th>
<td class="infobox-person-data">{{{birthdate}}}</td>
</tr>
}}
 
{{#if:{{{birthplace|}}}|
<tr>
<th class="infobox-person-label">Birthplace</th>
<td class="infobox-person-data">{{{birthplace}}}</td>
</tr>
}}
 
{{#if:{{{age|}}}|
{{#if:{{{age|}}}|
<tr>
<tr>
<td class="infobox-person-label">Age</td>
<th class="infobox-person-label">Age</th>
<td class="infobox-person-data">{{{age}}}</td>
<td class="infobox-person-data">{{{age}}}</td>
</tr>
</tr>
}}
}}


{{#if:{{{birthdate|}}}|
{{#if:{{{deathdate|}}}|
<tr>
<th class="infobox-person-label">Died</th>
<td class="infobox-person-data">{{{deathdate}}}</td>
</tr>
}}
 
{{#if:{{{nationality|}}}|
<tr>
<tr>
<td class="infobox-person-label">Born</td>
<th class="infobox-person-label">Nationality</th>
<td class="infobox-person-data">{{{birthdate}}}</td>
<td class="infobox-person-data">{{{nationality}}}</td>
</tr>
</tr>
}}
}}
Line 29: Line 74:
{{#if:{{{height|}}}|
{{#if:{{{height|}}}|
<tr>
<tr>
<td class="infobox-person-label">Height</td>
<th class="infobox-person-label">Height</th>
<td class="infobox-person-data">{{{height}}}</td>
<td class="infobox-person-data">{{{height}}}</td>
</tr>
}}
{{#if:{{{weight|}}}|
<tr>
<th class="infobox-person-label">Weight</th>
<td class="infobox-person-data">{{{weight}}}</td>
</tr>
}}
{{#if:{{{occupation|{{{known_for|}}}}}}}|
<tr>
<th colspan="2" class="infobox-person-header">Career</th>
</tr>
</tr>
}}
}}
Line 36: Line 94:
{{#if:{{{occupation|}}}|
{{#if:{{{occupation|}}}|
<tr>
<tr>
<td class="infobox-person-label">Occupation</td>
<th class="infobox-person-label">Occupation</th>
<td class="infobox-person-data">{{{occupation}}}</td>
<td class="infobox-person-data">{{{occupation}}}</td>
</tr>
</tr>
}}
}}


{{#if:{{{nationality|}}}|
{{#if:{{{years_active|}}}|
<tr>
<th class="infobox-person-label">Years active</th>
<td class="infobox-person-data">{{{years_active}}}</td>
</tr>
}}
 
{{#if:{{{known_for|}}}|
<tr>
<th class="infobox-person-label">Known for</th>
<td class="infobox-person-data">{{{known_for}}}</td>
</tr>
}}
 
{{#if:{{{notable_works|}}}|
<tr>
<tr>
<td class="infobox-person-label">Nationality</td>
<th class="infobox-person-label">Notable work</th>
<td class="infobox-person-data">{{{nationality}}}</td>
<td class="infobox-person-data">{{{notable_works}}}</td>
</tr>
</tr>
}}
}}
Line 50: Line 122:
{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
<tr>
<tr>
<td class="infobox-person-label">Website</td>
<th class="infobox-person-label">Website</th>
<td class="infobox-person-data">{{{website}}}</td>
<td class="infobox-person-data">{{{website}}}</td>
</tr>
}}
{{#if:{{{spouse|{{{partner|{{{children|}}}}}}}}}|
<tr>
<th colspan="2" class="infobox-person-header">Personal life</th>
</tr>
}}
{{#if:{{{spouse|}}}|
<tr>
<th class="infobox-person-label">Spouse(s)</th>
<td class="infobox-person-data">{{{spouse}}}</td>
</tr>
}}
{{#if:{{{partner|}}}|
<tr>
<th class="infobox-person-label">Partner(s)</th>
<td class="infobox-person-data">{{{partner}}}</td>
</tr>
}}
{{#if:{{{children|}}}|
<tr>
<th class="infobox-person-label">Children</th>
<td class="infobox-person-data">{{{children}}}</td>
</tr>
}}
{{#if:{{{parents|}}}|
<tr>
<th class="infobox-person-label">Parent(s)</th>
<td class="infobox-person-data">{{{parents}}}</td>
</tr>
}}
{{#if:{{{relatives|}}}|
<tr>
<th class="infobox-person-label">Relatives</th>
<td class="infobox-person-data">{{{relatives}}}</td>
</tr>
</tr>
}}
}}
Line 57: Line 170:
{{#if:{{{custom1_label|}}}|
{{#if:{{{custom1_label|}}}|
<tr>
<tr>
<td class="infobox-person-label">{{{custom1_label}}}</td>
<th class="infobox-person-label">{{{custom1_label}}}</th>
<td class="infobox-person-data">{{{custom1_data}}}</td>
<td class="infobox-person-data">{{{custom1_data}}}</td>
</tr>
</tr>
Line 64: Line 177:
{{#if:{{{custom2_label|}}}|
{{#if:{{{custom2_label|}}}|
<tr>
<tr>
<td class="infobox-person-label">{{{custom2_label}}}</td>
<th class="infobox-person-label">{{{custom2_label}}}</th>
<td class="infobox-person-data">{{{custom2_data}}}</td>
<td class="infobox-person-data">{{{custom2_data}}}</td>
</tr>
</tr>
Line 71: Line 184:
{{#if:{{{custom3_label|}}}|
{{#if:{{{custom3_label|}}}|
<tr>
<tr>
<td class="infobox-person-label">{{{custom3_label}}}</td>
<th class="infobox-person-label">{{{custom3_label}}}</th>
<td class="infobox-person-data">{{{custom3_data}}}</td>
<td class="infobox-person-data">{{{custom3_data}}}</td>
</tr>
</tr>
}}
}}
</table>
</table>
</div>
</div>

Revision as of 15:15, 11 January 2026




Career

{{Person Infobox | name = Jane Smith | image = Jane.jpg | age = 30 | height = 5'6" | occupation = Artist | custom1_label = Favorite Color | custom1_data = Blue | custom2_label = Pet | custom2_data = Cat named Whiskers }}

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
imageimage

no description

Unknownoptional
captioncaption

no description

Unknownoptional
ageage

no description

Unknownoptional
birthdatebirthdate

no description

Unknownoptional
heightheight

no description

Unknownoptional
occupationoccupation

no description

Unknownoptional
nationalitynationality

no description

Unknownoptional
websitewebsite

no description

Unknownoptional
custom1_labelcustom1_label

no description

Unknownoptional
custom1_datacustom1_data

no description

Unknownoptional
custom2_labelcustom2_label

no description

Unknownoptional
custom2_datacustom2_data

no description

Unknownoptional
custom3_labelcustom3_label

no description

Unknownoptional
custom3_datacustom3_data

no description

Unknownoptional