Template:Infobox item: Difference between revisions
Template page
More actions
mNo edit summary |
No edit summary |
||
| (17 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly><div class="infobox item"> | ||
< | <div class="infobox-bg"> | ||
< | <div class="infobox-title"{{#if:{{{color|}}}|style="color:{{{color|}}};"|}}>{{{name|Item name}}}{{#if:{{{alias|}}}|<span>{{{alias}}}</span>}}</div> | ||
{{#if:{{{image|}}}| | |||
{{#if:{{{image|}}}| | <div class="infobox-image"{{#if:{{{margin|}}}|style="margin:{{{margin|}}};"|}}>[[File:{{{image}}}|link=|class=pageimage|alt="{{PAGENAME}} illustration"]]</div> | ||
}} | |||
</div> | |||
</ | |||
{{#if:{{{location|}}}{{{price|}}}{{{walkthrough|}}}| | {{#if:{{{location|}}}{{{price|}}}{{{walkthrough|}}}| | ||
< | <div class="infobox-subheader">Information</div> | ||
<table class="infobox-table"> | |||
< | {{#if:{{{location|}}}| | ||
{{#if:{{{location|}}}| | <tr> | ||
<th scope="row">Location</th> | |||
<td>{{{location}}}</td> | |||
</tr> | |||
}} | |||
}} | {{#if:{{{price|}}}| | ||
{{#if:{{{price|}}}| | <tr> | ||
<th scope="row">Price</th> | |||
<td>{{{price}}}</td> | |||
</tr> | |||
}} | |||
}} | {{#if:{{{walkthrough|}}}| | ||
{{#if:{{{walkthrough|}}}| | <tr> | ||
<th scope="row">Walkthrough</th> | |||
<td>{{{walkthrough}}}</td> | |||
</tr> | |||
}} | |||
}} | </table>}}</div></includeonly><noinclude>[[Category:Templates]]</noinclude> | ||
}} | |||
</ | |||