Difference between revisions of "Template:ItemInfo"

From OBEY wiki
Jump to: navigation, search
(Created page with "<includeonly> {| class="wikitable" |- ! ! colspan="1" | {{{name}}} |- |[[File:Item_{{name}}_dropped.jpg|x200px]] |- | {{#if: {{{price}}} | Buy Price: {{{price}}} | Non-purchas...")
 
(added weight parameter)
 
(7 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}}}¢ }}
 
|}
 
|}
</includeonly>
+
-->
 
+
<noinclude>
<noinclude>{{ItemInfo
+
{{ItemInfo
| name =
+
| name = Item Name
| price =  
+
| price = 100
| autopay =  
+
| autopay = Yes
| placeable =  
+
| placeable = No
| dropbox =
+
| volatile = No
 +
| score = +300
 +
| weight = 130
 
}}
 
}}
 
 
Example:
 
Example:
  <nowiki>{{ItemInfo
+
  <nowiki>
 +
{{ItemInfo
 
| name =
 
| name =
 
| price =  
 
| price =  
 
| autopay =  
 
| autopay =  
 
| placeable =  
 
| placeable =  
| dropbox =  
+
| volatile =
 +
| score =
 +
| weight =
 
}}</nowiki>
 
}}</nowiki>
Optional variables:
 
<nowiki>| promotional = yes (optional)</nowiki>
 
 
 
</noinclude>
 
</noinclude>

Latest revision as of 10:03, 2 May 2015


Item Name
Item Item Name dropped.jpg

Price: 100¢
Autopay: Yes
Placeable: No
Volatile: No
Score: +300¢
Weight: 130


Example:

{{ItemInfo
| name =
| price = 
| autopay = 
| placeable = 
| volatile =
| score = 
| weight =
}}