Template:Infobox:FixedObjectBase

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

{{Infobox:FixedObjectBase}} is a meta-template, ie a template for creating templates. This template is intended to be a basic template for templates of fixed items in different languages.

With this template you can describe, in a single table, all the characteristics of any fixed item. Moreover, one can define an alternative title (for templates in languages other than English) and the special features that have the object.

Usage

Put the following code in the template being designed. Complete the parameters you want, delete the unused.

Important note: If you want to create a template for fixed items in your language, do not use this template, this is a base template. Instead, copy the final template of another language and translate into your language. See "Examples of final templates in different languages" section for a list of currently created templates that you can translate.

{{Infobox:FixedObjectBase
| widths0  = 
| title    = 
| section1 = 
| widths1  = 
| item0s1  = 
| info0s1  = 
| item1s1  = 
| info1s1  = 
| item2s1  = 
| info2s1  = 
| section2 = 
| widths2  = 
| item0s2  = 
| info0s2  = 
| section3 = 
| widths3  = 
| item0s3  = 
| info0s3  = 
| section4 = 
| widths4  = 
| item0s4  = 
| info0s4  = 
}}

Parameters

  • widths0 - Width of the table (in pixels). The default is "300". I recommend not to change this parameter.
  • title - Title of the table. This parameter is required.
  • section1 - Reting section title. If you define this parameter, the table shows a section with information about the resting properties of the object being described. In addition, the section is entitled with the contents of this parameter.
  • widths1 - Width of left column of the resting section (in pixels). The default is "85". I recommend not to change this parameter (unless extremely necessary).
  • item0s1 - Title of the first item in the resting section. If this parameter is not defined (energy), the first item of the section is not shown.
  • info0s1 - Information concerning the first item in the resting section (Energy). It is used to detail the amount of energy restored by the object. Used in conjunction with the previous parameter.
  • item1s1 - Title of the second item in the resting section. If this parameter is not defined (capacity), the second item of the section is not shown.
  • info1s1 - Information concerning the second item in the resting section (Capacity). It is used to detail the capacity of the object being described. Used in conjunction with the previous parameter.
  • item2s1 - Title of the third item in the resting section. If this parameter is not defined (recoveryrate), the third item of the section is not shown.
  • info2s1 - Information concerning the second item in the resting section (Recover Rate). It is used to detail the recovery rate (1/100 energy) of the object being described. Used in conjunction with the previous parameter.
  • section2 - Storage section title. If you define this parameter, the table shows a section with information about the storage properties of the object being described. In addition, the section is entitled with the contents of this parameter.
  • widths2 - Width of left column of the storage section (in pixels). The default is "85". I recommend not to change this parameter (unless extremely necessary).
  • item0s2 - Title of the first item in the storage section. If this parameter is not defined, the first item of the section is not shown.
  • info0s2 - Information concerning the first item in the storage section. It can be used to detail the capacity of the object being described. Used in conjunction with the previous parameter.
  • section3 - Broadcast section title. If you define this parameter, the table shows a section with information about the broadcast properties of the object being described. In addition, the section is entitled with the contents of this parameter.
  • widths3 - Width of left column of the broadcast section (in pixels). The default is "85". I recommend not to change this parameter (unless extremely necessary).
  • item0s3 - Title of the first item in the broadcast section. If this parameter is not defined, the first item of the section is not shown.
  • info0s3 - Information concerning the first item in the broadcast section. It can be used to detail the broadcast range of the object being described. Used in conjunction with the previous parameter.
  • section4 - Increase sailing section title. If you define this parameter, the table shows a section with information about the increase sailing properties of the object being described. In addition, the section is entitled with the contents of this parameter.
  • widths4 - Width of left column of the increase sailing section (in pixels). The default is "85". I recommend not to change this parameter (unless extremely necessary).
  • item0s4 - Title of the first item in the increase sailing section. If this parameter is not defined, the first item of the section is not shown.
  • info0s4 - Information concerning the first item in the increase sailing section. It can be used to detail the increased speed by the object. Used in conjunction with the previous parameter.

Examples of final templates in different languages

You can add the different versions (translations) of the final template here: