Template:Item Stat: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
No edit summary
Single Stat
 
(15 intermediate revisions by the same user not shown)
Line 5: Line 5:
|-
|-
| {{{STAT_1_TYPE}}}
| {{{STAT_1_TYPE}}}
{{#if: {{{STAT_1_CONDITIONAL}}} || <strong style="color: #A9947E;"><em>Conditional</em></strong>}}
|-
| <strong style="color: #A9947E;"><em>{{{STAT_1_CONDITIONAL_TEXT}}}</em></strong>
|}
|}
|-
|-
{{#if: {{{STAT_TYPE_2}}} |
| style="display: inline-block; text-align:center;"
| [[File:FireRate.png|20px]] <span style="color: #A9947E;">+</span><strong style="color: #FFEFD7;">20</strong><span style="color: #A9947E;">%</span>
|-
| Fire Rate
|-
| <strong style="color: #A9947E;"><em>Conditional</em></strong>
|
|-
}}
| colspan="2" | <strong style="color:#FFEFD7;">{{{STAT_DURATION}}}<span style="color: #AAA099">s</span></strong> <span style="color: #A9947E;"> Duration</span>
| colspan="2" | <strong style="color:#FFEFD7;">{{{STAT_DURATION}}}<span style="color: #AAA099">s</span></strong> <span style="color: #A9947E;"> Duration</span>
|}
|}
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"STAT_1_CONDITIONAL": {
"type": "boolean",
"label": "Is Stat 1 Conditional?"
},
"STAT_TYPE_2": {
"aliases": [
"Stat Type 2"
],
"type": "string",
"suggestedvalues": [
"Fire Rate",
"Bullet Lifesteal"
]
},
"STAT_1_TYPE": {
"STAT_1_TYPE": {
"type": "string",
"type": "string",
Line 59: Line 34:
"required": true,
"required": true,
"label": "Stat Duration (seconds)"
"label": "Stat Duration (seconds)"
},
"STAT_1_CONDITIONAL_TEXT": {
"label": "Stat 1 Conditional Text",
"type": "string",
"suggestedvalues": [
"Conditional",
" "
]
}
}
}
}

Latest revision as of 06:39, 26 August 2024

+{{{STAT_1_PERCENTAGE}}}%
{{{STAT_1_TYPE}}}
{{{STAT_1_CONDITIONAL_TEXT}}}
{{{STAT_DURATION}}}s Duration


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Stat 1 TypeSTAT_1_TYPE

no description

Auto value
Stringrequired
Stat 1 PercentageSTAT_1_PERCENTAGE

no description

Numberrequired
Stat Duration (seconds)STAT_DURATION Stat Duration

no description

Numberrequired
Stat 1 Conditional TextSTAT_1_CONDITIONAL_TEXT

no description

Suggested values
Conditional
Stringoptional