Template:Infobox character: Difference between revisions

From Candypedia
No edit summary
minor tweak!
 
(7 intermediate revisions by 3 users not shown)
Line 6: Line 6:
| above        = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
| above        = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
| aboveclass  = notheme
| aboveclass  = notheme
| headerclass = notheme
| above_style  = font-size: 125%; padding: 5px;
 
| headerclass = notheme


| subheader    = {{#if: {{{series|}}}{{{franchise|}}} | {{#if: {{{series|}}} | ''{{{series|}}}'' | {{{franchise|}}} }} character{{#if: {{{multiple|}}} | s }} }}
| subheader    = {{#if: {{{series|}}}{{{franchise|}}} | {{#if: {{{series|}}} | ''{{{series|}}}'' | {{{franchise|}}} }} character{{#if: {{{multiple|}}} | s }} }}
Line 13: Line 15:
| caption      = {{{caption|}}}
| caption      = {{{caption|}}}


| label1      = Debut
| label1      = {{{lbl1|}}}
| data1        = {{#if: {{{first|}}} | {{{first|}}} | {{#invoke:Formatted appearance|getFormattedAppearance|major_work={{{first_major|}}} |minor_work={{{first_minor|}}} |issue={{{first_issue|}}} |date={{{first_date|}}} }} }}
| data1       = {{{data1|}}}
 
| label2      = Last appearance
| data2       = {{#if: {{{last|}}} | {{{last|}}} | {{#invoke:Formatted appearance|getFormattedAppearance|major_work={{{last_major|}}} |minor_work={{{last_minor|}}} |issue={{{last_issue|}}} |date={{{last_date|}}} }} }}
 
| label3      = Created by
| data3        = {{{creator|}}}
 
| label4      = Based on
| data4        = {{{based_on|}}}


| label5       = Adapted by
| label2       = {{{lbl2|}}}
| data5       = {{{adapted_by|}}}
| data2       = {{{data2|}}}


| label6       = Designed by
| label3       = {{{lbl3|}}}
| data6       = {{{designer|}}}
| data3       = {{{data3|}}}


| label7       = {{{lbl1|}}}
| label4       = {{{lbl4|}}}
| data7       = {{{data1|}}}
| data4       = {{{data4|}}}


| label8       = {{{lbl2|}}}
| label5       = {{{lbl5|}}}
| data8       = {{{data2|}}}
| data5       = {{{data5|}}}


| label9      = {{{lbl3|}}}
| header20    =  
| data9        = {{{data3|}}}
 
| label10      = {{{lbl4|}}}
| data10      = {{{data4|}}}
 
| label11      = {{{lbl5|}}}
| data11      = {{{data5|}}}
 
| header20    = {{#if: {{{noinfo|}}} || {{#if: {{{full_name|}}} {{{alias|}}} {{{aliases|}}} {{{nickname|}}} {{{nicknames|}}} {{{race|}}} {{{species|}}} {{{breed|}}} {{{gender|}}} {{{title|}}} {{{occupation|}}} {{{position|}}} {{{class|}}} {{{affiliation|}}} {{{alignment|}}} {{{family|}}} {{{spouse|}}} {{{spouses|}}} {{{significant_other|}}} {{{significant_others|}}} {{{children|}}} {{{relatives|}}} {{{origin|}}} {{{home|}}} {{{data21|}}} {{{data22|}}} {{{data23|}}} {{{data24|}}} {{{data25|}}} | {{If empty |{{{info-hdr|}}} |In-universe information }} }} }}


| label21      = Full name
| label21      = Full name
Line 57: Line 41:
| data23      = {{If empty |{{{nickname|}}} |{{{nicknames|}}} }}
| data23      = {{If empty |{{{nickname|}}} |{{{nicknames|}}} }}


| label24      = {{#if: {{{race|}}} | Race | Species }}
| label24      = Gender
| data24      = {{If empty |{{{race|}}} |{{{species|}}} }}
| data24      = {{{gender|}}}


| label25      = Breed
| label25      = Age
| data25      = {{{breed|}}}
| data25      = {{{age|}}}


| label26      = Gender
| label26      = Birthday
| data26      = {{{gender|}}}
| data26      = {{{birthday|}}}


| label27      = Title
| label27      = Grade
| data27      = {{{title|}}}
| data27      = {{{grade|}}}


| label28     = {{#if: {{{occupation|}}} | Occupation | {{#if: {{{position|}}} | Position | Class }} }}
| label29     = {{#if: {{{race|}}} | Race | Species }}
| data28       = {{If empty |{{{occupation|}}} |{{{position|}}} |{{{class|}}} }}
| data29       = {{If empty |{{{race|}}} |{{{species|}}} }}


| label29     = {{#if: {{{affiliation|}}} | Affiliation | Alignment }}
| label30     = Breed
| data29       = {{If empty |{{{affiliation|}}} |{{{alignment|}}} }}
| data30       = {{{breed|}}}


| label30     = Family
| label31     = Family
| data30       = {{{family|}}}
| data31       = {{{family|}}}


| label31      = {{#if: {{{spouse|}}} | Spouse | Spouses }}
| label32 = {{#if: {{{occupation|}}}{{{position|}}}{{{class|}}} | {{#if: {{{occupation|}}} | Occupation | {{#if: {{{position|}}} | Position | Class }} }} }}
| data31      = {{If empty |{{{spouse|}}} |{{{spouses|}}} }}
| data32  = {{#if: {{{occupation|}}}
  | {{#invoke:InfoboxCharacterCategories|formatOccupation|{{{occupation|}}}}}
  | {{If empty |{{{position|}}} |{{{class|}}} }}
}}


| label32      = {{#if: {{{significant_other|}}} | Significant {{nowrap|other}} | Significant {{nowrap|others}} }}
| label33 = {{#if: {{{affiliation|}}}{{{affiliations|}}} | Affiliation{{#if: {{{affiliations|}}} | s }} }}
| data32      = {{If empty |{{{significant_other|}}} |{{{significant_others|}}} }}
| data33  = {{#invoke:InfoboxCharacterCategories|formatAffiliation|{{If empty |{{{affiliation|}}} |{{{affiliations|}}} }} }}


| label33     = Children
| label34     = Residence
| data33       = {{{children|}}}
| data34       = {{{residence|}}}


| label34     = Relatives
| label35     = Debut
| data34       = {{{relatives|}}}
| data35       = {{#if: {{{first|}}} | {{{first|}}} | {{#invoke:Formatted appearance|getFormattedAppearance|major_work={{{first_major|}}} |minor_work={{{first_minor|}}} |issue={{{first_issue|}}} |date={{{first_date|}}} }} }}
 
| label35      = {{#if: {{{origin|}}} | Origin | Home }}
| data35      = {{If empty |{{{origin|}}} |{{{home|}}} }}
 
| label36      = Birthday
| data36      = {{{birthday|}}}
 
| label37      = Age
| data37      = {{{age|}}}


| header50    = {{#if: {{{data31|}}} {{{data32|}}} {{{data33|}}} {{{data34|}}} {{{data35|}}} | {{{extra-hdr|}}} }}
| header50    = {{#if: {{{data31|}}} {{{data32|}}} {{{data33|}}} {{{data34|}}} {{{data35|}}} | {{{extra-hdr|}}} }}
Line 123: Line 101:
| {{#if: {{{lbl32|}}} {{{data32|}}} {{{lbl22|}}} {{{data22|}}} {{{lbl2|}}} {{{data2|}}} | [[Category:Articles using Infobox character with multiple unlabeled fields|2{{PAGENAME}}]]
| {{#if: {{{lbl32|}}} {{{data32|}}} {{{lbl22|}}} {{{data22|}}} {{{lbl2|}}} {{{data2|}}} | [[Category:Articles using Infobox character with multiple unlabeled fields|2{{PAGENAME}}]]
}} }} }} }}}}<!--
}} }} }} }}}}<!--
-->
--><includeonly>{{Main other|{{#invoke:InfoboxCharacterCategories|categories}}}}</includeonly>
{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox character with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox character]] with unknown parameter "_VALUE_"|showblankpositional=1| adapted_by | affiliation | alias | aliases | alignment | alt | caption | children | class | creator | based_on | data1 | data2 | data3 | data4 | data5 | data21 | data22 | data23 | data24 | data25 | data31 | data32 }}

Latest revision as of 02:25, 5 January 2026