Difference between revisions of "Template:Infobox character"

From Summertime Saga Wiki
Jump to: navigation, search
(Replaced content with "{{Infobox | name = {{{name}}} | image = {{{image}}} }}")
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
  | bodystyle    = border-spacing: 5px 6px; background: #0a0d16; color: #eaeced; padding: 5px; font-size: 1em;
+
  | name        = {{{name}}}
 
+
  | image        = {{{image}}}
| above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
 
| 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}}}}
 
 
 
  | image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
 
| caption      = {{{caption|}}}
 
 
 
| headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#252839}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} padding: 3px;
 
| labelstyle  = {{{lbl-style|}}}
 
| datastyle    = {{{data-style|}}}
 
 
 
| header1      = {{ #if: {{{noinfo|}}} || {{ #if: {{{aliases|}}} {{{relatives|}}} {{{gender|}}} {{{eyes|}}} {{{marital|}}} | {{ifempty|{{{info-hdr|}}}|Information}} }} }}
 
| label2      = Aliases
 
| data2        = {{{aliases|}}}
 
| label3      = Relatives
 
| data3        = {{{relatives|}}}
 
| label4      = Gender
 
| data4        = {{{gender|}}}
 
| label5      = Eye Color
 
| data5        = {{{eyes|}}}
 
| label6      = Marital
 
| data6        = {{{marital|}}}
 
 
 
| header7      = {{ #if: {{{noinfo|}}} || {{ #if: {{{day|}}} {{{night|}}} | {{ifempty|{{{info-hdr|}}}|Location}} }} }}
 
| label8      = Day
 
| data8        = {{{day|}}}
 
| label9      = Night
 
| data9        = {{{night|}}}
 
 
 
 
}}
 
}}

Revision as of 06:29, 18 September 2017