Difference between revisions of "Template:Infobox item"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<onlyinclude>{{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;">
| name = {{{name}}}
+
<tr>
| image_item = {{{image_item|}}}
+
<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>
| location = {{{location|}}}
+
</tr>
| price = {{{price|}}}
+
{{#if:{{{image|}}}|
}}</onlyinclude><noinclude>[[Category:Templates]]</noinclude>
+
<tr>
 +
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|117px|alt="{{PAGENAME}} illustration"]]]]</td>
 +
</tr>
 +
}}
 +
{{#if:{{{location|}}}{{{price|}}}{{{walkthrough|}}}|
 +
<tr>
 +
<th colspan="2" style="text-align:center; border-top:1px solid #8B94AA; border-bottom:1px solid #8B94AA; padding:0.2em 0;">Information</th>
 +
</tr>
 +
{{#if:{{{location|}}}|
 +
<tr>
 +
<th scope="row" style="width:23px; vertical-align:top;">Location</th>
 +
<td>{{{location}}}</td>
 +
</tr>
 +
}}
 +
{{#if:{{{price|}}}|
 +
<tr>
 +
<th scope="row" style="width:23px; vertical-align:top;">Price</th>
 +
<td>{{{price}}}</td>
 +
</tr>
 +
}}
 +
{{#if:{{{walkthrough|}}}|
 +
<tr>
 +
<th scope="row" style="width:23px; vertical-align:top;">Walkthrough</th>
 +
<td>{{{walkthrough}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
</table></onlyinclude><noinclude>[[Category:Templates]]</noinclude>

Revision as of 23:17, 22 June 2020

Item name