Difference between revisions of "Template:Infobox person"

From PKC
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:first (list)|last (list)|wp-link (list)|gender (list)|birthday (list)|died (list)}}
{{#template_params:first (list)|last (list)|wp-link (list)|wikidata (list)|gender (list)|birthday (list)|died (list)}}
</noinclude><includeonly>
</noinclude><includeonly>
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
Line 13: Line 13:
! Wikipedia
! Wikipedia
| {{#If:{{{wp-link}}} | [[wikipedia:{{{wp-link|}}}|{{{wp-link|}}}]]| no entry|}}
| {{#If:{{{wp-link}}} | [[wikipedia:{{{wp-link|}}}|{{{wp-link|}}}]]| no entry|}}
|-
! wikidata
| {{#If:{{{wikidata}}} | [[wikidata:{{{wikidata|}}}|{{{wikidata|}}}]]| no entry|}}
|-
|-
! Gender  
! Gender  
Line 19: Line 22:
! Birthday
! Birthday
|{{{birthday|}}}
|{{{birthday|}}}
!{{#If:{{{died}}} | died | alive |}}
|-
|{{#If:{{{died}}} | {{{died}}} | |}}
!{{#If:{{{died}}} | Died | Still alive |}}
|{{#If:{{{died}}} | {{{died}}} | TBD |}}
|}
|}
</includeonly>
</includeonly>

Latest revision as of 06:23, 31 January 2022

This is the "Infobox person" template.

It should be called in the following format:

{{Infobox person
|first=
|last=
|wp-link=
|wikidata=
|gender=
|birthday=
|died=
}}

Edit the page to see the template text.