Template:Infobox character: Difference between revisions

From Candypedia
No edit summary
minor tweak!
 
(4 intermediate revisions by 3 users not shown)
Line 41: Line 41:
| data23      = {{If empty |{{{nickname|}}} |{{{nicknames|}}} }}
| data23      = {{If empty |{{{nickname|}}} |{{{nicknames|}}} }}


| label24      = Age
| label24      = Gender
| data24      = {{{age|}}}
| data24      = {{{gender|}}}


| label25      = {{#if: {{{race|}}} | Race | Species }}
| label25      = Age
| data25      = {{If empty |{{{race|}}} |{{{species|}}} }}
| data25      = {{{age|}}}


| label26      = Breed
| label26      = Birthday
| data26      = {{{breed|}}}
| data26      = {{{birthday|}}}


| label27      = Gender
| label27      = Grade
| data27      = {{{gender|}}}
| data27      = {{{grade|}}}


| label28     = Title
| label29     = {{#if: {{{race|}}} | Race | Species }}
| data28       = {{{title|}}}
| data29       = {{If empty |{{{race|}}} |{{{species|}}} }}


| label29      = {{#if: {{{occupation|}}} | Occupation | {{#if: {{{position|}}} | Position | Class }} }}
| label30      = Breed
| data29      = {{If empty |{{{occupation|}}} |{{{position|}}} |{{{class|}}} }}
| data30      = {{{breed|}}}
 
| label30      = Birthday
| data30      = {{{birthday|}}}


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


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


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


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


| label35      = Relatives
| label35      = Debut
| data35       = {{{relatives|}}}
| data35      = {{#if: {{{first|}}} | {{{first|}}} | {{#invoke:Formatted appearance|getFormattedAppearance|major_work={{{first_major|}}} |minor_work={{{first_minor|}}} |issue={{{first_issue|}}} |date={{{first_date|}}} }} }}
 
| label36      = {{#if: {{{origin|}}} | Origin | Home }}
| data36      = {{If empty |{{{origin|}}} |{{{home|}}} }}
 
| label37      = Grade
| data37      = {{{grade|}}}
 
| label38      = Debut
| data38       = {{#if: {{{first|}}} | {{{first|}}} | {{#invoke:Formatted appearance|getFormattedAppearance|major_work={{{first_major|}}} |minor_work={{{first_minor|}}} |issue={{{first_issue|}}} |date={{{first_date|}}} }} }}


| header50    = {{#if: {{{data31|}}} {{{data32|}}} {{{data33|}}} {{{data34|}}} {{{data35|}}} | {{{extra-hdr|}}} }}
| header50    = {{#if: {{{data31|}}} {{{data32|}}} {{{data33|}}} {{{data34|}}} {{{data35|}}} | {{{extra-hdr|}}} }}
Line 110: 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