Jump to content

Template:Infobox person: Difference between revisions

From Echols Wiki
Willechols (talk | contribs)
No edit summary
Willechols (talk | contribs)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
[[Category:People]]
{| class="infobox infobox-person"
{| class="infobox infobox-person"
|-
|-
! colspan="2" class="infobox-person__title" | {{{name|{{PAGENAME}}}}}
! colspan="2" class="infobox-person__title" | {{{name|{{PAGENAME}}}}}
{{#if:{{{image|}}}|
|-
| colspan="2" style="text-align:center;" | {{{image}}}
}}
{{#if:{{{birth_name|}}}|
|-
|-
! Birth name
| colspan="2" style="text-align:center;" | {{{image|}}}
| {{{birth_name}}}
}}
 
{{#if:{{{born|}}}|
|-
|-
! Born
! Born
| {{{born}}}
| {{{born|}}}
}}
 
{{#if:{{{died|}}}|
|-
|-
! Died
! Died
| {{{died}}}
| {{{died|}}}
}}
 
{{#if:{{{nationality|}}}|
|-
! Nationality
| {{{nationality}}}
}}
 
{{#if:{{{occupation|}}}|
|-
! Occupation
| {{{occupation}}}
}}
 
{{#if:{{{known_for|}}}|
|-
! Known for
| {{{known_for}}}
}}
 
{{#if:{{{parents|}}}|
|-
|-
! Parents
! Parents
| {{{parents}}}
| {{{parents|}}}
}}
 
{{#if:{{{spouse|}}}|
|-
|-
! Spouse(s)
! Spouse
| {{{spouse}}}
| {{{spouse|}}}
}}
 
{{#if:{{{children|}}}|
|-
|-
! Children
! Children
| {{{children}}}
| {{{children|}}}
}}
|}
</includeonly>


{{#if:{{{relatives|}}}|
<noinclude>
|-
! Relatives
| {{{relatives}}}
}}
 
|}
</includeonly><noinclude>
== Usage ==
== Usage ==
<syntaxhighlight lang="wikitext">
<pre>
{{Infobox person
{{Infobox person
| name =
| name =
| image = [[File:Example.jpg|200px]]
| image = [[File:Example.jpg|200px]]
| birth_name =
| born =
| born =
| died =
| died =
| nationality =
| occupation =
| known_for =
| parents =
| parents =
| spouse =
| spouse =
| children =
| children =
| relatives =
}}
}}
</syntaxhighlight>
</pre>
</noinclude>
</noinclude>

Latest revision as of 21:31, 9 January 2026


Usage[edit]

{{Infobox person
| name =
| image = [[File:Example.jpg|200px]]
| born =
| died =
| parents =
| spouse =
| children =
}}