Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox location: Difference between revisions

Template page
No edit summary
 
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
<includeonly><div class="infobox location">
| bodystyle    = border-spacing: 5px 6px; background: #0a0d16; color: #eaeced; padding: 5px; font-size: 1em;
<div class="infobox-bg">
 
<div class="infobox-title"{{#if:{{{color|}}}|style="color:{{{color|}}};"|}}>{{{name|Location name}}}{{#if:{{{alias|}}}|<span>{{{alias}}}</span>}}</div>
| above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
{{#if:{{{image|}}}|
| abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#252839}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} padding: 8px;
<div class="infobox-image"{{#if:{{{margin|}}}|style="margin:{{{margin|}}};"|}}>[[File:{{{image}}}|link=|class=pageimage|alt="{{PAGENAME}} illustration"]]</div>
 
}}
| subheader    = {{#if:{{{series|}}}|''{{{series}}}''_character{{#if:{{{multiple|}}}|s}}}}
</div>
 
{{#if:{{{type|}}}{{{unlock|}}}{{{walkthrough|}}}{{{people|}}}|
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
<div class="infobox-subheader">Information</div>
| caption      = {{{caption|}}}
<table class="infobox-table">
 
{{#if:{{{type|}}}|
| headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#252839}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} padding: 3px;
<tr>
| labelstyle  = {{{lbl-style|}}}
<th scope="row">Type</th>
| datastyle    = {{{data-style|}}}
<td>{{{type}}}</td>
 
</tr>
| header1      = {{ #if: {{{noinfo|}}} || {{ #if: {{{type|}}} {{{people|}}} | {{ifempty|{{{info-hdr|}}}|Information}} }} }}
}}
| label2      = Type
{{#if:{{{unlock|}}}|
| data2        = {{{type|}}}
<tr>
| label3      = People
<th scope="row">Unlock</th>
| data3        = {{{people|}}}
<td>{{{unlock}}}</td>
 
</tr>
}}
}}
{{#if:{{{walkthrough|}}}|
<tr>
<th scope="row">Walkthrough</th>
<td>{{{walkthrough}}}</td>
</tr>
}}
{{#if:{{{people|}}}|
<tr>
<th scope="row">People</th>
<td>{{{people}}}</td>
</tr>
}}
</table>}}</div></includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 22:28, 27 January 2026