Template:Item Header: Difference between revisions

From Space Station 14 Wiki
m (made it so that title uses the page name by default)
m (formatting for easier source reading)
Line 2: Line 2:


<div style="max-width:250px; font-size:12px; border:1px solid black; background: #202122; border-radius:8px; padding:6px; line-height:1.5; float:right; margin:.5em 0 .5em 1em">
<div style="max-width:250px; font-size:12px; border:1px solid black; background: #202122; border-radius:8px; padding:6px; line-height:1.5; float:right; margin:.5em 0 .5em 1em">
<div style="background: #191a1a; border: 1px solid black; border-radius: 8px; font-size:15px; font-weight:700; text-align:center; padding:2px ">
<div style="background: #191a1a; border: 1px solid black; border-radius: 8px; font-size:15px; font-weight:700; text-align:center; padding:2px ">
{{{title|{{PAGENAME}}}}}
{{{title|{{PAGENAME}}}}}
</div>
</div>
<div style="position: relative; text-align: center; margin: 0; padding: 0;">
<div style="position: relative; text-align: center; margin: 0; padding: 0;">
{{{img|[[File:Hot_coffee.png|100px]]}}}
{{{img|[[File:Hot_coffee.png|100px]]}}}
</div>
</div>
<div style="background: #191a1a; border: 1px solid black; border-radius: 8px; font-weight:700; text-align:center; padding:2px ">
<div style="background: #191a1a; border: 1px solid black; border-radius: 8px; font-weight:700; text-align:center; padding:2px ">
Statistics
Statistics
</div>
</div>
<!--  -->: '''Description''': {{{description|Boring}}}
: '''Description''': {{{description|Boring}}}
<!--  -->: '''Item ID''': {{{itemid|BaseItem}}} <!--what it is called in the code-->
: '''Item ID''': {{{itemid|BaseItem}}} <!--what it is called in the code-->
<!--  -->: '''Parent ID''': {{{parent|lame base}}}
: '''Parent ID''': {{{parent|lame base}}}
<!--  -->: '''Fragility''': {{{fragility|Fragile (breaks into [[tears]])}}} <!-- e.g. cups break into glass shards-->
: '''Fragility''': {{{fragility|Fragile (breaks into [[tears]])}}} <!-- e.g. cups break into glass shards-->
<!--  -->: '''Size''': {{{size|5 units}}}
: '''Size''': {{{size|5 units}}}
<!--  -->: '''Value''': {{{value|0 spesos}}}
: '''Value''': {{{value|0 spesos}}}
<!--  -->: '''Use Action''': {{{action|none}}}
: '''Use Action''': {{{action|none}}}
<!--  -->: '''Damage''': {{{damage| Not a usable weapon}}} <!--there is a difference between an item that can't be swung, and one that can but does 0 damage-->
: '''Damage''': {{{damage| Not a usable weapon}}} <!--there is a difference between an item that can't be swung, and one that can but does 0 damage-->
</div>
</div>

Revision as of 15:10, 5 September 2023


Item Header

Hot coffee.png

Statistics

Description: Boring
Item ID: BaseItem
Parent ID: lame base
Fragility: Fragile (breaks into tears)
Size: 5 units
Value: 0 spesos
Use Action: none
Damage: Not a usable weapon