Difference between revisions of "Template:Infobox item"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
 
(28 intermediate revisions by the same user 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:225px;">
| name = {{{name}}}
+
<tr>
| image_item = {{{image}}}
+
<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|Item name}}}</th>
| aliases = {{{aliases|}}}
+
</tr>
| day = {{{day|}}}
+
{{#if:{{{image|}}}|
| location ={{{location|}}}
+
<tr>
| price = {{{price|}}}
+
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|125px|alt="{{PAGENAME}} illustration"]]</td>
 +
</tr>
 
}}
 
}}
 +
{{#if:{{{location|}}}{{{price|}}}{{{walkthrough|}}}|
 +
<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:{{{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>

Latest revision as of 21:56, 10 July 2020

Item name