FANDOM


This is the current layout for items available in contractor Shops. This template can be used for items in contractor Shops and not in the regular Shop, inside {{Infobox items}}.

Blank templates

These blank templates make it easy to create a new page for a contractor Shop item, or to edit an older page that is missing information. Copy the entire template and paste it into the Source Editor. Leave unused parameters blank. Do not delete any parameters when creating or editing a page.

Used within Template:Infobox items

When {{ContractorItem}} is used within {{Infobox items}}
For regular contractors use:

{{ContractorItem|name=|year=|pass=|size=|cost=|buyxp=|build=|opt=}}

For scaled contractors use:

{{ContractorItem|name=|year=|default=|return=
|l1=|l1cost=|l1xp=|l1pass=
|l2=|l2cost=|l2xp=|l2pass=
|l3=|l3cost=|l3xp=|l3pass=
|l4=|l4cost=|l4xp=|l4pass=
|l5=|l5cost=|l5xp=|l5pass=
|size=|build=|opt=}}

Syntax

Parameters include three required pieces of data and four optional pieces of data.

  • name (required) - Name of the contractor in whose Shop the item is available.
  • year (optional) - Year (4 digits) the seasonal contractor was active. Required for seasonal contractors. Leave blank for permanent contractors.
  • pass (optional) - Number of passengers per hour the building generates. Required for buildings. Leave blank for decorations.
  • size (optional) - Number of grid spaces the building occupies. Required for buildings. Leave blank for decorations.
  • cost (required) - Cost of the item, using {{Cost}}.
  • buyxp (required) - Number of experience points (XP) rewarded when buying the item, using numbers only. Example: | buyxp= 200000
  • build (optional) - Contract or contracts for which building the item is an objective, using numbers only. If more than one contract, separate the numbers with another parameter (up to 3). Example: |build=34|build2=35|build3=40
    • opt (optional) - If the item is optional for the objective, enter | opt=y. Leave blank if item is required.

For scaled contractors use the following parameters in one line:

  • name (required) - Name of the contractor in whose Shop the item is available.
  • year (required) - Year (4 digits) the seasonal contractor was active.
  • default (optional) - Default level group for scaled contractors. Required for returning scaled contractors. Leave blank for new scaled contractors.
  • return (optional) - Year (4 digits) the scaled contractor returns. Required for returning scaled contractors. Leave blank for new scaled contractors.

Use the following parameters in one line, but separate the lines for each level group:

  • l# - Level group(s) (up to 5)
  • l#cost (required) - Cost of the item, using {{Cost}}.
  • l#xp (required) - Number of experience points (XP) rewarded when buying the item, using numbers only.
  • l#pass (optional) - Number of passengers per hour the building generates. Required for buildings. Leave blank for decorations.

Use the following parameters in one line:

  • size (optional) - Number of grid spaces the building occupies. Required for buildings. Leave blank for decorations.
  • build (optional) - Contract or contracts for which building the item is an objective, using numbers only. If more than one contract, separate the numbers with another parameter (up to 3). Example: |build=34|build2=35|build3=40
    • opt (optional) - If the item is optional for the objective, enter | opt=y. Leave blank if item is required.

Examples

Examples within Infobox items

{{Infobox items
|name= Boring House
|image= 
|type= b
|theme= mea
|pass= 1
|size= 1
|costgem= 5
|buyxp= 2
|contractshop= 
{{ContractorItem|name=Johann|year=|pass=4|size=2|cost={{cost|gold=5000|wood=10000}}|buyxp=1|build=|opt=}}
}}


Logo TS
Boring House Icon Shop Building
Statistics
Placeholder bldg
Type Building
Theme Meadow
Limit +6 Passenger
Income +1 Income/h
Size 1 Space
Ratio
  1.00 / Space  
Purchasing Information
Shop Info: Gold Shop Info: Gems
Cost 5 Gems Cost N/A
Buy XP 2 XP Buy XP
Level Level
Contract shop Information
Johann's Shop
Statistics Levels Cost Buy XP Contract(s)
Limit +48 Passenger 
Income +4 Income/h N/A 5,000 Gold
10,000 Wood
1 XP   
Size Space
Ratio 2.00 Income/Space


{{Infobox items
|name= Awesome Bench
|image= 
|type= d
|theme= wes
|cost= {{cost|wood=100|nails=150|rubber=150}}
|buyxp= 50
|contractshop= 
{{ContractorItem|name=Bobby|year=|cost={{cost|wood=50|nail=75|rubb=75}}|buyxp=25|build=12|opt=y|notes=}}
{{ContractorItem|name=Lucy|year=|cost={{cost|wood=75|nail=100|rubb=125}}|buyxp=40|build=24|build2=27|opt=}}
|award= Level 33
}}


Logo TS
Awesome Bench Icon Shop Decoration
Statistics
Placeholder bldg
Type Decoration
Theme Western
Purchasing Information
Shop Info: Gold Shop Info: Gems
Cost 100 Wood
150 Nails
150 Rubber
Cost N/A
Buy XP 50 XP Buy XP
Level Level
Award Information
Award From Level 33 Limit
Contract shop Information
Bobby's Shop
Statistics Levels Cost Buy XP Contract(s)
N/A N/A 50 Wood
75 Nails
75 Rubber
25 XP   12
Lucy's Shop
Statistics Levels Cost Buy XP Contract(s)
N/A N/A 75 Wood
100 Nails
125 Rubber
40 XP   24, 27
Community content is available under CC-BY-SA unless otherwise noted.