Difference between revisions of "Template:Infobox:SenmovaObjekto"

From Cantr II Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
| info0s3  = {{{range}}} pixels
 
| info0s3  = {{{range}}} pixels
 
| section4 = {{if|test={{{sailing|}}}|then=Mastoj kaj veloj|else=}}
 
| section4 = {{if|test={{{sailing|}}}|then=Mastoj kaj veloj|else=}}
| item0s4  = [[Increasesailing]]
+
| item0s4  = [[PliaVelado]]
 
| info0s4  = {{{sailing}}}
 
| info0s4  = {{{sailing}}}
}}<!-- Categories for the object -->{{if|test={{{energy|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:Ripozaj mebloj|{{{sortingname}}}]]|else=[[Category:Ripozaj mebloj]]}}|else=}}{{if|test={{{storage|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:Tenujoj|{{{sortingname}}}]]|else=[[Category:Tenujoj]]}}|else=}}{{if|test={{{range|}}}|then=[[Category:Elektroniko|{{{range}}}]]|else=}}{{if|test={{{sailing|}}}|then=[[Category:Mastoj kaj veloj|{{{sailing}}}]]|else=}}</includeonly><!-- Categories for the template --><noinclude>{{Doc}}[[Category:Ŝablonoj|{{PAGENAME}}]]</noinclude>
+
}}<!-- Categories for the object -->{{if|test={{{energy|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:Ripozaj mebloj|{{{sortingname}}}]]|else=[[Category:Ripozaj mebloj]]}}|else=}}{{if|test={{{storage|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:Senmovaj tenujoj|{{{sortingname}}}]]|else=[[Category:Senmovaj tenujoj]]}}|else=}}{{if|test={{{range|}}}|then=[[Category:Elektroniko|{{{range}}}]]|else=}}{{if|test={{{sailing|}}}|then=[[Category:Mastoj kaj veloj|{{{sailing}}}]]|else=}}</includeonly><!-- Categories for the template --><noinclude>{{Doc}}[[Category:Ŝablonoj|{{PAGENAME}}]]</noinclude>

Latest revision as of 14:30, 29 August 2016

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