Difference between revisions of "Template:Infobox person"

From Frontierpedia, the TMAFE related encyclopedia
Jump to navigation Jump to search
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
+
| data4      = {{{Nickname|}}}
| data12     = {{{neutral|}}}
+
 
| label13   = Status
+
| label10    = 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|
+
 
|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            = PAGETITLE
 +
| NAME         = Test Test <!-- use common name/article title -->
 
| image        = Example.png<!-- filename only, no "File:" or "Image:" prefix, and no enclosing [[brackets]] -->
 
| image        = Example.png<!-- filename only, no "File:" or "Image:" prefix, and no enclosing [[brackets]] -->
| alt          = <!-- descriptive text for use by speech synthesis (text-to-speech) software -->
+
| Nickname      = Nicknames go here
 
| Friends      = [[File:noiconicon.png]] IDK
 
| Friends      = [[File:noiconicon.png]] IDK
| caption       = caption test
+
| Enemies       = [[File:noiconicon.png]] IDK
| age           = 1000
+
| Age           = Age goes here
| nationality  = American
+
| Likes        = Likes go here
| status        = active
+
| Dislikes      = Dislikes go here
| other_names  = test, test
+
| Status        = Active/Inactive
  
 
}}</noinclude>
 
}}</noinclude>

Revision as of 23:48, 12 June 2021


PAGETITLE
Example.png
NameTest Test
Nicknames go here
AgeAge goes here
FriendsNoiconicon.png IDK
EnemiesNoiconicon.png IDK
LikesLikes go here
DislikesDislikes go here
StatusActive/Inactive