Difference between revisions of "Template:Infobox person"

From Frontierpedia, the TMAFE related encyclopedia
Jump to navigation Jump to search
 
(10 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|}}}}}}}}}
  
| 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|}}}}}}}}}
 
| label9    = Age
 
| data9    = {{{age|}}}
 
  
| label10    = Friends
+
| label2    = Name
| data10    = {{{friends|}}}
+
| data2      = {{{NAME|}}}
| label11   = Enemies
+
 
| data11     = {{{enemies|}}}
+
| label3    = Nickname
| label12   = Neutral
+
| data3      = {{{Nickname|}}}
| data12     = {{{neutral|}}}
+
 
| label13   = Status
+
| label10    = DOB/Age
| data13     = {{{status|}}}
+
| data10    = {{{Age|}}}
 +
 
 +
| label13   = Friends
 +
| data13     = {{{Friends|}}}
 +
 
 +
| label14   = Neutral
 +
| data14     = {{{Neutral|}}}
 +
 
 +
| label15   = Enemies
 +
| data15     = {{{Enemies|}}}
  
| label20   = Nationality
+
| label16   = Likes
| data20     = {{{nationality|}}}
+
| data16     = {{{Likes|}}}
  
| label21   = Nicknames
+
| label17   = Dislikes
| data21     = {{{other names|{{{Nicknames|{{{othername|{{{nickname|{{{alias|}}}}}}}}}}}}}}}
+
| data17     = {{{Dislikes|}}}
  
 +
| label18    = Status
 +
| data18    = {{{Status|}}}
  
 
}}<!--
 
}}<!--
 
-->{{#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
| caption | image | image caption | name | age  | nickname | status | Friends | Enemies | Neutral | title | nationality }}<!--
+
| 2 | Name | image | NAME | Nickname | Age | Friends | Neutral | Enemies | Likes | Dislikes | Status}}
-->{{main other|
+
{{Infoboxend}}
|ignoreblank=yes
 
}}}}<!--
 
-->
 
}}<!--
 
-->{{#invoke:Check for clobbered parameters|check
 
| nested = 1
 
| template = Infobox person
 
| image size; image_size; imagesize
 
| image caption; caption; image_caption
 
| birth_name; birthname
 
| 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          = Test Test <!-- use common name/article title -->
+
|2=[[File:noiconicon.png]] Example [[File:noiconicon.png]]
| image         = Example.png<!-- 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
| Friends      = [[File:noiconicon.png]] IDK
+
|Nickname=Example1, Example2, Example3
| caption      = caption test
+
|Age=January 1st, 1970 ({{Time ago|January 1st, 1970|magnitude=days}} / {{Time ago|January 1st, 1970}})
| age          = 1000
+
|Friends=[[File:noiconicon.png]] Example4
| nationality  = American
+
[[File:noiconicon.png]] Example5
| status        = active
+
[[File:noiconicon.png]] Example6
| other_names  = test, test
+
|Enemies=[[File:noiconicon.png]] Example69
 
+
[[File:noiconicon.png]] Example420
}}</noinclude>
+
[[File:noiconicon.png]] Example1337
 +
|Neutral=[[File:noiconicon.png]] Example0
 +
|Likes=Editing, Wikis, Examples
 +
|Dislikes=Enemies, Insults
 +
|Status=Active
 +
}}
 +
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 (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=
}}