Template:Ship: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(switching format) |
||
| Line 1: | Line 1: | ||
<div style="float:right; padding-left:0px; background-color: # | <div style="float:right; padding-left:0px; background-color: #FFFFFF"> | ||
{| border="1" cellpadding="15" cellspacing="0" | {| border="1" cellpadding="15" cellspacing="0" | ||
| | |{{{race}}} | ||
|- style='line-height:14px;' | |||
|{{{name}}} | |||
|- style= | |- style='line-height:14px;' | ||
|Cost: {{{cost}}} | |||
| | {{#if:{{{buildtime|}}}|Build time: {{buildtime}} seconds|}} | ||
|- style= | |||
|} | |} | ||
</div> | </div> | ||
<noinclude>[[Category:Templates]] | <noinclude> | ||
==Template usage== | |||
To show a ship panel on the right of page. | |||
<pre> | |||
<nowiki> | |||
{{Ship | |||
|name= | |||
|race= | |||
|button= | |||
|image= | |||
|cost= | |||
|buildtime= | |||
|uses= | |||
|hull= | |||
|repair= | |||
|armor= | |||
|armor.type= | |||
|shields= | |||
|regen= | |||
|mitigation= | |||
|antimatter= | |||
|recharge= | |||
|experience= | |||
|w1.type= | |||
|w1.name= | |||
|w1.front= | |||
|w1.back= | |||
|w1.left= | |||
|w1.right= | |||
|w1.range= | |||
<!-- increment number for additional weapons up to five total --> | |||
|front.banks= | |||
|back.banks= | |||
|left.banks= | |||
|right.banks= | |||
|damage.bombing= | |||
|strikecraft= | |||
|ability1= | |||
|ability2= | |||
|ability3= | |||
|ability4= | |||
|note= | |||
|desc= | |||
|shortcut= | |||
}} | |||
</nowiki> | |||
</pre> | |||
{| style='cellpadding:0;cellspacing:0;border:none;' | |||
|- | |||
| '''name''' || The name of the ship. If specified over-rides the page name for the ship | |||
|- | |||
| '''race''' || TEC, Advent or Vasari etc. | |||
|- | |||
| '''button''' || (Disabled for now) The name of the image containing the button (Appears in top left of panel) | |||
|- | |||
| '''image''' || (Disabled for now) The name of the image for this ship | |||
|- | |||
| '''cost''' || Cost to build, For example: <nowiki>{{iconCredits}}300 {{iconMetal}}80 {{iconCrystal}}35</nowiki> | |||
|- | |||
| '''buildtime''' || (OPTIONAL) Time to build in seconds on normal speed. | |||
|- | |||
| '''uses''' || (OPTIONAL) The amount of supply used in building this ship. | |||
|- | |||
| '''hull''' || The ship's hull value | |||
|- | |||
| '''repair''' || (OPTIONAL) The ships hull repair value | |||
|- | |||
| '''armor''' || The ships armor value | |||
|- | |||
| '''armor.type''' || The ships armor type | |||
|- | |||
| '''shields''' || (OPTIONAL) The shield value | |||
|- | |||
| '''regen''' || (OPTIONAL) The shield regeneration value | |||
|- | |||
| '''mitigation''' || (OPTIONAL) The maximum shield mitigation value | |||
|- | |||
| '''antimatter''' || (OPTIONAL) Amount of antimatter | |||
|- | |||
| '''recharge''' || (OPTIONAL) Amount of antimatter recharge | |||
|- | |||
| '''experience''' || (OPTIONAL) Amount of experience | |||
|- | |||
| '''w1.type''' || (OPTIONAL) Attack type of the 1st weapon | |||
|- | |||
| '''w1.name''' || (OPTIONAL) Name of the 1st weapon | |||
|- | |||
| '''w1.front''' || (OPTIONAL) Front damage of 1st weapon | |||
|- | |||
| '''w1.back''' || (OPTIONAL) Back damage of 1st weapon | |||
|- | |||
| '''w1.left''' || (OPTIONAL) Left damage of 1st weapon | |||
|- | |||
| '''w1.right''' || (OPTIONAL) Right damage of 1st weapon | |||
|- | |||
| '''w1.range''' || (OPTIONAL) Range of of 1st weapon | |||
|- | |||
|colspan='2'| ''etc. for additional weapons up to five total'' | |||
|- | |||
| '''front.banks''' || (OPTIONAL) Number of front weapon banks | |||
|- | |||
| '''back.banks''' || (OPTIONAL) Number of back weapon banks | |||
|- | |||
| '''left.banks''' || (OPTIONAL) Number of left weapon banks | |||
|- | |||
| '''right.banks''' || (OPTIONAL) Number of right weapon banks | |||
|- | |||
| '''damage.bombing''' || (OPTIONAL) Average amount of damage inflicted by Planetary Bombing. | |||
|- | |||
| '''Strikecraft''' || (OPTIONAL) Strike crafts. | |||
|- | |||
| '''ability 1 to 4''' || (OPTIONAL) Abilities link. | |||
|- | |||
| '''note''' || (OPTIONAL) Notes relating to the ship (These are the ones in green). | |||
|- | |||
| '''desc''' || (OPTIONAL) A brief description of this ship | |||
|- | |||
| '''shortcut''' || (OPTIONAL) The key that is used as the shortcut (Captial letter please) | |||
|} | |||
[[Category:Templates]]</noinclude> | |||
Revision as of 20:48, 12 July 2022
| {{{race}}} |
| {{{name}}} |
| Cost: {{{cost}}}
|
Template usage
To show a ship panel on the right of page.
{{Ship
|name=
|race=
|button=
|image=
|cost=
|buildtime=
|uses=
|hull=
|repair=
|armor=
|armor.type=
|shields=
|regen=
|mitigation=
|antimatter=
|recharge=
|experience=
|w1.type=
|w1.name=
|w1.front=
|w1.back=
|w1.left=
|w1.right=
|w1.range=
<!-- increment number for additional weapons up to five total -->
|front.banks=
|back.banks=
|left.banks=
|right.banks=
|damage.bombing=
|strikecraft=
|ability1=
|ability2=
|ability3=
|ability4=
|note=
|desc=
|shortcut=
}}
| name | The name of the ship. If specified over-rides the page name for the ship |
| race | TEC, Advent or Vasari etc. |
| button | (Disabled for now) The name of the image containing the button (Appears in top left of panel) |
| image | (Disabled for now) The name of the image for this ship |
| cost | Cost to build, For example: {{iconCredits}}300 {{iconMetal}}80 {{iconCrystal}}35 |
| buildtime | (OPTIONAL) Time to build in seconds on normal speed. |
| uses | (OPTIONAL) The amount of supply used in building this ship. |
| hull | The ship's hull value |
| repair | (OPTIONAL) The ships hull repair value |
| armor | The ships armor value |
| armor.type | The ships armor type |
| shields | (OPTIONAL) The shield value |
| regen | (OPTIONAL) The shield regeneration value |
| mitigation | (OPTIONAL) The maximum shield mitigation value |
| antimatter | (OPTIONAL) Amount of antimatter |
| recharge | (OPTIONAL) Amount of antimatter recharge |
| experience | (OPTIONAL) Amount of experience |
| w1.type | (OPTIONAL) Attack type of the 1st weapon |
| w1.name | (OPTIONAL) Name of the 1st weapon |
| w1.front | (OPTIONAL) Front damage of 1st weapon |
| w1.back | (OPTIONAL) Back damage of 1st weapon |
| w1.left | (OPTIONAL) Left damage of 1st weapon |
| w1.right | (OPTIONAL) Right damage of 1st weapon |
| w1.range | (OPTIONAL) Range of of 1st weapon |
| etc. for additional weapons up to five total | |
| front.banks | (OPTIONAL) Number of front weapon banks |
| back.banks | (OPTIONAL) Number of back weapon banks |
| left.banks | (OPTIONAL) Number of left weapon banks |
| right.banks | (OPTIONAL) Number of right weapon banks |
| damage.bombing | (OPTIONAL) Average amount of damage inflicted by Planetary Bombing. |
| Strikecraft | (OPTIONAL) Strike crafts. |
| ability 1 to 4 | (OPTIONAL) Abilities link. |
| note | (OPTIONAL) Notes relating to the ship (These are the ones in green). |
| desc | (OPTIONAL) A brief description of this ship |
| shortcut | (OPTIONAL) The key that is used as the shortcut (Captial letter please) |