Difference between revisions of "Template:Infobox location"

From Summertime Saga Wiki
Jump to: navigation, search
(Replaced content with "{{Infobox | name = {{{name}}} | image = {{{image|}}} | type = {{{type|}}} | people = {{{people|}}} }}")
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>}}
+
  | type = {{{type|}}}
| abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#252839}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} padding: 8px;
+
  | people = {{{people|}}}
 
 
| 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: {{{type|}}} {{{people|}}} | {{ifempty|{{{info-hdr|}}}|Information}} }} }}
 
| label2      = Type
 
| data2        = {{{type|}}}
 
  | label3      = People
 
| data3        = {{{people|}}}
 
 
 
 
}}
 
}}

Revision as of 05:55, 18 September 2017