Difference between revisions of "Template:Infobox character"
From Summertime Saga Wiki
Line 3: | Line 3: | ||
| above = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | | above = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | ||
− | | abovestyle = background: {{ifempty|{{{color|}}}|{{{colour|}}}|# | + | | abovestyle = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#252839}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} padding: 8px; |
| 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|}}}|#252839}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} padding: 3px; |
| labelstyle = {{{lbl-style|}}} | | labelstyle = {{{lbl-style|}}} | ||
| datastyle = {{{data-style|}}} | | datastyle = {{{data-style|}}} |