Template:Infobox character: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(I forgot about the headers.)
(Decided to do this.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{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