Difference between revisions of "Template:Infobox character"

From Jurassic Outpost Encyclopedia
Jump to navigation Jump to search
 
(20 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
|above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAME}}</includeonly>}}
 
|above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAME}}</includeonly>}}
|abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
+
|abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#3d3d3d}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
  
 
|subheader    = {{#if:{{{series|}}}|''{{{series}}}'' character{{#if:{{{multiple|}}}|s}}}}
 
|subheader    = {{#if:{{{series|}}}|''{{{series}}}'' character{{#if:{{{multiple|}}}|s}}}}
Line 10: Line 10:
 
|caption      = {{{caption|}}}
 
|caption      = {{{caption|}}}
  
|headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
+
|headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#3d3d3d}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
 
|labelstyle  = {{{lbl-style|}}}
 
|labelstyle  = {{{lbl-style|}}}
 
|datastyle    = {{{data-style|}}}
 
|datastyle    = {{{data-style|}}}
  
|label1  = First appearance
+
|header1 = {{ #if: {{{noinfo|}}} || {{ #if:  {{{appearances|}}} | {{ifempty|{{{info-hdr|}}}|Appearances}} }} }}
|data1    = {{{first|}}}
 
  
|label2   = Last appearance
+
|label2 =
|data2   = {{{last|}}}
+
|data2 = <center>{{{appearances|}}}</center>
  
|label3 = Appeared in
+
|header3 = {{ #if: {{{noinfo|}}} || {{ #if:  {{{references|}}} | {{ifempty|{{{info-hdr|}}}|References}} }} }}
|data3 = {{{appearances|}}}
 
  
|label4   = Created by
+
|label4 =  
|data4   = {{{creator|}}}
+
|data4 = <center>{{{references|}}}</center>
  
|label5  = Portrayed by
+
|header5 = {{ #if: {{{noinfo|}}} || {{ #if: {{{nickname|}}} {{{alias|}}} {{{species|}}} {{{gender|}}} {{{occupation|}}} {{{affiliation|}}} {{{status|}}} {{{title|}}}  {{{family|}}} {{{spouse|}}} {{{significantother|}}} {{{children|}}} {{{relatives|}}} {{{religion|}}} {{{nationality|}}}  | {{ifempty|{{{info-hdr|}}}|Information}} }} }}
|data5    = {{{portrayer|}}}
 
  
|label6   = [[Voice acting|Voiced by]]
+
|label6 = Full name
|data6   = {{{voice|}}}
+
|data6   = {{{fullname|}}}
  
|label7   = {{{lbl1|}}}
+
|label7 = {{nowrap|Nickname(s)}}
|data7   = {{{data1|}}}
+
|data7   = {{{nickname|}}}
  
|label8   = {{{lbl2|}}}
+
|label8 = Aliases
|data8   = {{{data2|}}}
+
|data8   = {{{alias|}}}
  
|label9   = {{{lbl3|}}}
+
|label9 = Species
|data9   = {{{data3|}}}
+
|data9   = {{{species|}}}
  
|label10  = {{{lbl4|}}}
+
|label10  = Gender
|data10  = {{{data4|}}}
+
|data10  = {{{gender|}}}
  
|label11  = {{{lbl5|}}}
+
|label11  = Occupation
|data11  = {{{data5|}}}
+
|data11  = {{{occupation|}}}
  
|header12 = {{ #if: {{{noinfo|}}} || {{ #if: {{{nickname|}}} {{{alias|}}} {{{species|}}} {{{gender|}}} {{{occupation|}}} {{{title|}}}  {{{family|}}} {{{spouse|}}} {{{significantother|}}} {{{children|}}} {{{relatives|}}} {{{religion|}}} {{{nationality|}}} {{{data21|}}} {{{data22|}}} {{{data23|}}} {{{data24|}}} {{{data25|}}} | {{ifempty|{{{info-hdr|}}}|Information}} }} }}
+
|label12  = Affiliation
 +
|data12  = {{{affiliation|}}}
  
|label13  = Full name
+
|label13  = Title
|data13  = {{{fullname|}}}
+
|data13  = {{{title|}}}
  
|label14  = {{nowrap|Nickname(s)}}
+
|label14  = Family
|data14  = {{{nickname|}}}
+
|data14  = {{{family|}}}
  
|label15  = Aliases
+
|label15  = {{nowrap|Spouse(s)}}
|data15  = {{{alias|}}}
+
|data15  = {{{spouse|}}}
  
|label16  = Species
+
|label16  = Significant other|Significant {{nowrap|other(s)}}
|data16  = {{{species|}}}
+
|data16  = {{{significantother|}}}
  
|label17  = Gender
+
|label17  = Children
|data17  = {{{gender|}}}
+
|data17  = {{{children|}}}
  
|label18  = Occupation
+
|label18  = Relatives
|data18  = {{{occupation|}}}
+
|data18  = {{{relatives|}}}
  
|label19  = Affiliation
+
|label19  = Religion
|data19  = {{{affiliation|}}}
+
|data19  = {{{religion|}}}
  
|label20  = Title
+
|label20  = Nationality
|data20  = {{{title|}}}
+
|data20  = {{{nationality|}}}
  
|label21  = Family
+
|label21  = Key Events
|data21  = {{{family|}}}
+
|data21  = {{{key events|}}}
  
|label22  = {{nowrap|Spouse(s)}}
+
|label22  = Status
|data22  = {{{spouse|}}}
+
|data22  = {{{status|}}}
  
|label23  = [[Significant other|Significant {{nowrap|other(s)}}]]
+
|header23 = {{ #if: {{{noinfo|}}} || {{ #if: {{{first|}}} {{{last|}}} {{{appearances|}}} {{{creator|}}} {{{portrayer|}}} {{{voice|}}} {{{data11|}}} | {{ifempty|{{{info-hdr|}}}|Production Notes}} }} }}
|data23  = {{{significantother|}}}
 
  
|label24 = Children
+
|label24   = First appearance
|data24   = {{{children|}}}
+
|data24   = {{{first|}}}
  
|label25 = Relatives
+
|label25   = Last appearance
|data25   = {{{relatives|}}}
+
|data25   = {{{last|}}}
  
|label26 = Religion
+
|label26   = Created by
|data26  = {{{religion|}}}
+
|data26  = {{{creator|}}}
  
|label27 = Nationality
+
|label27   = Portrayed by
|data27   = {{{nationality|}}}
+
|data27   = {{{portrayer|}}}
  
|label33  = {{{lbl21|}}}
+
|label28  = [[Voice acting|Voiced by]]
|data33   = {{{data21|}}}
+
|data28   = {{{voice|}}}
  
|label34  = {{{lbl22|}}}
 
|data34  = {{{data22|}}}
 
 
|label35  = {{{lbl23|}}}
 
|data35  = {{{data23|}}}
 
 
|label36  = {{{lbl24|}}}
 
|data36  = {{{data24|}}}
 
 
|label37  = {{{lbl25|}}}
 
|data37  = {{{data25|}}}
 
 
|header38 = {{ #if: {{{data31|}}} {{{data32|}}} {{{data33|}}} {{{data34|}}} {{{data35|}}} | {{{extra-hdr|}}} }}
 
 
|label39  = {{{lbl31|}}}
 
|data39  = {{{data31|}}}
 
 
|label40  = {{{lbl32|}}}
 
|data40  = {{{data32|}}}
 
 
|label41  = {{{lbl33|}}}
 
|data41  = {{{data33|}}}
 
 
|label42  = {{{lbl34|}}}
 
|data42  = {{{data34|}}}
 
|label43  = {{{lbl35|}}}
 
|data43  = {{{data35|}}}
 
 
}}{{Main other|{{#if:{{{1|}}}{{{affiliations|}}}{{{age|}}}{{{birth_name|}}}{{{birthname|}}}{{{born|}}}{{{callsign|}}}{{{cause|}}}{{{death|}}}{{{died|}}}{{{episode|}}}{{{eyes|}}}{{{eye color|}}}{{{hair|}}}{{{hair color|}}}{{{haircolor|}}}{{{hair_color|}}}{{{height|}}}{{{imdb_id|}}}{{{residence|}}}{{{specialty|}}}{{{status|}}}{{{weight|}}}
 
}}{{Main other|{{#if:{{{1|}}}{{{affiliations|}}}{{{age|}}}{{{birth_name|}}}{{{birthname|}}}{{{born|}}}{{{callsign|}}}{{{cause|}}}{{{death|}}}{{{died|}}}{{{episode|}}}{{{eyes|}}}{{{eye color|}}}{{{hair|}}}{{{hair color|}}}{{{haircolor|}}}{{{hair_color|}}}{{{height|}}}{{{imdb_id|}}}{{{residence|}}}{{{specialty|}}}{{{status|}}}{{{weight|}}}
|[[Category:Articles using Infobox character with deprecated parameters]]
 
 
}}{{#if:{{{lbl35|}}}{{{data35|}}}{{{lbl25|}}}{{{data25|}}}{{{lbl5|}}}{{{data5|}}}
 
}}{{#if:{{{lbl35|}}}{{{data35|}}}{{{lbl25|}}}{{{data25|}}}{{{lbl5|}}}{{{data5|}}}
|[[Category:Articles using Infobox character with multiple unlabeled fields|5{{PAGENAME}}]]
+
}}{{Ensure AAA contrast ratio|base={{If empty|{{{color|}}}|{{{colour|}}}}}|category=[[Category:Articles using Template:Infobox character with invalid colour combination]]}}}}<!-- Start tracking
|{{#if:{{{lbl34|}}}{{{data34|}}}{{{lbl24|}}}{{{data24|}}}{{{lbl4|}}}{{{data4|}}}
 
|[[Category:Articles using Infobox character with multiple unlabeled fields|4{{PAGENAME}}]]
 
|{{#if:{{{lbl33|}}}{{{data33|}}}{{{lbl23|}}}{{{data23|}}}{{{lbl3|}}}{{{data3|}}}
 
|[[Category:Articles using Infobox character with multiple unlabeled fields|3{{PAGENAME}}]]
 
|{{#if:{{{lbl32|}}}{{{data32|}}}{{{lbl22|}}}{{{data22|}}}{{{lbl2|}}}{{{data2|}}}
 
|[[Category:Articles using Infobox character with multiple unlabeled fields|2{{PAGENAME}}]]
 
}} }} }} }}{{Ensure AAA contrast ratio|base={{If empty|{{{color|}}}|{{{colour|}}}}}|category=[[Category:Articles using Template:Infobox character with invalid colour combination]]}}}}<!-- Start tracking
 
-->{{main other|{{#ifeq:{{{sep|♠}}}|♠||[[Category:Infobox character articles using potentially unnecessary parameters|{{#ifeq:{{{sep|♠}}}|♠||S}}]]}}}}<!-- End tracking
 
 
--><noinclude>
 
--><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories to the /doc subpage, not here! -->
 
<!-- Add categories to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 11:52, 9 April 2022

Script error: The function "doc" does not exist.