Difference between revisions of "Template:Infobox:FixedObjectBase/doc"

From Cantr II Wiki
Jump to: navigation, search
 
m (Template:Infobox:UnbeweglichesObjekt -- german version added)
 
(4 intermediate revisions by 2 users not shown)
Line 22: Line 22:
 
| item2s1  =  
 
| item2s1  =  
 
| info2s1  =  
 
| info2s1  =  
| item3s1 =  
+
| section2 =
| info3s1 =  
+
| widths2  =
 +
| item0s2  =
 +
| info0s2  =
 +
| section3 =
 +
| widths3  =
 +
| item0s3  =
 +
| info0s3  =
 +
| section4 =
 +
| widths4  =
 +
| item0s4 =  
 +
| info0s4 =  
 
}}
 
}}
 
</pre>
 
</pre>
Line 32: Line 42:
 
* <tt>title</tt> - Title of the table. This parameter is required.
 
* <tt>title</tt> - Title of the table. This parameter is required.
  
* <tt>section1</tt> - Main section title. This parameter is required.
+
* <tt>section1</tt> - 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.
  
* <tt>widths1</tt> - Width of left column of the main section (in pixels). The default is "85". I recommend not to change this parameter (unless extremely necessary).
+
* <tt>widths1</tt> - Width of left column of the resting section (in pixels). The default is "85". I recommend not to change this parameter (unless extremely necessary).
  
* <tt>item0s1</tt> - Title of the first item in the main section. If this parameter is not defined, the first item of the section is not shown.
+
* <tt>item0s1</tt> - 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.
  
* <tt>info0s1</tt> - Information concerning the first item in the main section. It can be used to detail the resting properties of the object being described. Used in conjunction with the previous parameter.
+
* <tt>info0s1</tt> - 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.
  
* <tt>item1s1</tt> - Title of the second item in the main section. If this parameter is not defined, the second item of the section is not shown.
+
* <tt>item1s1</tt> - 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.
  
* <tt>info1s1</tt> - Information concerning the second item in the main section. It can be used to detail the storage properties of the object being described. Used in conjunction with the previous parameter.
+
* <tt>info1s1</tt> - 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.
  
* <tt>item2s1</tt> - Title of the third item in the main section. If this parameter is not defined, the second item of the section is not shown.
+
* <tt>item2s1</tt> - 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.
  
* <tt>info2s1</tt> - Information concerning the third item in the main section. It can be used to detail the broadcast properties of the object being described. Used in conjunction with the previous parameter.
+
* <tt>info2s1</tt> - 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.
  
* <tt>item3s1</tt> - Title of the fourth item in the main section. If this parameter is not defined, the second item of the section is not shown.
+
* <tt>section2</tt> - 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.
  
* <tt>info3s1</tt> - Information concerning the fourth item in the main section. It can be used to detail the increase sailing properties of the object being described. Used in conjunction with the previous parameter.
+
* <tt>widths2</tt> - Width of left column of the storage section (in pixels). The default is "85". I recommend not to change this parameter (unless extremely necessary).
 +
 
 +
* <tt>item0s2</tt> - Title of the first item in the storage section. If this parameter is not defined, the first item of the section is not shown.
 +
 
 +
* <tt>info0s2</tt> - 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.
 +
 
 +
* <tt>section3</tt> - 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.
 +
 
 +
* <tt>widths3</tt> - Width of left column of the broadcast section (in pixels). The default is "85". I recommend not to change this parameter (unless extremely necessary).
 +
 
 +
* <tt>item0s3</tt> - Title of the first item in the broadcast section. If this parameter is not defined, the first item of the section is not shown.
 +
 
 +
* <tt>info0s3</tt> - 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.
 +
 
 +
* <tt>section4</tt> - 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.
 +
 
 +
* <tt>widths4</tt> - 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).
 +
 
 +
* <tt>item0s4</tt> - 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.
 +
 
 +
* <tt>info0s4</tt> - 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 ==
 
== Examples of final templates in different languages ==
 
You can add the different versions (translations) of the final template here:
 
You can add the different versions (translations) of the final template here:
* Add version here
+
* [[Template:Infobox:ObjetoFijo]] - Spanish version (versión española)
 +
* [[Template:Infobox:UnbeweglichesObjekt]] - German version (deutsche Version)
 
* Add version here
 
* Add version here
  
 
<noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 18:12, 26 March 2011

{{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: