Difference between revisions of "Template:ItemInfo"
From OBEY wiki
m |
(added weight parameter) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{| class="wikitable" style="border: 3px solid; width: 210px; border-radius: 14px;" |
− | {| class="wikitable" | + | |
|- | |- | ||
! ! colspan="1" | {{{name}}} | ! ! colspan="1" | {{{name}}} | ||
|- | |- | ||
− | |[[File:Item_{{{name}}}_dropped.jpg|x200px]] | + | |[[File:Item_{{{name}}}_dropped.jpg|x200px]]<br/> |
+ | {| class="wikitable" style="border: 1px solid; width:200px" | ||
|- | |- | ||
| | | | ||
+ | '''Price:''' {{{price}}}¢<br/> | ||
+ | <span style="border-bottom:1px dotted" title="If placing the item in the Feed Box incurs autopay">'''Autopay:'''</span> {{{autopay}}}<br/> | ||
+ | <span style="border-bottom:1px dotted" title="If item can be placed as a structure">'''Placeable:'''</span> {{{placeable}}}<br/> | ||
+ | <span style="border-bottom:1px dotted" title="If item is explosive">'''Volatile:'''</span> {{{volatile}}}<br/> | ||
+ | <span style="border-bottom:1px dotted" title="Score change when placed in Feed Box">'''Score:'''</span> {{{score}}}¢<br/> | ||
+ | <span style="border-bottom:1px dotted" title="Effect on Dropship imbalance">'''Weight:'''</span> {{{weight}}}<br/> | ||
+ | |} | ||
+ | |}</includeonly> | ||
+ | |||
+ | <!-- Requires parser functions | ||
{{#if: {{{price}}} | Buy Price: {{{price}}} | Non-purchasable }} <br/> | {{#if: {{{price}}} | Buy Price: {{{price}}} | Non-purchasable }} <br/> | ||
{{#if: {{{autopay}}} | Gives Autopay | Does not give Autopay }} <br/> | {{#if: {{{autopay}}} | Gives Autopay | Does not give Autopay }} <br/> | ||
Line 14: | Line 24: | ||
{{#ifexpr: {{{dropbox}}} < 0 | Penalizes Robosaru {{{dropbox}}}¢ }} | {{#ifexpr: {{{dropbox}}} < 0 | Penalizes Robosaru {{{dropbox}}}¢ }} | ||
|} | |} | ||
− | + | --> | |
− | + | <noinclude> | |
− | <noinclude>{{ItemInfo | + | {{ItemInfo |
− | | name = | + | | name = Item Name |
− | | price = | + | | price = 100 |
| autopay = Yes | | autopay = Yes | ||
− | | placeable = | + | | placeable = No |
− | | | + | | volatile = No |
+ | | score = +300 | ||
+ | | weight = 130 | ||
}} | }} | ||
− | |||
Example: | Example: | ||
− | <nowiki>{{ItemInfo | + | <nowiki> |
+ | {{ItemInfo | ||
| name = | | name = | ||
| price = | | price = | ||
| autopay = | | autopay = | ||
| placeable = | | placeable = | ||
− | | | + | | volatile = |
+ | | score = | ||
+ | | weight = | ||
}}</nowiki> | }}</nowiki> | ||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 10:03, 2 May 2015
Item Name | |
---|---|
|
Example:
{{ItemInfo | name = | price = | autopay = | placeable = | volatile = | score = | weight = }}