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 item: Difference between revisions

Template page
Casiope (talk | contribs)
mNo edit summary
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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;">
<includeonly><div class="infobox item">
<tr>
<div class="infobox-bg">
<th colspan="2" style="text-align:center; font-size:x-large; background:#3F4562; border:1px solid #8B94AA; padding:3px 2px; line-height:1.4em;">{{{name|Item name}}}</th>
<div class="infobox-title"{{#if:{{{color|}}}|style="color:{{{color|}}};"|}}>{{{name|Item name}}}{{#if:{{{alias|}}}|<span>{{{alias}}}</span>}}</div>
</tr>
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<div class="infobox-image"{{#if:{{{margin|}}}|style="margin:{{{margin|}}};"|}}>[[File:{{{image}}}|link=|class=pageimage|alt="{{PAGENAME}} illustration"]]</div>
<tr>
}}
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|117px|alt="{{PAGENAME}} illustration"]]</td>
</div>
</tr>
}}
{{#if:{{{location|}}}{{{price|}}}{{{walkthrough|}}}|
{{#if:{{{location|}}}{{{price|}}}{{{walkthrough|}}}|
<tr>
<div class="infobox-subheader">Information</div>
<th colspan="2" style="text-align:center; border-top:1px solid #8B94AA; border-bottom:1px solid #8B94AA; padding:0.2em 0;">Information</th>
<table class="infobox-table">
</tr>
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
<tr>
<tr>
<th scope="row">Location</th>
<th scope="row" style="width:23px; vertical-align:top;">Location</th>
<td>{{{location}}}</td>
<td>{{{location}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{price|}}}|
{{#if:{{{price|}}}|
<tr>
<tr>
<th scope="row">Price</th>
<th scope="row" style="width:23px; vertical-align:top;">Price</th>
<td>{{{price}}}</td>
<td>{{{price}}}</td>
</tr>
</tr>
}}
}}
{{#if:{{{walkthrough|}}}|
{{#if:{{{walkthrough|}}}|
<tr>
<tr>
<th scope="row">Walkthrough</th>
<th scope="row" style="width:23px; vertical-align:top;">Walkthrough</th>
<td>{{{walkthrough}}}</td>
<td>{{lightlink|{{{walkthrough}}}}}</td>
</tr>
</tr>
}}
}}
</table>}}</div></includeonly><noinclude>[[Category:Templates]]</noinclude>
}}
</table></onlyinclude><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 22:30, 27 January 2026