Difference between revisions of "Template:Infobox person"

From Frontierpedia, the TMAFE related encyclopedia
Jump to navigation Jump to search
(Created page with "{{Infobox|child={{{child|{{{embed|}}}}}} | bodyclass = biography vcard | above = {{Br separated entries | 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorifi...")
 
 
(18 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>}} }}
 
 
 
| 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}}
 
 
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
 
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
  
| label2    = Pronunciation
 
| data2      = {{{pronunciation|}}}
 
 
| label10    = Born
 
| 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>}}}}
 
 
| label11    = Bapti{{#if:{{{baptized|}}}|z|s}}ed
 
| data11    = {{#if:{{{birth_date|}}}||{{{baptized|{{{baptised|}}}}}}}}
 
 
| label12    = Disappeared
 
| data12    = {{Br separated entries|1={{{disappeared_date|}}}|2={{{disappeared_place|}}}}}
 
 
| label13    = Status
 
| data13    = {{{status|{{{disappeared_status|}}}}}}
 
 
| label14    = Died
 
| data14    = {{Br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<div style="display:inline" class="deathplace">{{{death_place|}}}</div>}}}}
 
 
| label15    = Cause&nbsp;of death
 
| data15    = {{{death cause|{{{death_cause|}}}}}}
 
 
| label16    = Body discovered
 
| data16    = {{{body discovered|{{{body_discovered|}}}}}}
 
 
| label17    = {{#if:{{{burial_place|}}}|Burial place|Resting place}}
 
| data17    = {{#if:{{{burial_place|}}}|{{Br separated entries|1={{{burial_place|}}}|2={{{burial_coordinates|}}}}}|{{Br separated entries|1={{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|2={{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}}}}}}
 
| class17    = label
 
 
| label18    = Monuments
 
| data18    = {{{monuments|}}}
 
<!-- removed per discussion at https://en.wikipedia.org/w/index.php?title=Template_talk:Infobox_person&oldid=932429196#Residence_parameter
 
| label19    = Residence
 
| data19    = {{{residence|}}}
 
| class19    = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
 
-->
 
| label20    = Nationality
 
| data20    = {{{nationality|}}}
 
| class20    = category
 
 
| label21    = Other&nbsp;names
 
| data21    = {{{other names|{{{other_names|{{{othername|{{{nickname|{{{alias|}}}}}}}}}}}}}}}
 
| class21    = nickname
 
 
| label22    = Siglum
 
| data22    = {{{siglum|}}}
 
 
| label23    = Citizenship
 
| data23    = {{{citizenship|}}}
 
| class23    = category
 
 
| label24    = Education
 
| data24    = {{{education|}}}
 
 
| label25    = Alma&nbsp;mater
 
| data25    = {{{alma mater|{{{alma_mater|}}}}}}
 
 
| label26    = Occupation
 
| data26    = {{{occupation|}}}
 
| class26    = role
 
 
| label27    = Years&nbsp;active
 
| data27    = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}}
 
 
| label28    = Era
 
| data28    = {{{era|}}}
 
| class28    = category
 
 
| label29    = Employer
 
| data29    = {{{employer|}}}
 
| class29    = org
 
 
| label30    = {{#if:{{{organisation|}}}|Organisation|Organization}}
 
| data30    = {{{organisation|{{{organization|{{{organizations|}}}}}}}}}
 
| class30    = org
 
 
| label31    = Agent
 
| data31    = {{{agent|}}}
 
| class31    = agent
 
 
| label32    = Known&nbsp;for
 
| data32    = {{{known for|{{{known_for|{{{known|}}}}}}}}}
 
 
| label33    = <div style="white-space:nowrap;">{{#if:{{{works|}}}|Works|{{#if:{{{credits|}}}|Notable credit(s)|{{#if:{{{label_name|}}}|Label(s)|Notable work}}}}}}</div>
 
| data33    = {{#if:{{{works|}}}|{{{works|}}}|{{#if:{{{credits|}}}|{{{credits}}}|{{#if:{{{label_name|}}}|{{{label_name}}}|{{{notable works|{{{notable_works|}}}}}}}}}}}}
 
 
| label34    = Style
 
| data34    = {{{style|}}}
 
| class34    = category
 
 
| label39    = Net&nbsp;worth
 
| data39    = {{{net worth|{{{net_worth|{{{networth|}}}}}}}}}
 
 
| label40    = Height
 
| data40    = {{#if:{{{height_m|{{{height_cm|}}}}}}{{{height_ft|}}}{{{height_in|}}} | {{convinfobox|{{{height_m|{{{height_cm|}}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}}}}{{#if:{{{height|}}} | {{infobox person/height|{{{height|}}}}}}}
 
 
| label42    = Television
 
| data42    = {{{television|}}}
 
 
| label43    = {{#if:{{{office|}}}|Office|Title}}
 
| data43    = {{{office|{{{title|}}}}}}
 
| class43    = title
 
 
| label44    = Term
 
| data44    = {{{term|}}}
 
 
| label45    = Predecessor
 
| data45    = {{{predecessor|}}}
 
 
| label46    = Successor
 
| data46    = {{{successor|}}}
 
 
| label47    = Political party
 
| data47    = {{{party|}}}
 
| class47    = org
 
 
| label48    = Movement
 
| data48    = {{{movement|}}}
 
| class48    = category
 
 
| label49    = <span class="nowrap">Opponent(s)</span>
 
| data49    = {{{opponents|}}}
 
 
| label50    = Board member&nbsp;of
 
| data50    = {{{boards|}}}
 
 
| label51    = Criminal charge(s)
 
| data51    = {{{criminal_charges|{{{criminal charge|{{{criminal_charge|}}}}}}}}}
 
 
| label52    = Criminal penalty
 
| data52    = {{{criminal penalty|{{{criminal_penalty|}}}}}}
 
  
| label53    = {{#if:{{{judicial status|{{{judicial_status|}}}}}}|Judicial status|Criminal status}}
+
| label2    = Name
| data53    = {{#if:{{{judicial status|{{{judicial_status|}}}}}} | {{{judicial status|{{{judicial_status}}}}}} | {{{criminal status|{{{criminal_status|}}}}}}}}
+
| data2      = {{{NAME|}}}
| class53    = category
 
  
| label54    = <span class="nowrap">Spouse(s)</span>
+
| label3    = Nickname
| data54    = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}
+
| data3      = {{{Nickname|}}}
  
| label55   = <span class="nowrap">Partner(s)</span>
+
| label10   = DOB/Age
| data55     = {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partners|{{{partner(s)|}}}}}}}}}}}}}}}
+
| data10     = {{{Age|}}}
  
| label56   = Children
+
| label13   = Friends
| data56     = {{{children|}}}
+
| data13     = {{{Friends|}}}
  
| label57   = Parent{{#if:{{{parents|}}}|(s)|{{#if:{{{father|}}}|{{#if:{{{mother|}}}|s|(s)}}|(s)}}}}
+
| label14   = Neutral
| data57     = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}}
+
| data14     = {{{Neutral|}}}
  
| label58   = Relatives
+
| label15   = Enemies
| data58     = {{{relations|{{{relatives|}}}}}}
+
| data15     = {{{Enemies|}}}
  
| label59   = Family
+
| label16   = Likes
| data59     = {{{family|}}}
+
| data16     = {{{Likes|}}}
  
| label60   = Call sign
+
| label17   = Dislikes
| data60     = {{{callsign|}}}
+
| data17     = {{{Dislikes|}}}
  
| label61   = Awards
+
| label18   = Status
| data61     = {{{awards|}}}
+
| data18     = {{{Status|}}}
 
 
| label62    = {{#if:{{{honours|}}}|Honours|Honors}}
 
| data62    = {{{honours|{{{honors|}}}}}}
 
 
 
| data64    = {{{misc|{{{module|}}}}}}
 
| data65    = {{{misc2|{{{module2|}}}}}}
 
| data66    = {{{misc3|{{{module3|}}}}}}
 
| data67    = {{{misc4|{{{module4|}}}}}}
 
| data68    = {{{misc5|{{{module5|}}}}}}
 
| data69    = {{{misc6|{{{module6|}}}}}}
 
 
 
| label70    = Website
 
| data70    = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}}
 
 
 
| header71  = {{#if:{{{signature|}}}|Signature}}
 
| data72    = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
 
 
 
| header73  = {{#if:{{{footnotes|}}}|Notes}}
 
| data74    = {{#if:{{{footnotes|}}}|<div style="text-align: left;">{{{footnotes}}}</div>}}
 
  
 
}}<!--
 
}}<!--
 
-->{{#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
+
<noinclude> {{Infobox person
| home_town =
+
|2=[[File:noiconicon.png]] Example [[File:noiconicon.png]]
}}}}<!--
+
|image=Example.png
-->{{Main other|
+
|NAME=Example Guy
{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Infobox person using numbered parameter]]}}<!--
+
|Nickname=Example1, Example2, Example3
-->{{#if:{{{death_date|}}}{{{death_place|}}}|{{#if:{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|[[Category:Infobox person using certain parameters when dead]]}}}}<!--
+
|Age=January 1st, 1970 ({{Time ago|January 1st, 1970|magnitude=days}} / {{Time ago|January 1st, 1970}})
-->{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
+
|Friends=[[File:noiconicon.png]] Example4
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!--
+
[[File:noiconicon.png]] Example5
-->[[Category:Articles with hCards]]
+
[[File:noiconicon.png]] Example6
}}<!--
+
|Enemies=[[File:noiconicon.png]] Example69
-->{{#invoke:Check for clobbered parameters|check
+
[[File:noiconicon.png]] Example420
| nested = 1
+
[[File:noiconicon.png]] Example1337
| template = Infobox person
+
|Neutral=[[File:noiconicon.png]] Example0
| cat = {{main other|Category:Pages using infobox person with conflicting parameters}}
+
|Likes=Editing, Wikis, Examples
| child = embed
+
|Dislikes=Enemies, Insults
| honorific prefix; honorific_prefix; honorific-prefix; pre-nominals
+
|Status=Active
| honorific suffix; honorific_suffix; honorific-suffix; post-nominals
+
}}
| image size; image_size; imagesize
+
Empty template: <pre>
| image caption; caption; image_caption
+
{{Infobox person
| birth_name; birthname
+
|2=
| baptized; baptised
+
|image=
| status; disappeared_status
+
|NAME=
| death cause; death_cause
+
|Nickname=
| body discovered; body_discovered
+
|Age=
| resting place; resting_place; restingplace
+
|Friends=
| resting place coordinates; resting_place_coordinates; restingplacecoordinates
+
|Enemies=
| other names; other_names; othername; nickname; alias
+
|Neutral=
| alma mater; alma_mater
+
|Likes=
| years active; years_active; yearsactive
+
|Dislikes=
| organisation; organization; organizations
+
|Status=
| known for= known_for; known
+
}}
| {{#if:{{{works|}}}|works;}} {{#if:{{{credits|}}}|credits;}} {{#if:{{{label_name|}}}|label_name;}} notable works; notable_works
+
</pre>
| net worth; net_worth; networth
+
[[Category:Modernized infoboxes]]
| height_m; height_cm
+
</noinclude>
| 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>
 

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 (18836 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=
}}