Template:Infobox items/doc

This is Infobox items, the template to replace the templates for locomotives, wagons, buildings, decorations, flags, and maybe more in the future

Type Parameters

 * type - (required) The type of item (not case sensitive)
 * B - Buildings
 * D - Decorations, or Diesel Locomotive if parameter tax is used
 * S/D/E/M Locomotives
 * S - Steam
 * D - Diesel (see Decoration parameter)
 * E - Electric
 * M - Maglev
 * W - Wagons
 * F - Flag
 * T - Theme

Building Parameters

 * name - (optional) Will be displayed if provided, defaults to page name if not provided
 * image - (required) Will display the item's image, if not provided, a placeholder will be shown
 * pass - (optional) The passenger per hour a building generates
 * size - (required) The number of grid tiles the building covers
 * theme - (optional) The theme of the item
 * cost - (optional) The cost of the item
 * buyxp - (optional) Buy XP if available in Shop for purchase
 * level - (optional) Buy level if available in Shop for purchase
 * limit - (optional) The limit of items that can be purchased, or awarded
 * cost_gem - (optional) Purchase cost if available in Shop for Gem purchase
 * xp_gem - (optional) Buy XP if available in Shop for Gem purchase
 * level_gem - (optional) Buy level if available in Shop for Gem purchase
 * limit_gem - (optional) Override for limit to define Shop purchase Gem limit
 * award - (optional) Description of how the item is awarded, link to the contract/achievement
 * offer - (optional) Offer entry, or entries
 * OfferBuilding - Offer entry for buildings (coming soon, use OfferStationItem instead)
 * notes - (optional) Any additional information about the item

Decoration Parameters

 * name - (optional) Will be displayed if provided, defaults to page name if not provided
 * image - (required) Will display the item's image, if not provided, a placeholder will be shown
 * theme - (optional) The theme of the item
 * cost - (optional) The cost of the item
 * buyxp - (optional) Buy XP if available in Shop for purchase
 * level - (optional) Buy level if available in Shop for purchase
 * limit - (optional) The limit of items that can be purchased, or awarded
 * cost_gem - (optional) Purchase cost if available in Shop for Gem purchase
 * xp_gem - (optional) Buy XP if available in Shop for Gem purchase
 * level_gem - (optional) Buy level if available in Shop for Gem purchase
 * limit_gem - (optional) Override for limit to define Shop purchase Gem limit
 * award - (optional) Description of how the item is awarded, link to the contract/achievement
 * offer - (optional) Offer entry, or entries
 * OfferDeco - Offer entry for decorations (coming soon, use OfferStationItem instead)
 * notes - (optional) Any additional information about the item

Locomotive Parameters

 * name - (optional) Will be displayed if provided, defaults to page name if not provided
 * image - (required) Will display the item's image, if not provided, a placeholder will be shown
 * power - (required) The maximum number of wagons the locomotive can pull
 * tax - (required) The cost to dispatch the locomotive
 * dispatch - (required) The number of Experience points (XP) a player receives after dispatching the locomotive
 * set - (optional) Provide if the locomotive is part of a set
 * natflag - (optional) Provide if it's a National Flag Locomotive (y/n)
 * cost - (optional) The cost of the item
 * buyxp - (optional) Buy XP if available in Shop for purchase
 * level - (optional) Buy level if available in Shop for purchase
 * limit - (optional) The limit of items that can be purchased, or awarded
 * cost_gem - (optional) Purchase cost if available in Shop for Gem purchase
 * xp_gem - (optional) Buy XP if available in Shop for Gem purchase
 * level_gem - (optional) Buy level if available in Shop for Gem purchase
 * limit_gem - (optional) Override for limit to define Shop purchase Gem limit
 * award - (optional) Description of how the item is awarded, link to the contract/achievement
 * offer - (optional) Offer entry, or entries
 * OfferLoco - Offer entry for locomotives
 * notes - (optional) Any additional information about the item

Wagon Parameters

 * name - (optional) Will be displayed if provided, defaults to page name if not provided
 * image - (required) Will display the item's image, if not provided, a placeholder will be shown
 * wagon_type1 - (required) The type of cargo the wagon carries
 * wagon_type2 - (optional) Provide when the wagon hauls a second type of cargo
 * wagon_bonus - (required) Enter the wagon's bonus, leave empty for +0%
 * set - (optional) Provide if the wagon is part of a set
 * cost - (optional) The cost of the item
 * buyxp - (optional) Buy XP if available in Shop for purchase
 * level - (optional) Buy level if available in Shop for purchase
 * limit - (optional) The limit of items that can be purchased, or awarded
 * cost_gem - (optional) Purchase cost if available in Shop for Gem purchase
 * xp_gem - (optional) Buy XP if available in Shop for Gem purchase
 * level_gem - (optional) Buy level if available in Shop for Gem purchase
 * limit_gem - (optional) Override for limit to define Shop purchase Gem limit
 * award - (optional) Description of how the item is awarded, link to the contract/achievement
 * offer - (optional) Offer entry, or entries
 * OfferWagon - Offer entry for wagons
 * notes - (optional) Any additional information about the item

Flag Parameters

 * name - (optional) Will be displayed if provided, defaults to page name if not provided
 * image - (required) Will display the item's image, if not provided, a placeholder will be shown
 * passlimit - (required) Passenger limit of the flag
 * passincome - (required) Passenger income of the flag
 * duration - (required) Duration of the flag
 * cost - (optional) The cost of the item
 * buyxp - (optional) Buy XP if available in Shop for purchase
 * level - (optional) Buy level if available in Shop for purchase
 * limit - (optional) The limit of items that can be purchased, or awarded
 * cost_gem - (optional) Purchase cost if available in Shop for Gem purchase
 * xp_gem - (optional) Buy XP if available in Shop for Gem purchase
 * level_gem - (optional) Buy level if available in Shop for Gem purchase
 * limit_gem - (optional) Override for limit to define Shop purchase Gem limit
 * award - (optional) Description of how the item is awarded, link to the contract/achievement
 * offer - (optional) Offer entry, or entries
 * OfferFlag - Offer entry for flags (coming soon, use OfferStationItem instead)
 * notes - (optional) Any additional information about the item

Theme Parameters
Coming soon!