Difference between revisions of "Template:Infobox character"

From Summertime Saga Wiki
Jump to: navigation, search
m
(33 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Infobox
+
<onlyinclude>{{Infobox
| bodystyle    = border-spacing: 2px 5px;
+
| name = {{{name|}}}
 
+
| color = {{{color|}}}
| above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
+
| image_character = {{{image_character|}}}
| abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
+
| aliases = {{{aliases|}}}
 
+
| gender = {{{gender|}}}
| subheader    = {{#if:{{{series|}}}|''{{{series}}}''_character{{#if:{{{multiple|}}}|s}}}}
+
| hair = {{{hair|}}}
 
+
| eyes = {{{eyes|}}}
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
+
| relatives = {{{relatives|}}}
| caption      = {{{caption|}}}
+
| dating = {{{dating|}}}
 
+
| pregnancy = {{{pregnancy|}}}
| headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
+
| morning = {{{morning|}}}
| labelstyle  = {{{lbl-style|}}}
+
| afternoon = {{{afternoon|}}}
| datastyle    = {{{data-style|}}}
+
| evening = {{{evening|}}}
 
+
}}</onlyinclude><noinclude>[[Category:Templates]]</noinclude>
| header1      = {{ #if: {{{noinfo|}}} || {{ #if: {{{relatives|}}} {{{gender|}}} {{{eyes|}}} {{{marital|}}} | {{ifempty|{{{info-hdr|}}}|Information}} }} }}
 
| label2      = Relatives
 
| data2        = {{{relatives|}}}
 
| label3      = Gender
 
| data3        = {{{gender|}}}
 
| label4      = Eye Color
 
| data4        = {{{eyes|}}}
 
| label5      = Marital Status
 
| data5        = {{{marital|}}}
 
 
 
| header6      = {{ #if: {{{noinfo|}}} || {{ #if: {{{Day|}}} {{{Night|}}} | {{ifempty|{{{info-hdr|}}}|Location}} }} }}
 
| label7      = Day
 
| data7        = {{{Day|}}}
 
| label8      = Night
 
| data8        = {{{Night|}}}
 
 
 
}}
 

Revision as of 20:56, 1 November 2019