Template:Infobox character: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Test.)
(Decided to do this.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if:{{{color|}}}|background-color: {{{color}}}; color: {{{textColor|{{Greater color contrast|{{{color}}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}
{{Infobox
{{Infobox
  | bodystyle  = {{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}}
  | bodystyle  = {{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}}
  | abovestyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{{textColor|{{Greater color contrast|{{{color}}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}
  | abovestyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}
  | headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{{textColor|{{Greater color contrast|{{{color}}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}
  | headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}


  | title       = {{{name|{{PAGENAME}}}}}
  | above       = {{{name|{{PAGENAME}}}}}
  | autoheaders = y
  | autoheaders = y



Latest revision as of 11:07, 22 November 2024

Infobox character