Difference between revisions of "Template:Infobox person"

From Frontierpedia, the TMAFE related encyclopedia
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox|child={{{child|{{{embed|}}}}}}
+
{{Infobox|child={{{child|}}}
 
| bodyclass  = biography vcard
 
| bodyclass  = biography vcard
  
 
| above      = {{Br separated entries
 
| above      = {{Br separated entries
  | 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal; display:inline;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}}
+
  | 2 = {{{2|}}}
| 2 = <div class="fn" style="display:inline">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>
 
| 3 = {{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal; display:inline;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</div>}}
 
 
  }}
 
  }}
| abovestyle = font-size:125%; {{{abovestyle|}}}
+
| abovestyle = {{{abovestyle|}}}
  
| subheaderstyle = font-size:125%; font-weight:bold;
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| subheader  = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} }}
+
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
 +
 
 +
 
 +
| label2    = Name
 +
| data2      = {{{NAME|}}}
  
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
+
| label3    = Nickname
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
+
| data3      = {{{Nickname|}}}
 +
 
 +
| label10    = DOB/Age
 +
| data10    = {{{Age|}}}
 +
 
 +
| label13    = Friends
 +
| data13    = {{{Friends|}}}
  
 +
| label14    = Neutral
 +
| data14    = {{{Neutral|}}}
  
| label10   = Born
+
| label15   = Enemies
| data10     = {{Br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<div style="display:inline" class="nickname">{{{birth_name|{{{birthname|}}}}}}</div>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<div style="display:inline" class="birthplace">{{{birth_place|}}}</div>}}}}
+
| data15     = {{{Enemies|}}}
  
| label13   = Status
+
| label16   = Likes
| data13     = {{{status|{{{disappeared_status|}}}}}}
+
| data16     = {{{Likes|}}}
  
-->
+
| label17   = Dislikes
| label20   = Nationality
+
| data17     = {{{Dislikes|}}}
| data20     = {{{nationality|}}}
 
| class20    = category
 
  
| label21   = Nicknames
+
| label18   = Status
| data21     = {{{other names|{{{other_names|{{{othername|{{{nickname|{{{alias|}}}}}}}}}}}}}}}
+
| data18     = {{{Status|}}}
| class21    = nickname
 
  
 
}}<!--
 
}}<!--
 
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox person with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:Infobox person]] with unknown parameter "_VALUE_"|ignoreblank=y
 
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox person with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:Infobox person]] with unknown parameter "_VALUE_"|ignoreblank=y
| abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | baptized | birth_date | birth_name | birth_place | birthname | boards | body discovered | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal charge | criminal penalty | criminal status | criminal_charge | criminal_charges | criminal_penalty | criminal_status | death cause | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | embed | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | honors | honours | image | image caption | image size | image_caption | image_size | image_upright | imagesize | judicial status | judicial_status | known | known for | known_for | label_name | landscape | misc | misc2 | misc3 | misc4 | misc5 | misc6 | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | nationality | native_name | native_name_lang | net worth | net_worth | networth | nickname | nocat_wdimage | notable works | notable_works | occupation | office | opponents | organisation | organization | organizations | other names | other_names | othername | parents | partner | partners | partner(s) | party | predecessor | pre-nominals | post-nominals | pronunciation | relations | relatives | resting place | resting place coordinates | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | siglum | signature | signature alt | signature_alt | signature_size | spouse | spouses | spouse(s) | status | style | successor | television | term | title | URL | url | website | works | years active | years_active | yearsactive }}<!--
+
| 2 | Name | image | NAME | Nickname | Age | Friends | Neutral | Enemies | Likes | Dislikes | Status}}
-->{{main other|{{#invoke:Check for deprecated parameters|check
+
{{Infoboxend}}
|category=[[Category:Pages using Infobox person with deprecated parameter _VALUE_|_VALUE_]]
 
|ignoreblank=yes
 
| home_town =
 
}}}}<!--
 
-->{{Main other|
 
{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Infobox person using numbered parameter]]}}<!--
 
-->{{#if:{{{death_date|}}}{{{death_place|}}}|{{#if:{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|[[Category:Infobox person using certain parameters when dead]]}}}}<!--
 
-->{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
 
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!--
 
-->[[Category:Articles with hCards]]
 
}}<!--
 
-->{{#invoke:Check for clobbered parameters|check
 
| nested = 1
 
| template = Infobox person
 
| cat = {{main other|Category:Pages using infobox person with conflicting parameters}}
 
| child = embed
 
| honorific prefix; honorific_prefix; honorific-prefix; pre-nominals
 
| honorific suffix; honorific_suffix; honorific-suffix; post-nominals
 
| image size; image_size; imagesize
 
| image caption; caption; image_caption
 
| birth_name; birthname
 
| baptized; baptised
 
| status; disappeared_status
 
| death cause; death_cause
 
| body discovered; body_discovered
 
| resting place; resting_place; restingplace
 
| resting place coordinates; resting_place_coordinates; restingplacecoordinates
 
| other names; other_names; othername; nickname; alias
 
| alma mater; alma_mater
 
| years active; years_active; yearsactive
 
| organisation; organization; organizations
 
| known for= known_for; known
 
| {{#if:{{{works|}}}|works;}} {{#if:{{{credits|}}}|credits;}} {{#if:{{{label_name|}}}|label_name;}} notable works; notable_works
 
| net worth; net_worth; networth
 
| height_m; height_cm
 
| office; title
 
| criminal_charges; criminal charge; criminal_charge
 
| criminal penalty; criminal_penalty
 
| judicial status; judicial_status
 
| criminal status; criminal_status
 
| spouse; spouses; spouse(s)
 
| partner; domesticpartner; domestic_partner; partners; partner(s)
 
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{father|}}}||NULL_}}father
 
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{mother|}}}||NULL_}}mother
 
| relations; relatives
 
| honours; honors
 
| misc; module
 
| misc2; module2
 
| misc3; module3
 
| misc4; module4
 
| misc5; module5
 
| misc6; module6
 
| website; homepage; URL; url
 
}}<includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude>
 
This infobox is only a test currently and not meant to be used</noinclude>
 
  
 
<noinclude> {{Infobox person
 
<noinclude> {{Infobox person
| name          = <!-- use common name/article title -->
+
|2=[[File:noiconicon.png]] Example [[File:noiconicon.png]]
| image        = <!-- filename only, no "File:" or "Image:" prefix, and no enclosing [[brackets]] -->
+
|image=Example.png
| alt          = <!-- descriptive text for use by speech synthesis (text-to-speech) software -->
+
|NAME=Example Guy
| caption      =  
+
|Nickname=Example1, Example2, Example3
| birth_name    = <!-- only use if different from name -->
+
|Age=January 1st, 1970 ({{Time ago|January 1st, 1970|magnitude=days}} / {{Time ago|January 1st, 1970}})
| birth_date    = <!-- {{Birth date and age|YYYY|MM|DD}} for living people supply only the year with {{Birth year and age|YYYY}} unless the exact date is already widely published, as per [[WP:DOB]]. For people who have died, use {{Birth date|YYYY|MM|DD}}. -->
+
|Friends=[[File:noiconicon.png]] Example4
| birth_place  =  
+
[[File:noiconicon.png]] Example5
| death_date    = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (DEATH date then BIRTH date) -->
+
[[File:noiconicon.png]] Example6
| death_place  =  
+
|Enemies=[[File:noiconicon.png]] Example69
| nationality  =  
+
[[File:noiconicon.png]] Example420
| other_names  =  
+
[[File:noiconicon.png]] Example1337
| occupation    =  
+
|Neutral=[[File:noiconicon.png]] Example0
| years_active  =  
+
|Likes=Editing, Wikis, Examples
| known_for    =  
+
|Dislikes=Enemies, Insults
| notable_works =  
+
|Status=Active
}}</noinclude>
+
}}
 +
Empty template: <pre>
 +
{{Infobox person
 +
|2=
 +
|image=
 +
|NAME=
 +
|Nickname=
 +
|Age=
 +
|Friends=
 +
|Enemies=
 +
|Neutral=
 +
|Likes=
 +
|Dislikes=
 +
|Status=
 +
}}
 +
</pre>
 +
[[Category:Modernized infoboxes]]
 +
</noinclude>

Latest revision as of 01:14, 28 June 2021

Noiconicon.png Example Noiconicon.png
Example.png
NameExample Guy
NicknameExample1, Example2, Example3
DOB/AgeJanuary 1st, 1970 (18838 days ago / 51 years ago)
FriendsNoiconicon.png Example4

Noiconicon.png Example5

Noiconicon.png Example6
NeutralNoiconicon.png Example0
EnemiesNoiconicon.png Example69

Noiconicon.png Example420

Noiconicon.png Example1337
LikesEditing, Wikis, Examples
DislikesEnemies, Insults
StatusActive


Empty template:

{{Infobox person
|2=
|image=
|NAME=
|Nickname=
|Age=
|Friends=
|Enemies=
|Neutral=
|Likes=
|Dislikes=
|Status=
}}