Template:Infobox person: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Test.)
(Fixed.)
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}}};|}}}}
  | headerstyle = {{#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}}};|}}}}


  | title      = {{{name|{{PAGENAME}}}}}
  | title      = {{{name|{{PAGENAME}}}}}

Revision as of 11:02, 22 November 2024

Infobox person