Difference between revisions of "Template:Infobox character"

From Summertime Saga Wiki
Jump to: navigation, search
m
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox
+
<onlyinclude>{{Infobox
| bodystyle    = border-spacing: 5px 6px; background: #0a0d16; color: #eaeced; padding: 5px; font-size: 1em;
+
| name = {{{name}}}
 
+
| image_character = {{{image_character|}}}
| above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
+
| aliases = {{{aliases|}}}
| abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#252839}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} padding: 8px;
+
| gender = {{{gender|}}}
 
+
| hair = {{{hair|}}}
| subheader    = {{#if:{{{series|}}}|''{{{series}}}''_character{{#if:{{{multiple|}}}|s}}}}
+
| eyes = {{{eyes|}}}
 
+
| relatives = {{{relatives|}}}
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
+
| dating = {{{dating|}}}
| caption      = {{{caption|}}}
+
| pregnancy = {{{pregnancy|}}}
 
+
| morning = {{{morning|}}}
| headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#252839}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} padding: 3px;
+
| afternoon = {{{afternoon|}}}
| labelstyle  = {{{lbl-style|}}}
+
| evening = {{{evening|}}}
| datastyle    = {{{data-style|}}}
+
}}</onlyinclude><noinclude>[[Category:Templates]]</noinclude>
 
 
| 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 23:01, 8 July 2019