Difference between revisions of "Template:Infobox Item"

From Space Haven Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div class="infobox" style= "background: #eee; border: 1px solid #aaa; float: left; margin: 0 1em 1em 0; padding: 1em; width: 400px;">
 
<div class="infobox" style= "background: #eee; border: 1px solid #aaa; float: left; margin: 0 1em 1em 0; padding: 1em; width: 400px;">
 
<div class="infobox-title" style= "font-size: 2em; text-align: center;">{{PAGENAME}}</div>
 
<div class="infobox-title" style= "font-size: 2em; text-align: center;">{{PAGENAME}}</div>
<div class="infobox-image" style= "text-align: center;">{{#ifexist: Media:Item_{{PAGENAME}}.png | [[File:Item_{{PAGENAME}}.png|300px]] |}}</div></div>
+
<div class="infobox-image" style= "text-align: center;">{{#ifexist: Media:Item_{{PAGENAME}}.png | [[File:Item_{{PAGENAME}}.png|100px]] |}}</div>
 +
 
 +
{| style="margin:auto; width: 100%"
 +
{{#if: {{{contraband|}}} |
 +
{{!}} style="width: 1%; font-size:150%; font-weight: bold; white-space: nowrap;" {{!}} Contraband
 +
{{!}} style="width: 98%;" {{!}} <hr>
 +
{{!}} style="width: 1%; font-size:150%; font-weight: bold; white-space: nowrap;" {{!}} [[File:Icon_Question_Mark.png|30px|link=Contraband|Tutorial for contraband]]
 +
{{!}}-
 +
{{!}} colspan="2" {{!}} This item is contraband to the {{{contraband|}}}.
 +
{{!}}-
 +
|}}
 +
|}
 +
 
 +
</div>

Latest revision as of 16:03, 19 April 2025

Infobox Item