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 Decorations parameter)
 * E - Electric
 * M - Maglev
 * W - Wagons
 * F - Flag
 * T - Theme (coming soon!)

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
 * contractor - (optional) Statistics and cost in contractor shop, use ShopContractor to provide input
 * offer - (optional) Offer entry, or entries
 * OfferBuilding - Offer entry for buildings (coming soon, use OfferStationItem instead)
 * notes - (optional) Any additional information about the item

Blank Template
This blank template makes it easy to create a new page for a building, or to edit an older page that is missing information. Copy the entire template and paste it into the Classic Editor. Remove unused parameters.

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
 * contractor - (optional) Statistics and cost in contractor shop, use ShopContractor to provide input
 * offer - (optional) Offer entry, or entries
 * OfferDeco - Offer entry for decorations (coming soon, use OfferStationItem instead)
 * notes - (optional) Any additional information about the item

Blank Template
This blank template makes it easy to create a new page for a decoration, or to edit an older page that is missing information. Copy the entire template and paste it into the Classic Editor. Remove unused parameters.

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_gold - (optional) The cost of the item
 * xp_gold - (optional) Buy XP if available in Shop for purchase
 * level_gold - (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

Blank Template
This blank template makes it easy to create a new page for a locomotive, or to edit an older page that is missing information. Copy the entire template and paste it into the Classic Editor. Remove unused parameters.

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%
 * maglev - (optional) For a maglev-only wagon
 * set - (optional) Provide if the wagon is part of a set
 * cost_gold - (optional) The cost of the item
 * xp_gold - (optional) Buy XP if available in Shop for purchase
 * level_gold - (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

Blank Template
This blank template makes it easy to create a new page for a wagon, or to edit an older page that is missing information. Copy the entire template and paste it into the Classic Editor. Remove unused parameters.

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

Blank Template
This blank template makes it easy to create a new page for a flag, or to edit an older page that is missing information. Copy the entire template and paste it into the Classic Editor. Remove unused parameters.

Theme Parameters
Coming soon!