Difference between revisions of "Template:Infobox person"

From PKC
Jump to navigation Jump to search
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:first (list)|last (list)|gender (list)|description (list)|birthday (list)}}
{{#template_params:first (list)|last (list)|wp-link (list)|wikidata (list)|gender (list)|birthday (list)|died (list)}}
</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;"
</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="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
|-
|-
Line 10: Line 11:
| {{{last|}}}
| {{{last|}}}
|-
|-
! Gender
! Wikipedia
| {{#If: {{{gender|}}} | {{{gender}}} | no info|}}
| {{#If:{{{wp-link}}} | [[wikipedia:{{{wp-link|}}}|{{{wp-link|}}}]]| no entry|}}
|-
|-
! Description
! wikidata
| {{{description|}}}
| {{#If:{{{wikidata}}} | [[wikidata:{{{wikidata|}}}|{{{wikidata|}}}]]| no entry|}}
|-
|-
! Gender
| {{{gender|}}}
|-
! Birthday
! Birthday
| {{{birthday|}}}
|{{{birthday|}}}
|-
!{{#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.