Difference between revisions of "Template:Infobox:FixedObject"
From Cantr II Wiki
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
| info1s1 = {{if|test={{{capacity|}}}|then={{{capacity}}}|else=1}} person(s) | | info1s1 = {{if|test={{{capacity|}}}|then={{{capacity}}}|else=1}} person(s) | ||
| item2s1 = Recovery Rate | | item2s1 = Recovery Rate | ||
− | | info2s1 = {{{ | + | | info2s1 = {{if|test={{{recovery|}}}|then={{{recovery}}}|else=1}} (1/100 energy) |
| section2 = {{if|test={{{storage|}}}|then=Fixed storage|else=}} | | section2 = {{if|test={{{storage|}}}|then=Fixed storage|else=}} | ||
| item0s2 = Capacity | | item0s2 = Capacity | ||
Line 14: | Line 14: | ||
| item0s3 = Range | | item0s3 = Range | ||
| info0s3 = {{{range}}} pixels | | info0s3 = {{{range}}} pixels | ||
− | | section4 = {{if|test={{{ | + | | section4 = {{if|test={{{sailing|}}}|then=Masts and sails|else=}} |
| item0s4 = [[Increasesailing]] | | item0s4 = [[Increasesailing]] | ||
− | | info0s4 = {{{ | + | | info0s4 = {{{sailing}}} |
− | }}<!-- Categories for the object -->{{if|test={{{energy|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:Resting furniture|{{{sortingname}}}]]|else=[[Category:Resting furniture]]}}|else=}}{{if|test={{{storage|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:Storage|{{{sortingname}}}]]|else=[[Category:Storage]]}}|else=}}{{if|test={{{range|}}}|then=[[Category:Electronics|{{{range}}}]]|else=}}{{if|test={{{ | + | }}<!-- Categories for the object -->{{if|test={{{energy|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:Resting furniture|{{{sortingname}}}]]|else=[[Category:Resting furniture]]}}|else=}}{{if|test={{{storage|}}}|then={{if|test={{{sortingname|}}}|then=[[Category:Storage|{{{sortingname}}}]]|else=[[Category:Storage]]}}|else=}}{{if|test={{{range|}}}|then=[[Category:Electronics|{{{range}}}]][[Category:Radio broadcasters|{{{range}}}]]|else=}}{{if|test={{{sailing|}}}|then=[[Category:Masts and sails|{{{sailing}}}]]|else=}}</includeonly><!-- Categories for the template --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 11:57, 21 May 2012
{{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. UsageCopy 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
|