Difference between revisions of "Template:ItemInfo"

From OBEY wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>
+
<noinclude>{| 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]]
+
|<includeonly>[[File:Item_{{{name}}}_dropped.jpg|x200px]]</includeonly><br/>
 +
{| class="wikitable" style="border: 1px solid; width:200px"
 
|-
 
|-
 
|
 
|
Price: {{{price}}}
+
'''Price:''' {{{price}}}¢<br/>
Autopay: {{{autopay}}}
+
<span style="border-bottom:1px dotted" title="If placing the item in the Feed Box incurs autopay">'''Autopay:'''</span> {{{autopay}}}<br/>
Placeable: {{{placeable}}}
+
<span style="border-bottom:1px dotted" title="If item can be placed as a structure">'''Placeable:'''</span> {{{placeable}}}<br/>
Sell Value: {{{dropbox}}}
+
<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> {{{feedbox}}}¢<br/>
 
|}
 
|}
 
+
|}</noinclude>
</includeonly>
+
  
 
<!-- Requires parser functions
 
<!-- Requires parser functions
Line 27: Line 27:
 
{{ItemInfo
 
{{ItemInfo
 
| name = Item Name
 
| name = Item Name
| price = 500
+
| price = 100
 
| autopay = Yes
 
| autopay = Yes
| placeable = Yes
+
| placeable = No
| dropbox = -100
+
| volatile = No
 +
| score = +300
 
}}
 
}}
 
Example:
 
Example:
Line 39: Line 40:
 
| autopay =  
 
| autopay =  
 
| placeable =  
 
| placeable =  
| dropbox =  
+
| score =  
 
}}</nowiki>
 
}}</nowiki>
 
Optional variables:
 
Optional variables:
 
  <nowiki>| promotional = yes (optional)</nowiki>
 
  <nowiki>| promotional = yes (optional)</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 06:52, 2 May 2015

{{{name}}}

Price: {{{price}}}¢
Autopay: {{{autopay}}}
Placeable: {{{placeable}}}
Volatile: {{{volatile}}}
Score: {{{feedbox}}}¢


Item Name
Item Item Name dropped.jpg

Price: 100¢
Autopay: Yes
Placeable: No
Volatile: No
Score: +300¢
Weight: {{{weight}}}


Example:

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

Optional variables:

| promotional = yes (optional)