Template:Infobox person: Difference between revisions

From WikiGenius
Content added Content deleted
No edit summary
No edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__INDEX__
{| class="infobox-classic" style="font-size:89%; width:300px;"
<infobox>
|-
<title source="name"><default>{{PAGENAME}}</default></title>
! colspan="4" style="font-size:120%; padding:1em;" | {{{Box title|No Title}}}
{{#if: {{{image|}}}|
<image source="image">
<caption source="caption"></caption>
{{!}}-
</image>
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{PAGENAME:{{{image}}}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
<data source="gender"><label>Gender</label></data>
|
<data source="age"><label>Age</label></data>
}}
<data source="birth_name"><label>Born</label></data>
|-
<data source="birth_date"><label>Birth date</label></data>
| style="width:30%;" |
<data source="birth_place"><label>Birth place</label></data>
'''{{{Row 1 title|No Title}}}'''
<data source="Parents"><label>Parents</label></data>
| style="width:70%;" |
<data source="Relatives"><label>Relatives</label></data>
{{{Row 1 info|No information}}}
<data source="nationality"><label>Nationality</label></data>
{{#if: {{{Row 2 title|}}}|
<data source="other_names"><label>Other names</label></data>
{{!}}-
<data source="occupation"><label>Occupation</label></data>
{{!}}
<data source="years_active"><label>Years active</label></data>
'''{{{Row 2 title}}}'''
<data source="known_for"><label>Known for</label></data>
{{!}}
<data source="notable_works"><label>Notable work(s)</label></data>
{{{Row 2 info|No information}}}
<data source="home_town"><label>Home town</label></data>
{{#if: {{{Row 3 title|}}}|
<data source="website"><label>website</label></data>
{{!}}-
<group>
{{!}}
<header>Attributes</header>
'''{{{Row 3 title}}}'''
<data source="height"><label>Height</label></data>
{{!}}
<data source="weight"><label>Weight</label></data>
{{{Row 3 info|No information}}}
<data source="hair"><label>Hair color</label></data>
{{#if: {{{Row 4 title|}}}|
<data source="eyes"><label>Eye color</label></data>
{{!}}-
</group>
{{!}}
</infobox>
'''{{{Row 4 title}}}'''
<noinclude>{{Documentation}}</noinclude>
{{!}}
{{{Row 4 info|No information}}}
{{#if: {{{Row 5 title|}}}|
{{!}}-
{{!}}
'''{{{Row 5 title}}}'''
{{!}}
{{{Row 5 info|No information}}}
{{#if: {{{Row 6 title|}}}|
{{!}}-
{{!}}
'''{{{Row 6 title}}}'''
{{!}}
{{{Row 6 info|No information}}}
{{#if: {{{Row 7 title|}}}|
{{!}}-
{{!}}
'''{{{Row 7 title}}}'''
{{!}}
{{{Row 7 info|No information}}}
{{#if: {{{Row 8 title|}}}|
{{!}}-
{{!}}
'''{{{Row 8 title}}}'''
{{!}}
{{{Row 8 info|No information}}}
{{#if: {{{Row 9 title|}}}|
{{!}}-
{{!}}
'''{{{Row 9 title}}}'''
{{!}}
{{{Row 9 info|No information}}}
{{#if: {{{Row 10 title|}}}|
{{!}}-
{{!}}
'''{{{Row 10 title}}}'''
{{!}}
{{{Row 10 info|No information}}}
{{#if: {{{Row 11 title|}}}|
{{!}}-
{{!}} colspan="2" style="text-align:center; background:#AAAAAA;" {{!}}
'''Too many parameters'''
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|}
<noinclude>
{{documentation}}</noinclude>

Latest revision as of 17:24, 21 August 2023

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
Description
A template for people articles.
Syntax
Add {{Infobox person|parameters}} at the top of the page with parameters as shown below.

Usage

{{Infobox person
|name          =
|image         =
|gender        =
|age           =
|birth_name    =
|birth_date    =
|birth_place   =
|Patents       =
|Relatives     =
|nationality   =
|other_names   =
|occupation    =
|years_active  =
|known_for     =
|notable_works =
|home_town     =
|height        =
|weight        =
|hair          =
|eyes          =
|website       =
}}

Preview


Click here to refresh the preview


{{Infobox person
|name          = Some Name
|image         = Placeholder person.png
|caption       = Some Name placeholder
|gender        = Female
|age           = 29
|birth_name    = Some Other Name
|birth_date    = 1 December 1988
|birth_place   = Wikipedia
|death_date    = 4 December 2017
|death_place   = Fandom
|nationality   = Wikian
|other_names   = Some Pseudonym
|occupation    = Wiki writer
|years_active  = 2005 - 2017
|known_for     = Editing templates
|notable_works = Infoboxes
|home_town     = Internet
|height        = 5'7"
|weight        = 160 lbs.
|hair          = Brown
|eyes          = Blue
|website       = www.example.com
}}
Template:Clear

Installation Instructions
Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Infobox person]] to properly attribute this template's editors.
There is no additional installation instructions for this template. If there is any, you may create it at Template:Infobox person/install.