Template:Infobox person: Difference between revisions

From WikiAlpha
Jump to navigation Jump to search
No edit summary
Tag: Reverted
mNo edit summary
Tag: Manual revert
 
Line 1: Line 1:
{{Infobox person
__INDEX__
| honorific_prefix  =  
<infobox>
| name               =
<title source="name"><default>{{PAGENAME}}</default></title>
| honorific_suffix  =
<image source="image">
| image             = <!-- filename only, no "File:" or "Image:" prefix, and no enclosing brackets -->
    <caption source="caption"></caption>
| image_upright      =
    </image>
| landscape          = <!-- yes, if wide image, otherwise leave blank -->
<data source="gender"><label>Gender</label></data>
| alt                = <!-- descriptive text for use by speech synthesis (text-to-speech) software -->
<data source="age"><label>Age</label></data>
| caption            =  
<data source="birth_name"><label>Born</label></data>
| native_name        =  
<data source="birth_date"><label>Birth date</label></data>
| native_name_lang  =
<data source="birth_place"><label>Birth place</label></data>
| pronunciation      =
<data source="Parents"><label>Parents</label></data>
| birth_name         = <!-- only use if different from name -->
<data source="Relatives"><label>Relatives</label></data>
| birth_date         = {{Birth date and age|1929|09|03}}
<data source="nationality"><label>Nationality</label></data>
| birth_place       =
<data source="other_names"><label>Other names</label></data>
| baptised          = <!-- will not display if birth_date is entered -->
<data source="occupation"><label>Occupation</label></data>
| disappeared_date  = <!-- {{Disappeared date and age|YYYY|MM|DD|YYYY|MM|DD}} (disappeared date then birth date) -->
<data source="years_active"><label>Years active</label></data>
| disappeared_place  =
<data source="known_for"><label>Known for</label></data>
| disappeared_status =
<data source="notable_works"><label>Notable work(s)</label></data>
| death_date        =
<data source="home_town"><label>Home town</label></data>
| death_place        =
    <data source="website"><label>website</label></data>
| death_cause        = <!-- should only be included when the cause of death has significance for the subject's notability -->
<group>
| body_discovered    =
    <header>Attributes</header>
| resting_place      =
    <data source="height"><label>Height</label></data>
| resting_place_coordinates = <!-- {{coord|LAT|LONG|type:landmark|display=inline}} -->
    <data source="weight"><label>Weight</label></data>
| burial_place      = <!-- may be used instead of resting_place and resting_place_coordinates (displays "Burial place" as label) -->
    <data source="hair"><label>Hair color</label></data>
| burial_coordinates = <!-- {{coord|LAT|LONG|type:landmark|display=inline}} -->
    <data source="eyes"><label>Eye color</label></data>
| monuments          =  
</group>
| nationality        =
</infobox>
| other_names       =
<noinclude>{{Documentation}}</noinclude>
| siglum            =
| citizenship        = <!-- use only when necessary per WP:INFONAT -->
| education          =  
| alma_mater        =
| occupation        = {{ubl|Farmer|[[Teacher]]|[[Business executive]]|[[Real estate development|Real estate developer]]}}
| years_active       =
| era                =
| employer          =
| organization      =  
| agent              = <!-- discouraged in most cases, specifically when promotional, and requiring a reliable source -->
| known_for          =  
| notable_works     = <!-- produces label "Notable work"; may be overridden by |credits=, which produces label "Notable credit(s)"; or by |works=, which produces label "Works"; or by |label_name=, which produces label "Label(s)" -->
| style              =
| height            = <!-- "X cm", "X m" or "X ft Y in" plus optional reference (conversions are automatic) -->
| television        =
| title              = <!-- formal/awarded/job title. The parameter |office=may be used as an alternative when the label is better rendered as "Office" (e.g. public office or appointments) -->
| term              =
| predecessor        =
| successor          =
| party              =
| otherparty        =
| movement          =
| opponents          =
| boards            =
| criminal_charges  = <!-- criminality parameters should be supported with citations from reliable sources -->
| criminal_penalty  =
| criminal_status    =
| spouse            = <!-- use article title or common name -->
| partner            = <!-- (unmarried long-term partner) -->
| children          =
| parents            = <!-- overrides mother and father parameters -->
| mother            = <!-- may be used (optionally with father parameter) in place of parents parameter (displays "Parent(s)" as label) -->
| father            = <!-- may be used (optionally with mother parameter) in place of parents parameter (displays "Parent(s)" as label) -->
| relatives          =
| family            =
| callsign          = <!-- amateur radio, use if relevant -->
| awards            =
| website            = <!-- {{URL|example.com}} -->
| module            =
| module2            =
| module3            =
| module4            =
| module5            =
| module6            =
| signature          =
| signature_type    =
| signature_size    =
| signature_alt      =
| footnotes          =
}}

Latest revision as of 18:05, 31 August 2024

{{#ifeq: WikiAlpha|Templates Wiki||

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.

{{#if: ||

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
{{#if:
  | Edit this template for the documentation| {{#ifexist: Template:Infobox person/doc
    | View, edit, or check the history of this documentation.
    |Create documentation for this template.
    }}
   }} (How does this work?)
Editors can experiment with this template's sandbox and testcases.

{{#if:

 | {{{content}}}Template:Clear
 
 | {{#ifexist: Template:Infobox person/doc
   | {{#if: 
     |{{{{{1}}}}}
     |
Description
A template for people articles.
Syntax
Add

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
   | Documentation does not exist. Create it at [{{fullurl:
             {{#if:|{{{1}}}|Template:Infobox person/doc}}
             |action=edit&preload=Template:Documentation/preload&summary=Create+documentation+for+%5B%5BTemplate%3AInfobox+person%5D%5D {{#if:|{{{1}}}|Template:Infobox person/doc}}] .
 }}

}} }}


}}

Installation Instructions
 {{#ifeq:{{{SPW}}}|is not relevant
   |
   | :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.}}{{#if:|:This template is compatible with vanilla MediaWiki.}}
{{#switch:
   | starter = This template is created by default after March 11, 2020. It should be in your wiki. 

| is not relevant

| is not relevant to =
This template should not be copied, because it is probably not relevant to wikis other than Templates Wiki. You probably don't want to copy this template to your wiki. {{#if:|For a similar template intended to be copied, see [[Template:{{{SPW-link}}}]].}}{{#ifeq: WikiAlpha
       | Templates Wiki
       | 
     }}
  }}

{{#if:

   |[[fr:{{{fr}}}]]
   |
  }}{{#if:
   |[[ja:{{{ja}}}]]
   |
  }}{{#if:
   |[[tr:{{{tr}}}]]
   |
  }}{{#if:
   |[[zh:{{{zh}}}]]
   |
   }}

{{#ifeq: {{{SPW}}}|is not relevant | |{{#if:

 | The above message will be enough for most cases; if there are additional instructions, you can see them below.
Template:Infobox person/install | :There is no additional installation instructions for this template. If there is any, you may create it at Template:Infobox person/install.

}} }}