Template:Infobox location: Difference between revisions
Template page
More actions
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
< | <includeonly><div class="infobox"> | ||
< | <div class="infobox-bg"> | ||
< | <div class="infobox-title"{{#if:{{{color|}}}|style="color:{{{color|}}};"|}}>{{{name|Location name}}}{{#if:{{{alias|}}}|<span>{{{alias}}}</span>}}</div> | ||
{{#if:{{{image|}}}| | |||
{{#if:{{{image|}}}| | <div class="infobox-image location"{{#if:{{{margin|}}}|style="margin:{{{margin|}}};"|}}>[[File:{{{image}}}|class=pageimage|alt="{{PAGENAME}} illustration"]]</div> | ||
}} | |||
</div> | |||
</ | {{#if:{{{type|}}}{{{unlock|}}}{{{walkthrough|}}}{{{people|}}}| | ||
<div class="infobox-subheader">Information</div> | |||
{{#if:{{{type|}}}{{{people|}}}| | <table class="infobox-table"> | ||
< | {{#if:{{{type|}}}| | ||
<tr> | |||
<th scope="row">Type</th> | |||
{{#if:{{{ | <td>{{{type}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{unlock|}}}| | |||
<tr> | |||
}} | <th scope="row">Unlock</th> | ||
{{#if:{{{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> | |||