Template:Ship: Difference between revisions

From Sins of a Solar Empire - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float:right; padding-left:0px;  background-color: #1F2022">
<div style="float:right; padding-left:0px;  background-color: #FFFFFF">
{| border="1" cellpadding="15" cellspacing="0"
{| border="1" cellpadding="15" cellspacing="0"
|- style="line-height:14px;"
|{{{race}}}<br>
|- style="color: #FFFFFF ;"
{{{name}}}<br>
| colspan="2" | Name: {{{Name}}} </span>
Cost: {{{cost}}}<br>
|- style="line-height:14px;"
{{#if:{{{buildtime|}}}|Build time: {{{buildtime}}} seconds<br>|}}
|- style="color: #FFFFFF ;"
{{#if:{{{uses|}}}|Uses: {{{uses}}} supply<br>|}}
| colspan="2" | Race: {{{Race}}}
Hull: {{{hull}}}<br>
|- style="line-height:14px;"
{{#if:{{{repair|}}}|Uses: {{{repair}}}<br>|}}
|- style="color: #FFFFFF ;"
Armor: {{{armor}}}<br>
| colspan="2" | Cost: <span style="color: #FFC300 ;">{{#if:{{{Credits|}}}|
Armor type: {{{armor.type}}}<br>
{{{Credits}}} Credits
{{#if:{{{shields|}}}|Shield: {{{shields}}}<br>|}}
|}}{{#if:{{{Metal|}}}|
{{#if:{{{regen|}}}|Regen: {{{regen}}}<br>|}}
, {{{Metal}}} Metal
{{#if:{{{antimatter|}}}|Antimatter: {{{antimatter}}}<br>|}}
|}}{{#if:{{{Crystal|}}}|
{{#if:{{{recharge|}}}|Recharge: {{{recharge}}}<br>|}}
, {{{Crystal}}} Crystal </span>  
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>|}}
</span>  
{{#if:{{{w1.type|}}}|{{{w1.type}}}:|}}{{#if:{{{w1.range|}}}|Range:{{{w1.range}}}<br>|}}
|- style="line-height:14px;"
{{#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>|}}
|- style="color: #FFFFFF ;"
{{#if:{{{w2.type|}}}|{{{w2.type}}}:|}}{{#if:{{{w2.range|}}}|Range:{{{w2.range}}}<br>|}}
| colspan="2" | Build Time: <span style="color: #FFC300 ;">{{{Buildtime}}}</span> seconds.
{{#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:{{{Supply|}}}|
{{#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>|}}
|- style="line-height:14px;"
{{#if:{{{w4.type|}}}|{{{w4.type}}}:|}}{{#if:{{{w4.range|}}}|Range:{{{w4.range}}}<br>|}}
|- style="color: #FFFFFF ;"
{{#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>|}}
| colspan="2" | Uses: <span style="color: #FFC300 ;">{{{Supply}}}</span> supply.
{{#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>|}}
|- style="line-height:14px;"
{{#if:{{{damage.bombing|}}}|Bombing damage:{{{damage.bombing}}}<br>|}}
|- style="color: #FFFFFF ;"
{{#if:{{{note|}}}|{{{note}}}<br>|}}
| Hull:
{{#if:{{{desc|}}}|{{{desc}}}<br>|}}
| <span style="color:#90EE90;">{{{Hull}}}{{#if:{{{HullL|}}}|[[
{{#if:{{{shortcut|}}}|Hotkey:{{{shortcut}}}<br>|}}
<br/> <span style="font-size: 80%">+{{{HullL}}} / level</span></span>
|}
]]|}}
 
|- style="line-height:14px;"
</div>
|- style="color: #FFFFFF ;"
<noinclude>
| Repair:
==Template usage==
| <span style="color:#90EE90;">{{{HullR}}}<br/> <span style="font-size: 80%">+{{{HullRL}}} / level</span></span>
To show a ship panel on the right of page.
|- style="line-height:14px;"
<pre>
|- style="color: #FFFFFF ;"
<nowiki>
| Armor:<br/> <span style="font-size: 80%;color: #FFC300 ;">{{{Armortype}}}</span>
{{Ship
| <span style="color: #FFC300 ;">{{{Armor}}}<br/> <span style="font-size: 80%">+{{{ArmorL}}} / level</span></span>
|name=
|- style="line-height:14px;"
|race=
|- style="color: #FFFFFF ;"
|button=
| Shields:
|image=
| <span style="color: #FFC300 ;">{{{Shield}}}<br/> <span style="font-size: 80%">+{{{ShieldL}}}/ level</span></span>
|cost=
|- style="line-height:14px;"
|buildtime=
|- style="color: #FFFFFF ;"
|uses=
| Regeneration:
|hull=
| <span style="color: #FFC300 ;">{{{ShieldR}}}<br/> <span style="font-size: 80%">+{{{ShieldRL}}} / level</span></span>
|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="line-height:14px;"|- style="color: #FFFFFF ;"
{| style='cellpadding:0;cellspacing:0;border:none;'
{{#if:{{{Am|}}}|
|-  
[[
| '''name''' || The name of the ship. If specified over-rides the page name for the ship
| Antimatter:
|-
| <span style="color:#0096FF;">{{{Am}}}
| '''race''' || TEC, Advent or Vasari etc.
{{#if:{{{AmL|}}}|
|-
[[|
| '''button''' || (Disabled for now) The name of the image containing the button (Appears in top left of panel)
+{{{AmL}}} / level</span></span>
|-
]]
| '''image''' || (Disabled for now) The name of the image for this ship
|}}
|-  
|- style="line-height:14px;"
| '''cost''' || Cost to build, For example: <nowiki>{{iconCredits}}300 {{iconMetal}}80 {{iconCrystal}}35</nowiki>
|- style="color: #FFFFFF ;"
|-
| Recharge:
| '''buildtime''' || (OPTIONAL) Time to build in seconds on normal speed.
| <span style="color:#0096FF;">{{{AmR}}}<br/>
|-  
{{#if:{{{AmRL|}}}|
| '''uses''' || (OPTIONAL) The amount of supply used in building this ship.
[[|
|-  
+{{{AmRL}}}/ level</span></span>
| '''hull''' || The ship's hull value
]]
|-  
|}}
| '''repair''' || (OPTIONAL) The ships hull repair value
|- style="line-height:14px;"
|-
|- style="color: #FFFFFF ;"
| '''armor''' || The ships armor value
]]
|-  
|}}
| '''armor.type''' || The ships armor type
| Experience value:
|-  
| <span style="color: #FFC300 ;">{{{Xp}}}<br/> <span style="font-size: 80%">+{{{XpL}}}/ level</span></span>
| '''shields''' || (OPTIONAL) The shield value
|- style="line-height:14px;"
|-  
|- style="color: #FFFFFF ;"
| '''regen''' || (OPTIONAL) The shield regeneration value
| colspan="2" | Weapon Damage Per Second Per Bank<br/> <span style="font-size: 80%">(front / back / left / right)</span>
|-  
|- style="line-height:14px;"
| '''mitigation''' || (Disabled) The maximum shield mitigation value
|- style="color: #FFFFFF ;"
|-  
| {{{W1}}}:<br/> <span style="font-size: 80%;color: #FFC300 ;">{{{W1T}}}</span>
| '''antimatter''' || (OPTIONAL) Amount of antimatter
| <span style="color: #FFC300 ;">{{{W1B1}}} / {{{W1B2}}} / {{{W1B3}}} / {{{W1B4}}}<br/> <span style="font-size: 80%">Range: {{{W1R}}}</span></span>
|-  
|- style="line-height:14px;"
| '''recharge''' || (OPTIONAL) Amount of antimatter recharge
|- style="color: #FFFFFF ;"
|-  
| {{{W2}}}:<br/> <span style="font-size: 80%;color: #FFC300 ;">{{{W2T}}}</span>
| '''experience''' || Amount of experience
| <span style="color: #FFC300 ;">{{{W2B1}}} / {{{W2B2}}} / {{{W2B3}}} / {{{W2B4}}}<br/> <span style="font-size: 80%">Range: {{{W2R}}}</span></span>
|-  
|- style="line-height:14px;"
| '''w1.type''' || (OPTIONAL) Attack type of the 1st weapon
|- style="color: #FFFFFF ;"
|-  
| {{{W3}}}:<br/> <span style="font-size: 80%;color: #FFC300 ;">{{{W3T}}}</span>
| '''w1.name''' || (OPTIONAL) Name of the 1st weapon
| <span style="color: #FFC300 ;">{{{W3B1}}} / {{{W3B2}}} / {{{W3B3}}} / {{{W3B4}}}<br/> <span style="font-size: 80%">Range: {{{W3R}}}</span></span>
|-  
|- style="line-height:14px;"
| '''w1.front''' || (OPTIONAL) Front damage of 1st weapon
|- style="color: #FFFFFF ;"
|-  
| {{{W4}}}:<br/> <span style="font-size: 80%;color: #FFC300 ;">{{{W4T}}}</span>
| '''w1.back''' || (OPTIONAL) Back damage of 1st weapon
| <span style="color: #FFC300 ;">{{{W4B1}}} / {{{W4B2}}} / {{{W4B3}}} / {{{W4B4}}}<br/> <span style="font-size: 80%">Range: {{{W4R}}}</span></span>
|-  
|- style="line-height:14px;"
| '''w1.left''' || (OPTIONAL) Left damage of 1st weapon
|- style="color: #FFFFFF ;"
|-  
| {{{W5}}}:<br/> <span style="font-size: 80%;color: #FFC300 ;">{{{W5T}}}</span>
| '''w1.right''' || (OPTIONAL) Right damage of 1st weapon
| <span style="color: #FFC300 ;">{{{W5B1}}} / {{{W5B2}}} / {{{W5B3}}} / {{{W5B4}}}<br/> <span style="font-size: 80%">Range: {{{W5R}}}</span></span>
|-  
|- style="line-height:14px;
| '''w1.range''' || (OPTIONAL) Range of of 1st weapon
|- style="color: #FFFFFF ;"
|-
| Weapon Banks:
|colspan='2'| ''etc. for additional weapons up to five total''
| <span style="color: #FFC300 ;">{{{B1}}} / {{{B2}}} / {{{B3}}} / {{{B4}}}</span>
|-  
|- style="line-height:0;"
| '''front.banks''' || (OPTIONAL) Number of front weapon banks
|- style="color: #FFFFFF ;"
|-
| Bombing Damage:
| '''back.banks''' || (OPTIONAL) Number of back weapon banks
| <span style="color: #FFC300 ;">{{{Bombing damage}}}</span>
|-  
|- style="line-height:14px;"
| '''left.banks''' || (OPTIONAL) Number of left weapon banks
|- style="color: #FFFFFF ;"
|-
| colspan="2" | {{{Strikecraft}}}<br/>
| '''right.banks''' || (OPTIONAL) Number of right weapon banks
|- style="color: #FFFFFF ;"
|-  
| colspan="2" | {{{Abilities1}}}<br/> {{{Abilities2}}}<br/> {{{Abilities3}}}<br/> {{{Abilities4}}}
| '''damage.bombing''' || (OPTIONAL) Average amount of damage inflicted by Planetary Bombing.
|- style="color: #FFFFFF ;"
|-  
| colspan="2" | {{{Description}}}
| '''note''' || (OPTIONAL) Notes relating to the ship (These are the ones in green).
|- style="color: #FFFFFF ;"
|-  
| colspan="2" | Shortcut: (<span style="color: #FFC300 ;">{{{Hotkey}}}</span>)
| '''desc''' || (OPTIONAL) A brief description of this ship
|-  
| '''shortcut''' || (OPTIONAL) The key that is used as the shortcut (Captial letter please)
|}
|}
</div>
 
<noinclude>[[Category:Templates]]
[[Category:Templates]]</noinclude>

Latest revision as of 21:38, 12 July 2022

{{{race}}}

{{{name}}}
Cost: {{{cost}}}


Hull: {{{hull}}}

Armor: {{{armor}}}
Armor type: {{{armor.type}}}



Experience: {{{experience}}}








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)