yoohoo! hot sauce please

10:27, 7 September 2026 (UTC)

Template:Infobox person: Difference between revisions

From 2swagg wiki
Jump to navigationJump to search
imported>Zackmann08
only display when needed
 
No edit summary
Tag: 2017 source edit
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infoboxTemplate|child={{if empty|{{{child|}}}|{{{embed|}}}}}
<includeonly><infobox layout="stacked">
| bodyclass  = biography vcard
<title source="name">
<default>{{PAGENAME}}</default>
</title>
<title source="native_name">
<format>
<center>
<small>{{{native_name}}}</small>
</center>
</format>
</title>
<image source="image"><caption><default>{{{caption}}}</default></caption></image>
<data source="other_names">
<label>Other names</label>
</data>


| above      = {{#if:{{{honorific_prefix|}}}|<div class="honorific-prefix" style="font-size: 80%; font-weight: normal;">{{{honorific_prefix|}}}</div>}}<div class="fn">{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}</div>{{#if:{{{honorific_suffix|}}}|<div class="honorific-suffix" style="font-size: 80%; font-weight: normal;">{{{honorific_suffix|}}}</div>}}
<data source="birth_date">
<label>Born</label>


| subheader    = {{#ifeq:{{lc: {{if empty|{{{child|}}}|{{{embed|}}}}}}}|yes|{{#if:{{{embed_title|}}}|'''{{{embed_title|}}}'''}}}}
<format>
| subheader2  = {{#switch:{{if empty|{{{child|}}}|{{{embed|}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}} }} }}
{{#if:{{{birth_name|}}}|{{{birth_name}}}<br>}}{{{birth_date}}}<br>{{#if:{{{birth_place|}}}|{{{birth_place}}}}}
| subheaderstyle2 = font-size: 125%
</format>
</data>
<data source="status">
<label>Status</label>
</data>
<data source="death_date">
<label>Died</label>


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image_size|}}}}}|300|{{{image_size|}}}}}}}x200px|{{{image_size|}}}}}|sizedefault=frameless|upright={{if empty|{{{image_upright|}}}|1}}|alt={{if empty|{{{alt|}}}|{{{image_alt|}}}}}|class={{{image_class|}}}|suppressplaceholder=yes}}
<format>
| caption    = {{if empty|{{{caption|}}}|{{{image_caption|}}}}}
{{{death_date}}}{{#if:{{{death_place|}}}|, {{{death_place}}}}}
 
</format>
| label2    = Pronunciation
</data>
| data2      = {{{pronunciation|}}}
<data source="death_cause">
 
<label>Cause of death</label>
| label10    = Born
</data>
| data10    = {{br separated entries
<data source="nationality">
  |1={{#if:{{{birth_name|}}}|<div style="display:inline" class="nickname">{{{birth_name|}}}</div>}}
<label>Nationality</label>
  |2={{#invoke:person date|birth}}
</data>
  |3={{#if:{{{birth_place|}}}|<div style="display:inline" class="birthplace">{{{birth_place|}}}</div>}}
<data source="occupation">
}}
<label>Occupation</label>
 
</data>
| label11    = Bapti{{#if:{{{baptized|}}}|z|s}}ed
<data source="years_active">
| data11    = {{#if:{{{birth_date|}}}||{{if empty|{{{baptized|}}}|{{{baptised|}}}}}}}
<label>Years active</label>
 
</data>
| label12    = Disappeared
<data source="known_for">
| data12    = {{Br separated entries|1={{{disappeared_date|}}}|2={{{disappeared_place|}}}}}
<label>Best known for</label>
 
</data>
| label13    = Status
<data source="tripcode">
| data13    = {{{disappeared_status|}}}
<label>Tripcode</label>
 
</data>
| label14    = Died
<data source="booru_account">
| data14    = {{br separated entries
<label>Swaggbooru account</label>
  |1={{#invoke:person date|death}}
</data>
  |2={{#if:{{{death_place|}}}|<div style="display:inline" class="deathplace">{{{death_place|}}}</div>}}
<data source="wiki_account">
}}
<label>2swagg wiki account</label>
 
</data>
| label15    = {{longitem|Cause&nbsp;of death}}
<data source="email">
| data15    = {{{death_cause|}}}
<label>Email address</label>
 
</data>
| label16    = {{longitem|Body discovered}}
<data source="awards">
| data16    = {{{body_discovered|}}}
<label>Awards</label>
 
</data>
| label17    = {{longitem|{{#if:{{{burial_place|}}}|Burial place|Resting place}}}}
</infobox>{{#if:{{{wiki_account|}}}|[[Category:Pages about 2swagg wiki users]]|}}{{#if:{{{booru_account|}}}|[[Category:Pages about Swaggbooru users]]|}}</includeonly><noinclude>{{documentation}}</noinclude>
| data17    = {{#if:{{{burial_place|}}}|{{Br separated entries|1={{{burial_place|}}}|2={{{burial_coordinates|}}}}}|{{Br separated entries|1={{{resting_place|}}}|2={{{resting_place_coordinates|}}}}}}}
| class17    = label
 
| label18    = Monuments
| data18    = {{{monuments|}}}
 
| label21    = Other&nbsp;name{{pluralize from text|{{{other_names|}}}|plural=s}}
| data21    = {{{other_names|}}}
| class21    = nickname
 
| label22    = Siglum
| data22    = {{{siglum|}}}
 
| label23    = Citizenship
| data23    = {{{citizenship|}}}
| class23    = category
 
| label24    = Education
| data24    = {{{education|}}}
 
| label25    = Alma&nbsp;mater
| data25    = {{{alma_mater|}}}
 
| label26    = Occupation{{Pluralize from text|{{{occupation|}}}|plural=s}}
| data26    = {{{occupation|}}}
| class26    = role
 
| label27    = Years&nbsp;active
| data27    = {{{years_active|}}}
 
| label28    = Era
| data28    = {{{era|}}}
| class28    = category
 
| label29    = Employer{{Pluralize from text|{{{employer|}}}|likely=(s)|plural=s}}
| data29    = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}}|likely=[[Category:Pages using infobox person with multiple employers]]}}}}
| class29    = org
 
| label30    = {{#if:{{{organisation|}}}|Organisation|Organization}}{{#if:{{{organizations|}}}|s|{{pluralize from text|{{if empty|{{{organization|}}}|{{{organisation|}}}}}|likely=(s)|plural=s}}}}
| data30    = {{if empty|{{{organisation|}}}|{{{organization|}}}|{{{organizations|}}}}}{{main other|{{Pluralize from text|{{if empty|{{{organization|}}}|{{{organisation|}}}}}|likely=[[Category:Pages using infobox person with multiple organizations]]}}}}
| class30    = org
 
| label31    = Agent{{Pluralize from text|{{{agent|}}}|likely=(s)|plural=s}}
| data31    = {{{agent|}}}{{main other|{{Pluralize from text|{{{agent|}}}|likely=[[Category:Pages using infobox person with multiple agents]]}}}}
| class31    = agent
 
| label32    = Known&nbsp;for
| data32    = {{{known_for|}}}
 
| label33    = Works
| data33    = {{{works|}}}
 
| label34    = Notable&nbsp;credit{{Pluralize from text|{{{credits|}}}|likely=(s)|plural=s}}
| data34    = {{#if:{{{works|}}}|{{#if:{{{credits|}}}|{{preview warning|Note that if {{para|works}} is supplied, {{para|credits}} will not display.}}}}|<!--
                -->{{{credits|}}}{{main other|{{Pluralize from text|{{{credits|}}}|likely=[[Category:Pages using infobox person with multiple credits]]}}}}}}
 
| label35    = Label{{Pluralize from text|{{{label_name|}}}|likely=(s)|plural=s}}
| data35    = {{#if:{{{works|}}}{{{credits|}}}|{{#if:{{{label_name|}}}|{{preview warning|Note that if {{para|works}} or {{para|credits}} is supplied, {{para|label_name}} will not display.}}}}|<!--
                -->{{{label_name|}}}{{main other|{{Pluralize from text|{{{label_name|}}}|likely=[[Category:Pages using infobox person with multiple labels]]}}}}}}
 
| label36    = Notable&nbsp;work
| data36    = {{#if:{{{works|}}}{{{credits|}}}{{{label_name|}}}|{{#if:{{{notable_works|}}}|{{preview warning|Note that if {{para|works}}, {{para|credits}} or {{para|label_name}} is supplied, {{para|notable_works}} will not display.}}}}|{{{notable_works|}}}}}
 
| label37    = Style
| data37    = {{{style|}}}
| class37    = category
 
| label40    = Television
| data40    = {{{television|}}}
 
| label41    = Height
| data41    = {{#if:{{{height_m|}}}{{{height_cm|}}}{{{height_ft|}}}{{{height_in|}}} | {{convinfobox|{{if empty|{{{height_m|}}}|{{{height_cm|}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}}}}{{#if:{{{height|}}} | {{infobox person/height|{{{height|}}}}}}}
 
| label42    = {{#if:{{{office|}}}|Office|Title}}
| data42    = {{if empty|{{{office|}}}|{{{title|}}}}}
| class42    = title
 
| label43    = Term
| data43    = {{{term|}}}
 
| label44    = Predecessor
| data44    = {{{predecessor|}}}
 
| label45    = Successor
| data45    = {{{successor|}}}
 
| label46    = {{longitem|Political party}}
| data46    = {{{political_party|}}}
| class46    = org
 
| label47    = {{longitem|Other political<br />affiliations}}
| data47    = {{{other_party|}}}
| class47    = org
 
| label48    = Movement
| data48    = {{{movement|}}}
| class48    = category
 
| label49    = Opponent{{Pluralize from text|{{{opponents|}}}|likely=(s)|plural=s}}
| data49    = {{{opponents|}}}{{main other|{{Pluralize from text|{{{opponents|}}}|likely=[[Category:Pages using infobox person with multiple opponents]]}}}}
 
| label50    = {{longitem|Board member&nbsp;of}}
| data50    = {{{boards|}}}
 
| label51    = {{longitem|{{#if:{{{criminal_charges|}}}|Criminal charges|Criminal charge{{pluralize from text|{{{criminal_charge|}}}|likely=(s)|plural=s}}}}}}
| data51    = {{if empty|{{{criminal_charges|}}}|{{{criminal_charge|}}}}}{{main other|{{Pluralize from text|{{{criminal_charge|}}}|likely=[[Category:Pages using infobox person with multiple criminal charges]]}}}}
 
| label52    = {{longitem|Criminal penalty}}
| data52    = {{{criminal_penalty|}}}
 
| label53    = {{longitem|{{#if:{{{judicial_status|}}}|Judicial status|Criminal status}}}}
| data53    = {{if empty|{{{judicial_status|}}} | {{{criminal_status|}}}}}
| class53    = category
 
| label54    = Spouse{{#if:{{{spouses|}}}|s|{{Pluralize from text|{{{spouse|}}}|likely=(s)|plural=s}}}}
| data54    = {{if empty|{{{spouse|}}}|{{{spouses|}}}}}{{main other|{{Pluralize from text| {{{spouse|}}} |likely=[[Category:Pages using infobox person with multiple spouses]]}}}}
 
| label55    = Partner{{#if:{{{partners|}}}|s|{{Pluralize from text|{{if empty|{{{partner|}}}|{{{domesticpartner|}}}|{{{domestic_partner|}}}|{{{partner(s)|}}}}} |likely=(s)|plural=s}}}}
| data55    = {{if empty|{{{partner|}}}|{{{partners|}}}}}{{main other|{{Pluralize from text| {{{partner|}}} |likely=[[Category:Pages using infobox person with multiple partners]]}}}}
 
| label56    = Children
| data56    = {{{children|}}}
 
| label57    = {{#if:{{{parents|}}}|Parent{{Pluralize from text|{{{parents|}}}|likely=(s)|plural=s}}|<!--
              -->{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1|Parents|{{#if:{{{father|}}}|Father|{{#if:{{{mother|}}}|Mother}}}}}}}}
| data57    = {{#if:{{{parents|}}}|{{{parents}}}|{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1|{{Unbulleted list|{{{father}}} (father)|{{{mother}}} (mother)}}|{{{mother|}}}{{{father|}}}}}}}<!--
                -->{{main other|{{Pluralize from text|{{{parents|}}}|likely=[[Category:Pages using infobox person with multiple parents]]}}}}
 
| label58    = Relatives
| data58    = {{{relatives|}}}
 
| label59    = Family
| data59    = {{{family|}}}
 
| label60    = Call&nbsp;sign
| data60    = {{{callsign|}}}
 
| label61    = Awards
| data61    = {{{awards|}}}
 
| label62    = {{#if:{{{honours|}}}|Honours|Honors}}
| data62    = {{if empty|{{{honours|}}}|{{{honors|}}}}}
 
| data64    = {{{module|}}}
| data65    = {{{module2|}}}
| data66    = {{{module3|}}}
| data67    = {{{module4|}}}
| data68    = {{{module5|}}}
| data69    = {{{module6|}}}
 
| label70    = Website
| data70    = {{{website|}}}
 
| header71  = {{#if:{{{signature|}}}|{{if empty|{{{signature_type|}}}|Signature}}}}
| data72    = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|class=infobox-signature skin-invert|sizedefault=150px|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 {{if empty|{{lcfirst:{{{template_name|}}}}}|infobox person}} with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox person}}]] with unknown parameter "_VALUE_"|ignoreblank=y| agent | alma_mater | alt | awards | baptised | baptized | birth_date | birth_name | birth_place | boards | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal_charge | criminal_charges | criminal_penalty | criminal_status | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | embed | embed_title | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | honorific_prefix | honorific_suffix | honors | honours | image | image_alt | image_caption | image_class | image_size | image_upright | judicial_status | known_for | label_name | landscape | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | native_name | native_name_lang | nocat_wdimage | notable_works | occupation | office | opponents | organisation | organization | organizations | other_names | other_party | parents | partner | partner(s) | partners | political_party | predecessor | pronunciation | relatives | resting_place | resting_place_coordinates | siglum | signature | signature_alt | signature_size | signature_type | spouse | spouses | style | successor | television | template_name | term | title | website | works | years_active }}<!--
-->{{Main other|{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!--
-->[[Category:Articles with hCards]]
}}{{#if:{{{alma_mater|}}}|{{preview warning|Page using [[Template:Infobox person]] with deprecated parameter {{code|alma_mater}} which should be merged with/replaced by {{code|education}}.}}{{main other|[[Category:Pages using infobox person with deprecated parameters]]}}}}<!--
-->{{#invoke:Check for conflicting parameters|check
| nested = 1
| template = [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox person}}]]
| cat = {{main other|Category:Pages using {{if empty|{{{template_name|}}}|infobox person}} with conflicting parameters}}
| alma_mater; education
| child; embed
| image_alt; alt
| height_m; height_cm; height_ft; height
| caption; image_caption
| baptized; baptised
| organisation; organization; organizations
| {{#if:{{{works|}}}|works;}} {{#if:{{{credits|}}}|credits;}} {{#if:{{{label_name|}}}|label_name;}} notable_works
| height_m; height_cm
| office; title
| criminal_charges; criminal_charge
| spouse; spouses
| partner; partners
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{father|}}}||NULL_}}father
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{mother|}}}||NULL_}}mother
| honours; honors
}}{{#ifeq:{{if empty|{{{child|}}}|{{{embed|}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 00:28, 8 September 2026