Template:Infobox person: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Decided to do this.)
(Accounted for empty name parameter.)
Line 4: Line 4:
  | 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: {{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}};|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}


  | above      = {{{name|{{PAGENAME}}}}}
  | above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
  | autoheaders = y
  | autoheaders = y



Revision as of 13:45, 25 November 2024

Infobox person