Difference between revisions of "Template:Infobox item"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
 
(25 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 = {{{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>
| image_1 = {{{image}}}
+
</tr>
| aliases = {{{aliases|}}}
+
{{#if:{{{image|}}}|
| day = {{{day|}}}
+
<tr>
| location ={{{location|}}}
+
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|125px|alt="{{PAGENAME}} illustration"]]</td>
| price = {{{price|}}}
+
</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 22:56, 10 July 2020

Item name