Template:Infobox:FixedObject

From Cantr II Wiki
Jump to: navigation, search
Template documentation[ view ] [ discuss ] [edit]

{{Infobox:FixedObject}} shows, in a single table, all the features of any fixed object.

The table is located in the upper right corner, and may contain: information on resting furniture, fixed storage, radio transmission equipment and speed increasing masts and sails.

The article is automatically added (as appropriate) to the categories: Resting furniture Storage Electronics and / or Masts and sails.

Usage

Copy the text box below and paste it to the top of the page you are editing, within the ST template. Complete the fields with the information you want to display. Unused fields can be deleted or left incomplete.

{{Infobox:FixedObject
| sortingname = 
| energy      = 
| capacity    = 
| recovery    = 
| storage     = 
| range       = 
| sailing     = 
}}

Parameters

  • sortingname
    • Alternative Name of the object. It is used for the proper ordering of the item in the category resting furniture and Storage, so it only makes sense to use it for objects belong to these categories.
    • When and how to use it?
      • Where there are accented letters, replace that letter by one without an accent. For example, sortingname = Arcon for object "Arcón".
      • Where the letter "ñ" occurs, replace that letter with an "n" and add a "!" (Exclamation mark) at the end. For example, small barrel nombreoculto = Barril pequeno! for object "Barril pequeño."
  • energy
    • The number of energy points that are restored per hour of using the object.
    • If this parameter has a value, the tables special section of resting information is displayed. The article is automatically added to the category Resting furniture.
    • Example: energy = 800
  • capacity
    • The number of people who can use the object simultaneously.
    • This is required if energy is specified, and is not needed if energy is not specified. (The default is "1", but it is advisable to define this parameter.)
    • Example: capacity = 2
  • recovery
    • The recovery rate while resting, equal to 1/100 of energy specified.
    • This is required if energy is specified, and is not needed if energy is not specified.
    • Example: recovery = 8
  • storage
    • Capacity (in grams) that the object can hold.
    • Capacidad (en gramos) de almacenamiento que tiene el objeto. We recommend using thousands separator in this parameter.
    • If there is value to this parameter, the tables special section of storage information is displayed.The article is automatically added to the category Storage.
    • Correct example: storage = 20,500
    • Wrong example: storage = 20500
  • range
    • Range (in pixels) of transmission of the object
    • If there is value to this parameter, the tables special section for transmitter information is displayed. The article is automatically added to the category Electronics. In addition, the sorting order within the category is based on the range.
    • Example: range = 60
  • sailing
    • Speed increase granted by the object. Use a period (".") to separate the digits.
    • If there is value to this parameter, the tables special section of increasesailing is displayed. The article is automatically added to the category Masts and sails. In addition, the sorting order within the category is by the value of this parameter.
    • Correct example: sailing = 0.02
    • Wrong example: sailing = 0,02