Difference between revisions of "Template:Infobox character"
Jump to navigation
Jump to search
m (1 revision imported) |
|||
(21 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|}}}|# | + | |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|}}}|# | + | |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|}}} | ||
− | | | + | |header1 = {{ #if: {{{noinfo|}}} || {{ #if: {{{appearances|}}} | {{ifempty|{{{info-hdr|}}}|Appearances}} }} }} |
− | | | ||
− | |label2 | + | |label2 = |
− | |data2 | + | |data2 = <center>{{{appearances|}}}</center> |
− | | | + | |header3 = {{ #if: {{{noinfo|}}} || {{ #if: {{{references|}}} | {{ifempty|{{{info-hdr|}}}|References}} }} }} |
− | | | ||
− | | | + | |label4 = |
− | | | + | |data4 = <center>{{{references|}}}</center> |
− | | | + | |header5 = {{ #if: {{{noinfo|}}} || {{ #if: {{{nickname|}}} {{{alias|}}} {{{species|}}} {{{gender|}}} {{{occupation|}}} {{{affiliation|}}} {{{status|}}} {{{title|}}} {{{family|}}} {{{spouse|}}} {{{significantother|}}} {{{children|}}} {{{relatives|}}} {{{religion|}}} {{{nationality|}}} | {{ifempty|{{{info-hdr|}}}|Information}} }} }} |
− | | | ||
− | | | + | |label6 = Full name |
− | | | + | |data6 = {{{fullname|}}} |
− | | | + | |label7 = {{nowrap|Nickname(s)}} |
− | | | + | |data7 = {{{nickname|}}} |
− | | | + | |label8 = Aliases |
− | | | + | |data8 = {{{alias|}}} |
− | | | + | |label9 = Species |
− | | | + | |data9 = {{{species|}}} |
− | | | + | |label10 = Gender |
− | | | + | |data10 = {{{gender|}}} |
− | | | + | |label11 = Occupation |
+ | |data11 = {{{occupation|}}} | ||
− | | | + | |label12 = Affiliation |
− | | | + | |data12 = {{{affiliation|}}} |
− | | | + | |label13 = Title |
− | | | + | |data13 = {{{title|}}} |
− | | | + | |label14 = Family |
− | | | + | |data14 = {{{family|}}} |
− | | | + | |label15 = {{nowrap|Spouse(s)}} |
− | | | + | |data15 = {{{spouse|}}} |
− | | | + | |label16 = Significant other|Significant {{nowrap|other(s)}} |
− | | | + | |data16 = {{{significantother|}}} |
− | | | + | |label17 = Children |
− | | | + | |data17 = {{{children|}}} |
− | | | + | |label18 = Relatives |
− | | | + | |data18 = {{{relatives|}}} |
− | | | + | |label19 = Religion |
− | | | + | |data19 = {{{religion|}}} |
− | | | + | |label20 = Nationality |
− | | | + | |data20 = {{{nationality|}}} |
− | | | + | |label21 = Key Events |
− | | | + | |data21 = {{{key events|}}} |
− | | | + | |label22 = Status |
− | | | + | |data22 = {{{status|}}} |
− | | | + | |header23 = {{ #if: {{{noinfo|}}} || {{ #if: {{{first|}}} {{{last|}}} {{{appearances|}}} {{{creator|}}} {{{portrayer|}}} {{{voice|}}} {{{data11|}}} | {{ifempty|{{{info-hdr|}}}|Production Notes}} }} }} |
− | | | ||
− | | | + | |label24 = First appearance |
− | | | + | |data24 = {{{first|}}} |
− | | | + | |label25 = Last appearance |
− | | | + | |data25 = {{{last|}}} |
− | | | + | |label26 = Created by |
− | | | + | |data26 = {{{creator|}}} |
− | | | + | |label27 = Portrayed by |
− | | | + | |data27 = {{{portrayer|}}} |
− | | | + | |label28 = [[Voice acting|Voiced by]] |
− | | | + | |data28 = {{{voice|}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}{{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|}}} | ||
− | |||
}}{{#if:{{{lbl35|}}}{{{data35|}}}{{{lbl25|}}}{{{data25|}}}{{{lbl5|}}}{{{data5|}}} | }}{{#if:{{{lbl35|}}}{{{data35|}}}{{{lbl25|}}}{{{data25|}}}{{{lbl5|}}}{{{data5|}}} | ||
− | + | }}{{Ensure AAA contrast ratio|base={{If empty|{{{color|}}}|{{{colour|}}}}}|category=[[Category:Articles using Template:Infobox character with invalid colour combination]]}}}}<!-- Start 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.