Vorlage:Infobox Item: Unterschied zwischen den Versionen

Aus Eco - Deutsches Wiki
Wechseln zu:Navigation, Suche
[unmarkierte Version][unmarkierte Version]
Wartungsskript (Diskussion | Beiträge)
KKeine Bearbeitungszusammenfassung
 
K 1 Version importiert
(kein Unterschied)

Version vom 6. Dezember 2019, 22:36 Uhr


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.