Template:Ship: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(34 intermediate revisions by the same user not shown) | |||
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}}}<br> | ||
{{{name}}}<br> | |||
| | Cost: {{{cost}}}<br> | ||
| | {{#if:{{{buildtime|}}}|Build time: {{{buildtime}}} seconds<br>|}} | ||
{{#if:{{{uses|}}}|Uses: {{{uses}}} supply<br>|}} | |||
| | Hull: {{{hull}}}<br> | ||
{{#if:{{{repair|}}}|Uses: {{{repair}}}<br>|}} | |||
Armor: {{{armor}}}<br> | |||
| | Armor type: {{{armor.type}}}<br> | ||
| | {{#if:{{{shields|}}}|Shield: {{{shields}}}<br>|}} | ||
| | {{#if:{{{regen|}}}|Regen: {{{regen}}}<br>|}} | ||
| | {{#if:{{{antimatter|}}}|Antimatter: {{{antimatter}}}<br>|}} | ||
| | {{#if:{{{recharge|}}}|Recharge: {{{recharge}}}<br>|}} | ||
| | Experience: {{{experience}}}<br> | ||
| | {{#if:{{{w1.name|}}}|{{{w1.name}}}:|}}{{#if:{{{w1.front|}}}|{{{w1.front}}}/|}}{{#if:{{{w1.back|}}}|{{{w1.back}}}/|}}{{#if:{{{w1.left|}}}|{{{w1.left}}}/|}}{{#if:{{{w1.right|}}}|{{{w1.right}}}<br>|}} | ||
| | {{#if:{{{w1.type|}}}|{{{w1.type}}}:|}}{{#if:{{{w1.range|}}}|Range:{{{w1.range}}}<br>|}} | ||
| | {{#if:{{{w2.name|}}}|{{{w2.name}}}:|}}{{#if:{{{w2.front|}}}|{{{w2.front}}}/|}}{{#if:{{{w2.back|}}}|{{{w2.back}}}/|}}{{#if:{{{w2.left|}}}|{{{w2.left}}}/|}}{{#if:{{{w2.right|}}}|{{{w2.right}}}<br>|}} | ||
| | {{#if:{{{w2.type|}}}|{{{w2.type}}}:|}}{{#if:{{{w2.range|}}}|Range:{{{w2.range}}}<br>|}} | ||
| | {{#if:{{{w3.name|}}}|{{{w3.name}}}:|}}{{#if:{{{w3.front|}}}|{{{w3.front}}}/|}}{{#if:{{{w3.back|}}}|{{{w3.back}}}/|}}{{#if:{{{w3.left|}}}|{{{w3.left}}}/|}}{{#if:{{{w3.right|}}}|{{{w3.right}}}<br>|}} | ||
| | {{#if:{{{w3.type|}}}|{{{w3.type}}}:|}}{{#if:{{{w3.range|}}}|Range:{{{w3.range}}}<br>|}} | ||
| | {{#if:{{{w4.name|}}}|{{{w4.name}}}:|}}{{#if:{{{w4.front|}}}|{{{w4.front}}}/|}}{{#if:{{{w4.back|}}}|{{{w4.back}}}/|}}{{#if:{{{w4.left|}}}|{{{w4.left}}}/|}}{{#if:{{{w4.right|}}}|{{{w4.right}}}<br>|}} | ||
| | {{#if:{{{w4.type|}}}|{{{w4.type}}}:|}}{{#if:{{{w4.range|}}}|Range:{{{w4.range}}}<br>|}} | ||
| | {{#if:{{{w5.name|}}}|{{{w5.name}}}:|}}{{#if:{{{w5.front|}}}|{{{w5.front}}}/|}}{{#if:{{{w5.back|}}}|{{{w5.back}}}/|}}{{#if:{{{w5.left|}}}|{{{w5.left}}}/|}}{{#if:{{{w5.right|}}}|{{{w5.right}}}<br>|}} | ||
| | {{#if:{{{w5.type|}}}|{{{w5.type}}}:|}}{{#if:{{{w5.range|}}}|Range:{{{w5.range}}}<br>|}} | ||
| | {{#if:{{{front.banks|}}}|Banks: {{{front.banks}}}/{{{back.banks}}}/{{{left.banks}}}/{{{right.banks}}}<br>|}} | ||
| | {{#if:{{{damage.bombing|}}}|Bombing damage:{{{damage.bombing}}}<br>|}} | ||
| | {{#if:{{{note|}}}|{{{note}}}<br>|}} | ||
| | {{#if:{{{desc|}}}|{{{desc}}}<br>|}} | ||
| | {{#if:{{{shortcut|}}}|Hotkey:{{{shortcut}}}<br>|}} | ||
| | |} | ||
| | |||
| | |||
| | |||
| < | |||
|- | </div> | ||
<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= | |||
|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''' || (Disabled) The maximum shield mitigation value | |||
|- | |||
| '''antimatter''' || (OPTIONAL) Amount of antimatter | |||
|- | |||
| '''recharge''' || (OPTIONAL) Amount of antimatter recharge | |||
|- | |||
| '''experience''' || 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. | |||
|- | |||
| '''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> | |||
Latest revision as of 21:38, 12 July 2022
{{{race}}} {{{name}}}
Armor: {{{armor}}}
|
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= |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 | (Disabled) The maximum shield mitigation value |
antimatter | (OPTIONAL) Amount of antimatter |
recharge | (OPTIONAL) Amount of antimatter recharge |
experience | 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. |
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) |