Difference between revisions of "Template:Infobox character"
Jump to navigation
Jump to search
(2 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|}}} | ||
Line 24: | Line 24: | ||
|data4 = <center>{{{references|}}}</center> | |data4 = <center>{{{references|}}}</center> | ||
− | |header5 = {{ #if: {{{noinfo|}}} || {{ #if: {{{nickname|}}} {{{alias|}}} {{{species|}}} {{{gender|}}} {{{occupation|}}} {{{title|}}} {{{family|}}} {{{spouse|}}} {{{significantother|}}} {{{children|}}} {{{relatives|}}} {{{religion|}}} {{{nationality|}}} | {{ifempty|{{{info-hdr|}}}|Information}} }} }} | + | |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 | |label6 = Full name |
Latest revision as of 11:52, 9 April 2022
Script error: The function "doc" does not exist.