Vorlage:Infobox Item

Aus Eco - Deutsches Wiki
Wechseln zu:Navigation, Suche


Documentation[Quelltext bearbeiten]

{{Infobox_Item|name = 'Item name'}}

This template can be used to grab details relevant to an item. It formats the results into an infobox.

If the template is passed, this module creates a table using details from the following Modules:

Usage[Quelltext bearbeiten]

Parameters[Quelltext bearbeiten]

name
The name of an item. This pulls the description for that item.

Infobox Properies[Quelltext bearbeiten]

If .name is found it will generate the following:

    |name = The name of an item.
    |group = Item group
             (Colours for groups: 
             #4b9130 for Food;
             #517ab2 for Items, World Object Items, Tools, Block Items, AvatarPart, Road Items; 
             #af8d33 for Skill Books, Skill Scrolls,)
    |image = ItemName_Icon.png (Game Icon)
General
    |created = Crafting station(s) crafted at, or N/A
    |calories = If group=Food then x,xxx otherwise hide
    |carbs = If group=Food then x.x otherwise hide (print 0.0 if no carbs)
    |protein = If group=Food then x.x otherwise hide (print 0.0 if no protein)
    |fat = If group=Food then x.x otherwise hide (print 0.0 if no fat)
    |vitamins = If group=Food then x.x otherwise hide (print 0.0 if no vitamins)
    |nutritiondensity = If group=Food then xcal otherwise hide    
    |carried = Backpack, Hands
    |weight =  If weight ~= nil then xkg; If nil then 0kg
    |stacklimit = If maxStack ~= nil the x (1, 10, 100)
    |fuel = If fuel ~= nil then x,xxxJ otherwise hide
    |currency = If currency ~= nil then Yes otherwise hide
IDs    
    |itemid = ExampleItem
    |itemidnumber = Item ID Number 

If .footprint (Dimension) ~= nil, or group == 'Block Item' it will generate the following:

World Object
    |image = ItemName_Placed.png
Placement
    |Dimensions = If footprint ~= nil then x x x x x (X x Y x Z) otherwise hide
    |Material Tier = If materialTier ~= nil then Tier x otherwise hide (This is block Tiers)
    |Room Required = If ContainReq ~= nil then Yes otherwise hide
    |Room Size = if roomSizeReq ~= nil then xm³ otherwise hide
    |Room Materials = if itemTable.roomMatReq ~= nil then x otherwise hide
Housing (.roomCategory ~= nil this section will be created otherwise hide)
    |Room Category = Bedroom, Bathroom, Kitchen, General, or Industrial
    (If not Industrial, the following will appear. Industrial will say ALL ROOM VALUE LOST)
    |Furniture Type = Type of furniture (such as light, shelves, seating...)
    |Value = Items Room Value
    |Dim. Return % = Dim. return of the object
Power (If .engeryType ~= nil this section will appear otherwise hide all)
    |Energy Type:  Mechanical, Electrical...
    |Grid Radius: xm
    |Engery Produced: xJ
    |Engery Used: xJ
Fuel (If .fuelsUsed ~= nil this section will appear otherwise hide all)
    Fuels Used: List of items the objects use as fuel

If .mobile ~= nil it will generate the following:

Vehicle Object
    |image = ItemName_Placed.png
Fuel (If .fuelsUsed ~= nil this section will appear otherwise hide all)
    Fuels Used: List of items the objects use as fuel

If .itemTable.group == 'Road Items' it will generate the following:

Road Object
    |image = ItemName_Placed.png


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

Examples[Quelltext bearbeiten]

Elchkadaver
Gegenstände
Beschreibung
Ein toter Elch.
Allgemein
Verwendet bei: Metzgertisch
Getragen in: Rucksack
Gewicht: 3kg
Stapellimit: 100
IDs
Gegenstand-ID: ElkCarcassItem
ID-Nummer: 631
Tags
Medium Carcass, Medium Leather Carcass, Ingredient,



Holzkohle
Gegenstände
Beschreibung
Ein schwarzer Rückstand, bestehend aus Kohlenstoff und verbleibender Asche.
Allgemein
Hergestellt in: Brennofen
Getragen in: Rucksack
Gewicht: 1kg
Stapellimit: 100
Kraftstoffenergie: 20.000J
Kann eine Währung decken
IDs
Gegenstand-ID: CharcoalItem
ID-Nummer: 611
Tags
Kraftstoff, Währung, Kohle, Brennstoff, Ingredient, Produkt,



Heidelbeeren
Nahrung
Beschreibung
Eine Handvoll kleiner wilder Beeren. Nicht zu verwechseln mit kleinen wilden Bären.
Allgemein
Verwendet bei: Backofen, Gusseiserner Ofen, Lagerfeuer, Landwirttisch, Mühle
Kalorien: 150cal
Nährwert: Kohlenhydrate: 2.0
Protein: 0.0
Fett: 0.0
Vitamine: 6.0
Nährwertdichte: 5.3 pro 100 cal
Getragen in: Rucksack
Gewicht: 0,01kg
Stapellimit: 100
Sammeln verbessern: Sammeln
IDs
Gegenstand-ID: HuckleberriesItem
ID-Nummer: 519
Tags
Ernte, Harvestable, Frucht, Raw Food, Nahrung, Ingredient,



Vorbereitetes Fleisch
Nahrung
Beschreibung
Sorgfältig geschlachtetes Fleisch. Bereit zum Kochen.
Allgemein
Hergestellt in: Metzgertisch
Verwendet bei: Backofen, Gusseiserner Ofen, Herd
Kalorien: 600cal
Nährwert: Kohlenhydrate: 0.0
Protein: 4.0
Fett: 6.0
Vitamine: 0.0
Nährwertdichte: 1.7 pro 100 cal
Getragen in: Rucksack
Gewicht: 0,4kg
Stapellimit: 100
IDs
Gegenstand-ID: PreparedMeatItem
ID-Nummer: 547
Tags
Nahrung, Ingredient, Produkt,



Werkbank
World Object Items
Beschreibung
Eine Bank für die Grundlagen und um noch mehr Bänke zu machen.
Allgemein
Hergestellt in: Campingplatz
Getragen in: Rucksack
Gewicht: 0kg
Stapellimit: 1
IDs
Gegenstand-ID: WorkbenchItem
ID-Nummer: 94
Tags
Weltobjekt, Crafting Table, Produkt,



Brennofen
World Object Items
Beschreibung
Nützlich für das Brennen von Ziegeln und getöpferten Gegenständen.
Allgemein
Hergestellt in: Steinmetztisch
Getragen in: Rucksack
Gewicht: 0kg
Stapellimit: 1
IDs
Gegenstand-ID: KilnItem
ID-Nummer: 1219
Tags
Weltobjekt, Crafting Table, Storage Container, Housing Objects, Produkt,



Bücherregal
World Object Items
Beschreibung
Ein Platz, um Wissen und Informationen aufzubewahren; führt zum Rathaus.
Allgemein
Hergestellt in: Sägewerk
Getragen in: Rucksack
Gewicht: 0kg
Stapellimit: 100
IDs
Gegenstand-ID: BookshelfItem
ID-Nummer: 1082
Tags
Haus, Weltobjekt, Housing Objects, Storage Container, Produkt,



Windrad
World Object Items
Beschreibung
Uses wind to produce electrical power. Requires clear space for 10 blocks in front of the blades for full power generation. Gains a small output boost when placed at higher elevations.
Allgemein
Hergestellt in: Robotische Fertigungsstraße
Getragen in: Rucksack
Gewicht: 0kg
Stapellimit: 100
IDs
Gegenstand-ID: WindTurbineItem
ID-Nummer: 1481
Tags
Weltobjekt, Housing Objects, Produkt,



Eisenaxt
Werkzeuge
Beschreibung
Eine Breitaxt, nützlich um Bäume zu fällen.
Allgemein
Hergestellt in: Amboss
Getragen in: Rucksack
Gewicht: 1kg
Stapellimit: 1
IDs
Gegenstand-ID: IronAxeItem
ID-Nummer: 954
Tags
Werkzeug, Holzfällen, Werkzeuge, Produkt,



Kohle
Block Items
Beschreibung
Ein brennbares Mineral, liefert als Brennstoff viel Energie, aber erzeugt viel Umweltverschmutzung.
Allgemein
Getragen in: Hände
Gewicht: 4kg
Stapellimit: 20
Kraftstoffenergie: 20.000J
Kann eine Währung decken
IDs
Gegenstand-ID: CoalItem
ID-Nummer: 272
Tags
Kraftstoff, Währung, Kohle, Brennstoff, Excavatable, Block, Ingredient,



Ziegel
Block Items
Beschreibung
Langlebiger Baustoff aus gebrannten Blöcken und Mörtel.
Allgemein
Hergestellt in: Brennofen
Verwendet bei: Amboss, Brennofen, Fertigungsstraße, Forschungstisch, Steinmetztisch
Getragen in: Hände
Gewicht: 10kg
Stapellimit: 20
Kann eine Währung decken
IDs
Gegenstand-ID: BrickItem
ID-Nummer: 269
Tags
Währung, Constructable, Block, Produkt, Ingredient,



Fertigkeitsschriftrolle: Kochen
Skilschriftrollen
Beschreibung
Lehrt Kochen
Allgemein
Getragen in: Rucksack
Gewicht: 0kg
Stapellimit: 100
IDs
Gegenstand-ID: CookingSkillScroll
ID-Nummer: 899
Tag
Skilschriftrollen,



Hosen
AvatarPart
Beschreibung
Robuste, enge Hose. Eine Hose ist ein Kleidungsstück, das beide Beine jeweils einzeln bedeckt und von der Hüfte bis zu den Knöcheln reicht (im Gegensatz zu Roben, Röcken und Kleidern, deren Stoff beide Beine zusammen bedeckt).
Allgemein
Hergestellt in: Schneidertisch
Getragen in: Rucksack
Gewicht: 0,1kg
Stapellimit: 1
IDs
Gegenstand-ID: TrousersItem
ID-Nummer: 420
Tags
Clothes, Produkt,



Lager
World Object Items
Beschreibung
Kennzeichnet einen 5x5x5 Bereich als Lagerfläche für große Gegenstände.
Allgemein
Hergestellt in: Werkbank
Getragen in: Rucksack
Gewicht: 0kg
Stapellimit: 100
IDs
Gegenstand-ID: StockpileItem
ID-Nummer: 1439
Tags
Weltobjekt, Storage Container, Produkt,



Holzkarren
World Object Items
Beschreibung
Kleiner Karren zum Transport kleiner Lasten.
Allgemein
Hergestellt in: Wagenmachertisch
Getragen in: Rucksack
Gewicht: 15kg
Stapellimit: 100
IDs
Gegenstand-ID: WoodCartItem
ID-Nummer: 996
Tags
Weltobjekt, Storage Container, Fahrzeuge, Produkt,



Hochofen
World Object Items
Beschreibung
Ein überlegener Ersatz für den Rennofen, der Stahl produzieren kann.
Allgemein
Hergestellt in: Fertigungsstraße
Getragen in: Rucksack
Gewicht: 0kg
Stapellimit: 1
IDs
Gegenstand-ID: BlastFurnaceItem
ID-Nummer: 1080
Tags
Weltobjekt, Polluter, Crafting Table, Storage Container, Housing Objects, Produkt,



Wasser
Block Items
Beschreibung
Water is an abundant resource. Fresh water can be found in rivers and lakes while salt water is found in the ocean. In addition to being a home to fish, water is needed for a variety of objects to function.
Allgemein
Getragen in: Hände
Gewicht: 0kg
Stapellimit: 10
IDs
Gegenstand-ID: WaterItem
ID-Nummer: 88
Tags
Liquid, Block,