Anonyme

« Modèle:Buff » : différence entre les versions

De Inkipédia
653 octets ajoutés ,  13 décembre 2023
m
1 version importée
mAucun résumé des modifications
 
m (1 version importée)
 
(2 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
{{color|▲|green}} {{{1}}}{{#if: {{{2|}}} |<nowiki>:</nowiki> {{{2}}} → {{{3|N/A}}}}}
<includeonly>{{color|▲|green}} {{{1}}}{{#if: {{{2|}}}{{{3|}}} |{{#if: {{{1|}}}|<nowiki>: </nowiki>}}{{{2|N/A}}} → {{{3|N/A}}}}}</includeonly><noinclude>
<noinclude>
Indicates a buff to a weapon, ability, etc.
==Documentation==
=== Parameters ===
The first value is the starting text and the only required variable. The other values can be used for a direct comparison of statistics and are optional.</noinclude>
<code><nowiki>{{Buff|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>{{Buff|Damage increased by 10%}}<br />
{{Buff|Damage|30.0|33.0}}<br />
{{Buff||30.0|33.0}}<br />
{{Buff|Invulnerability time|N/A|4/60}}<br />
{{Buff|Shot delay|4/60 second}}</nowiki>
 
=== Output ===
{{Buff|Damage increased by 10%}}<br />
{{Buff|Damage|30.0|33.0}}<br />
{{Buff||30.0|33.0}}<br />
{{Buff|Invulnerability time|N/A|4/60}}<br />
{{Buff|Shot delay|4/60 second}}
</noinclude>
14

modifications