Difference between revisions of "Template:ShipModTable1"

From Star Conflict Wiki
Jump to: navigation, search
(Tested - add up to option9, suppress CR icon for costs longer than 1 word)
(Add tierRank, droppedInZone and minGSValue arguments. Use PAGENAME as fallback for name argument)
Line 1: Line 1:
  
 
{| class="wikitable" width="100%" align="center"
 
{| class="wikitable" width="100%" align="center"
!colspan="4" style="background:silver" |{{{name|Modifier}}} {{{enableTier}}}
+
!colspan="4" style="background:silver" |{{{name|{{{PAGENAME}}} }}} {{{enableTier}}} {{#if:{{{tierRank|}}}|({{{tierRank|}}})}}
 
|-align="center" style="background:LightGrey"  
 
|-align="center" style="background:LightGrey"  
 
|width=25%|{{Mk.1}}  
 
|width=25%|{{Mk.1}}  
Line 89: Line 89:
 
|- align="center"  
 
|- align="center"  
 
{{#if: {{{cost_mk4|}}} |                                            <!--Cost per mk -->
 
{{#if: {{{cost_mk4|}}} |                                            <!--Cost per mk -->
   {{!}}height=50px width=25%{{!}}{{#if:{{#pos:{{{cost_mk1|}}}|" "}}|{{{cost_mk1|}}}|{{{cost_mk1|}}} {{CR}} }}
+
   {{!}}height=103px width=25%{{!}}{{#if:{{{droppedInZone|}}}|Drops from fallen enemies in [[{{{droppedInZone}}}]]<br/>}}{{#if:{{{cost_mk1|}}}|{{{cost_mk1|}}} {{CR}} }}{{#if:{{{minGSValue|}}}|<br/>{{#switch:{{{minGSValue|}}}|0=Not tradeable|{{{minGSValue|}}} {{GS}} }} }}
  {{!}}height=50px width=25%{{!}}{{#if:{{#pos:{{{cost_mk2|}}}|" "}}|{{{cost_mk2|}}}|{{{cost_mk2|}}} {{CR}} }}
+
  {{!}}height=103px width=25%{{!}}{{{cost_mk2|}}} {{CR}}
   {{!}}height=50px width=25%{{!}}{{#if:{{#pos:{{{cost_mk3|}}}|" "}}|{{{cost_mk3|}}}|{{{cost_mk3|}}} {{CR}} }}
+
   {{!}}height=103px width=25%{{!}}{{{cost_mk3|}}} {{CR}}
  {{!}}height=50px width=25%{{!}}{{#if:{{#pos:{{{cost_mk4|}}}|" "}}|{{{cost_mk4|}}}|{{{cost_mk4|}}} {{CR}} }} |
+
  {{!}}height=103px width=25%{{!}}{{{cost_mk4|}}} {{CR}} |
{{!}}height=50px colspan=4{{!}}{{{cost_mk1|}}} }} <!--Cost full -->
+
{{!}}height=103px colspan=4{{!}}{{#if:{{{droppedInZone|}}}|Drops from fallen enemies in [[{{{droppedInZone}}}]]<br/>}}{{{cost_mk1|}}}{{#if:{{{minGSValue|}}}|<br/>{{#switch:{{{minGSValue|}}}|0=Not tradeable|{{{minGSValue|}}} {{GS}} }} }} }} <!--Cost full -->
 
|}
 
|}

Revision as of 10:52, 30 December 2020

{{{PAGENAME}}} {{{enableTier}}}
Mk.1 Mk.2 Mk.3 Mk.4