Difference between revisions of "Template:Item Infobox/doc"

From Glitch Forever
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
 
|consume =
 
|consume =
 
|img =  
 
|img =  
|favor=  
+
|grantfavor=  
 
|mood =  
 
|mood =  
 
|energy =  
 
|energy =  
Line 40: Line 40:
 
|consume =
 
|consume =
 
|img =  
 
|img =  
|favor=  
+
|grantfavor=  
 
|mood =  
 
|mood =  
 
|energy =  
 
|energy =  
Line 62: Line 62:
 
|consume =
 
|consume =
 
|img =  
 
|img =  
|favor=  
+
|grantfavor=  
 
|mood =  
 
|mood =  
 
|energy =  
 
|energy =  
Line 85: Line 85:
 
|consume = yes
 
|consume = yes
 
|img = 5
 
|img = 5
|favor= 10
+
|grantfavor= 10
 
|mood = 15
 
|mood = 15
 
|energy = 20
 
|energy = 20
Line 107: Line 107:
 
|consume = yes
 
|consume = yes
 
|img = 5
 
|img = 5
|favor= 10
+
|grantfavor= 10
 
|mood = 15
 
|mood = 15
 
|energy = 20
 
|energy = 20
 
}}
 
}}
  
<includeonly>[[Category:Infobox]][[Category:Template]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<includeonly>[[Category:Infobox]][[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:57, 6 May 2019

Description

This template is used to display basic information and pictures for item pages.

Syntax

Type

{{Item Infobox
|image = 
|name = {{PAGENAME}}
|category = 
|maxstack =
|favor =
|durability =
|unlock =
|getItem =
|growthTime =
|vendor = 
|purchasePrice = 
|sellPrice = 
|consume =
|img = 
|grantfavor= 
|mood = 
|energy = 
}} 

somewhere.

Samples

{{Item Infobox
|image = [[File:PlainBubble209.png|200px]]
|name = {{PAGENAME}}
|category = Resource
|maxstack = 20
|favor = 5
|durability = 5 
|unlock = Level 1
|getItem = Harvest [[Bubble Tree]]
|growthTime = 3 mins
|vendor = [[Alchemical Goods Vendor]]
|purchasePrice = 100 
|sellPrice = 100
|consume =
|img = 
|grantfavor= 
|mood = 
|energy = 
}}

results in...

Item Infobox/doc
PlainBubble209.png
Category: Resource
Max Stack Size: 20
Donation Favor: 5
Uses per item: 5
Details
Unlock: Level 1
Get Item: Harvest Bubble Tree
Growth Time: 3 mins
Vendors: Alchemical Goods Vendor
Purchase: 100 Currant
Sell Price: 100 Currant
Not Consumable


Sample 2

When an item can be consumed use

{{Item Infobox
|image = [[File:PlainBubble209.png|200px]]
|name = {{PAGENAME}}
|category = Resource
|maxstack = 20
|favor = 5
|durability = 5 
|unlock = Level 1
|getItem = Harvest [[Bubble Tree]]
|growthTime = 3 mins
|vendor = [[Alchemical Goods Vendor]]
|purchasePrice = 100 
|sellPrice = 100
|consume = yes
|img = 5
|grantfavor= 10
|mood = 15
|energy = 20
}}

Which results in...

Item Infobox/doc
PlainBubble209.png
Category: Resource
Max Stack Size: 20
Donation Favor: 5
Uses per item: 5
Details
Unlock: Level 1
Get Item: Harvest Bubble Tree
Growth Time: 3 mins
Vendors: Alchemical Goods Vendor
Purchase: 100 Currant
Sell Price: 100 Currant
When Consumed
iMG: 5 iMG
Favor Bonus: 10
Mood: 15
Energy: 20 Energy