Difference between revisions of "Template:Infobox location"

From Summertime Saga Wiki
Jump to: navigation, search
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
+
<onlyinclude><table style="float:right; clear:right; margin:0.5em 0 1.3em 1.4em; border-spacing:4px; background:#3F4454; color:white; text-align:left; font-size:small; line-height:1.4em; width:200px;">
| bodystyle    = border-spacing: 5px 6px; background: #0a0d16; color: #eaeced; padding: 5px; font-size: 1em;
+
<tr>
 
+
<th colspan="2" style="text-align:center; font-size:x-large; background:#3F4562; border:thin solid #8B94AA; padding:3px 2px; line-height:1.4em;">{{{name|Location name}}}</th>
| above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
+
</tr>
| abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#252839}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} padding: 8px;
+
{{#if:{{{image|}}}|
 
+
<tr>
| subheader    = {{#if:{{{series|}}}|''{{{series}}}''_character{{#if:{{{multiple|}}}|s}}}}
+
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|292px|alt="{{PAGENAME}} illustration"]]</td>
 
+
</tr>
| 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|}}}
 
 
 
 
}}
 
}}
 +
{{#if:{{{type|}}}{{{people|}}}|
 +
<tr>
 +
<th colspan="2" style="text-align:center; border-top:thin solid #8B94AA; border-bottom:thin solid #8B94AA; padding:0.2em 0;">Information</th>
 +
</tr>
 +
{{#if:{{{type|}}}|
 +
<tr>
 +
<th scope="row" style="width:58px; vertical-align:top;">Type</th>
 +
<td>{{{type}}}</td>
 +
</tr>
 +
}}
 +
{{#if:{{{people|}}}|
 +
<tr>
 +
<th scope="row" style="width:58px; vertical-align:top;">People</th>
 +
<td>{{{people}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
</table></onlyinclude><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 22:57, 10 July 2020

Location name