Vorlage:Infobox Item

Aus Eco - Deutsches Wiki
Version vom 14. Mai 2018, 14:35 Uhr von Wartungsskript (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu:Navigation, Suche


Documentation

{{Infobox_Item
    |name = Item name
    |type = Item category/type (If category=WorldObject then Object; If group=Items then Item; If group=Food then Food; If Group=Tools then Tool; If Group=Block Items then Block)
    |subtype = Resource, Seed, Crafting Station, Storage, Furniture
    |color = Item icon color (#4b9130 for Food; #517ab2 for Item, Object, Tool, Block; af8d33 for Skill Books, Skill Scrolls)
    |icon = ItemName_Icon.png
    |created = Crafting station(s) crafted at, or "Resource"
    |calories = If type=Food then x,xxx otherwise hide
    |carbs = If type=Food then x.x otherwise hide (print 0.0 if no carbs)
    |protein = If type=Food then x.x otherwise hide (print 0.0 if no protein)
    |fat = If type=Food then x.x otherwise hide (print 0.0 if no fat)
    |vitamins = If type=Food then x.x otherwise hide (print 0.0 if no vitamins)
    |carried = Backpack, Hands, Shovel
    |weight =  If Has Value then xkg; If nil then 0kg
    |stacklimit = 1, 10, 100
    |fuel = If Has Value then x,xxxJ otherwise hide
    |itemid = ExampleItem
    |itemidnumber = type ID
    |objectid = Object ID
    |recipeid = recipe ID    
}}

Note: Put the tag between <noinclude> </noinclude> tags for outdated transcluded pages.

Name could not be found in Module:ItemData.