Diferencia entre revisiones de «Plantilla:Nerf»

De Inkipedia
(Improved Nerf template so that the stat name can be excluded (causing the colon to not appear). Also overhauled the documentation accordingly.)
 
fandom>Hyperfresh
(Página creada con "<span style="color:red">▼</span> {{{1}}}{{#if: {{{2|}}}|{{#if: {{{1|}}}}}}}")
Línea 1: Línea 1:
<includeonly>{{color||red}} {{{1}}}{{#if: {{{2|}}}{{{3|}}} |{{#if: {{{1|}}}|<nowiki>: </nowiki>}}{{{2|N/A}}} → {{{3|N/A}}}}}</includeonly><noinclude>
<span style="color:red">▼</span> {{{1}}}{{#if: {{{2|}}}|{{#if: {{{1|}}}}}}}
Indicates a nerf to a weapon, ability, etc.
=== Parameters ===
<code><nowiki>{{Nerf|stat|old|new}}</nowiki></code>
{| class="wikitable"
|- style="vertical-align: top;"
|<code>stat</code>||Unnamed, optional.||The stat being changed
|-
|<code>old, new</code>||Unnamed, optional.||The values before / after the change. If "new" is not included, it will default to "N/A"
|}
 
=== Markup ===
<nowiki>{{Nerf|Damage reduced by 10%}}<br />
{{Nerf|Damage|30.0|27.0}}<br />
{{Nerf||30.0|27.0}}<br />
{{Nerf|Shot delay|N/A|4/60 second}}<br />
{{Nerf|Invulnerability time|4/60}}</nowiki>
 
=== Output ===
{{Nerf|Damage reduced by 10%}}<br />
{{Nerf|Damage|30.0|27.0}}<br />
{{Nerf||30.0|27.0}}<br />
{{Nerf|Shot delay|N/A|4/60 second}}<br />
{{Nerf|Invulnerability time|4/60}}
</noinclude>

Revisión del 15:18 11 ago 2018

{{{1}}}