|
|
| (4 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| <noinclude><!-- See [[Template:Infobox_Object]] for object items (furniture, crafting stations) --> | | <includeonly>{{#invoke:ItemInfoCard|main|{{PAGENAME}}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
| | |
| == Documentation ==
| |
| | |
| <pre>
| |
| {{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
| |
| }} | |
| </pre> | |
| | |
| ''Note:'' Put the tag between <code><noinclude> </noinclude></code> tags for outdated transcluded pages.
| |
| | |
| {{Infobox_Item | |
| |name = Name
| |
| |type = Type
| |
| |subtype = Subtype
| |
| |color = #517ab2
| |
| |icon = Paper.png
| |
| |created = [[Workbench]]
| |
| |calories = 150
| |
| |carbs = 0.0
| |
| |protein = 0.0
| |
| |fat = 0.0
| |
| |vitamins = 0.0
| |
| |carried = [[Backpack]]
| |
| |weight = 10.00kg
| |
| |stacklimit = 100
| |
| |fuel = 2,000J
| |
| |itemid = DerpItem
| |
| |itemidnumber = 123
| |
| |objectid = DerpObject
| |
| |recipeid = DerpRecipe
| |
| }} | |
| | |
| [[Category:Infobox Templates]]
| |
| [[Kategorie:Vorlagen]]
| |
| </noinclude><includeonly>{{#invoke:Infobox|ItemMain}}</includeonly> | |