Editing Template:LotS Item
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
{| style="width:50%;color:white; background:#000000; border:5px solid #2F4F4F; vertical-align:top; -moz-border-radius:0.5em; padding:0px;" | {| style="width:50%;color:white; background:#000000; border:5px solid #2F4F4F; vertical-align:top; -moz-border-radius:0.5em; padding:0px;" | ||
|- | |- | ||
|style="text-align:left; vertical-align:top; padding-left:3px;"| <span style="color:{{LotS/Color{{{color}}}}};"> '''[[name::{{{name}}}]]''' </span> | |style="text-align:left; vertical-align:top; padding-left:3px;"| <span style="color:{{LotS/Color{{{color}}}}};"> '''[[[name::{{{name}}}]]''' </span> | ||
|style="text-align:right; text-transform:uppercase; padding-right:3px;"|{{Nowrap|'''{{LotS/Type|[[type::{{{type}}}]]}}'''}} | |style="text-align:right; text-transform:uppercase; padding-right:3px;"|{{Nowrap|'''{{LotS/Type|[[type::{{{type}}}]]}}'''}} | ||
|- | |- | ||
Line 14: | Line 14: | ||
}}{{#if: {{{race| }}} |[[File:LotS_{{{race}}}.png|17x17px|Race]] <span style="color:yellow;">[[race::{{{race}}}]]</span><br> | }}{{#if: {{{race| }}} |[[File:LotS_{{{race}}}.png|17x17px|Race]] <span style="color:yellow;">[[race::{{{race}}}]]</span><br> | ||
}}{{#if: {{{class| }}} |[[File:LotS_Role_{{{class}}}.png|17x17px|Role]] <span style="color:cyan;">[[class::{{{class}}}]]</span><br> | }}{{#if: {{{class| }}} |[[File:LotS_Role_{{{class}}}.png|17x17px|Role]] <span style="color:cyan;">[[class::{{{class}}}]]</span><br> | ||
}}{{#if: {{{bonus| }}} |[[File:LotS_Source_{{{bonus}}}.png|17x17px|Attribute]] <span style="color:red;"> [[bonus::{{{bonus}}}]] </span><br><br> | }}{{#if: {{{bonus| }}} |[[File:LotS_Source_{{{bonus}}}.png|17x17px|Attribute]] <span style="color:red;">[[bonus::{{{bonus}}}]]</span><br><br> | ||
}}{{#if: {{{engineeringType| }}} |[[File:LotS_Engineering_{{{engineeringType}}}.png|17x17px|Engineering]] <span style="color:violet;">[[engineeringType::{{{engineeringType}}}]]</span><br><br> | }}{{#if: {{{engineeringType| }}} |[[File:LotS_Engineering_{{{engineeringType}}}.png|17x17px|Engineering]] <span style="color:violet;">[[engineeringType::{{{engineeringType}}}]]</span><br><br> | ||
}} | }} | ||
Line 36: | Line 36: | ||
|- | |- | ||
|colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procRate| }}} |'''Proc Rate''' | |colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procRate| }}} |'''Proc Rate''' | ||
[[procRate::{{{procRate}}}]] | [[procRate::{{{procRate}}}]] }} | ||
|- | |- | ||
|colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procDmgMin| }}} |'''Proc Damage (minimum)''' | |colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procDmgMin| }}} |'''Proc Damage (minimum)''' | ||
[[procDmgMin::{{{procDmgMin}}}]] }} | [[procDmgMin::{{{procDmgMin}}}]] }} | ||
|- | |- | ||
|colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{ | |colspan="2" align="left" style="padding-left:3px; padding-right:3px;"|{{#if: {{{procDmgMin| }}} |'''Proc Damage (cap)''' | ||
[[procDmgCap::{{{procDmgCap}}}]] }} | [[procDmgCap::{{{procDmgCap}}}]] }} | ||
|- | |- | ||
Line 47: | Line 47: | ||
{{{notes}}} }} | {{{notes}}} }} | ||
|} | |} | ||
<includeonly>{{#if: {{{obtained| }}}||[[Category:LotS/Unknown Drop Location]]}}</includeonly><includeonly>{{#if: {{{hideCategory| }}}||[[Category:LotS/Item]][[Category:LotS/{{{type}}}]]}}</includeonly><includeonly> | |||
{{#if:{{{attack|}}}| | <includeonly>{{#if: {{{obtained| }}}||[[Category:LotS/Unknown Drop Location]]}}</includeonly> | ||
{{#ifeq:{{{type}}}|Officer|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}} | |||
{{#ifeq:{{{type}}}|Crew|{{#set:sp={{#expr:{{{attack}}} * 1.44 + {{{defense}}} * .36}}}}|}} | <includeonly>{{#if: {{{hideCategory| }}}||[[Category:LotS/Item]][[Category:LotS/{{{type}}}]]}}</includeonly> | ||
{{#ifeq:{{{type}}}|Engineering|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}} | |||
{{#set:statdps={{#expr: {{{attack}}} * 4 + {{{defense}}} }} }} | <includeonly> | ||
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Officer|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}|}} | |||
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Crew|{{#set:sp={{#expr:{{{attack}}} * 1.44 + {{{defense}}} * .36}}}}|}}|}} | |||
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Engineering|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}|}} | |||
{{#set:statdps={{#expr: {{{attack}}} * 4 + {{{defense}}}}}}} | |||
{{#set:minprocdps={{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }} | {{#set:minprocdps={{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }} | ||
{{#set:maxprocdps={{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} | {{#set:maxprocdps={{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} | ||
{{#set:totalminprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }} }} | {{#set:totalminprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }} }} | ||
{{#set:totalmaxprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} }} | {{#set:totalmaxprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} }} | ||
{{#set:color={{{color|}}}}} | {{#set:color={{{color|}}}}} | ||
{{#set:ability={{{ability|}}}}} | {{#set:ability={{{ability|}}}}} | ||
Line 77: | Line 68: | ||
{{#set:used={{{used|}}}}} | {{#set:used={{{used|}}}}} | ||
{{#set:notes={{{notes|}}}}} | {{#set:notes={{{notes|}}}}} | ||
</includeonly> |