Template:Item Header: Difference between revisions

From Space Station 14 Wiki
(created a template for adding items, based on the Template:Job_header)
 
m (lets see if this works...)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__ <!-- Removes table of contents -->
__NOTOC__ <!-- Removes table of contents -->


<div style="display: flex; flex-direction: column;">
<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="margin-bottom: 0px; width: 100%; text-align: center; background: {{{headstyle|repeating-linear-gradient(45deg, #757575, #757575 10px, #3c3c3c 10px, #3c3c3c 20px);}}}; border-top: {{{headborder|2px solid #3c3c3c}}}; border-bottom: {{{headborder|2px solid #3c3c3c}}}">
<div style="background: #191a1a; border: 1px solid black; border-radius: 8px; font-size:15px; font-weight:700; text-align:center; padding:2px ">
<b>{{{Item Category|Lame Category}}}</b>
{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}}
</div><div style="display: flex; margin-top: 0px; align-items: stretch;">
}}
<!-- --><div style="width: 16em; border-bottom: 1px solid lightgray; margin-top: 0px; text-align: center;">
</div>
<!--  -->{{{img|}}}
<div style="position: relative; text-align: center; margin: 0; padding: 0;">
<!-- --></div>
{{{img|[[File:Hot_coffee.png|100px]]}}}
<!-- --><div style="padding-left: 10px; width:100%; border-bottom: 1px solid lightgray; border-left: 1px solid lightgray;">
</div>
<!--  --><h3>{{{title|Item Name}}}</h3>
<div style="background: #191a1a; border: 1px solid black; border-radius: 8px; font-weight:700; text-align:center; padding:2px ">
<!--  -->: '''Item ID''': {{{Item ID|BaseItem}}} <!--what it is called in the code-->
Statistics
<!--  -->: '''Fragility''': {{{fragility|Fragile (breaks into [[tears]]}}} <!-- e.g. cups break into glass shards-->
</div>
<!--  -->: '''Size''': {{{size|5 units}}}
: '''Description''': {{{description|Boring}}}
<!--  -->: '''Value''': {{{value|0 spesos}}}
: '''Item ID''': {{{itemid|BaseItem}}} <!--what it is called in the code-->
<!--  -->: '''Use Action''': {{{Action|none}}}
: '''Parent ID''': {{{parent|lame base}}}
<!--  -->: '''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-->
: '''Fragility''': {{{fragility|Fragile (breaks into [[tears]])}}} <!-- e.g. cups break into glass shards-->
<!-- --></div>
: '''Size''': {{{size|5 units}}}
</div>
: '''Value''': {{{value|0 spesos}}}
: '''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-->
</div>
</div>

Latest revision as of 15:35, 5 September 2023


Item Header

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