6,366
editsAd placeholder
Template:Damage info: Difference between revisions
Jump to navigation
Jump to search
m
use template info
No edit summary |
m (use template info) |
||
Line 39: | Line 39: | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{hatnote|See also [[Template:DamageInfo/Primitive]]}} | {{hatnote|See also [[Template:DamageInfo/Primitive]]}}{{documentation|content= | ||
== New usage == | == New usage == | ||
Line 199: | Line 199: | ||
The {{code|plus}} parameter must be either omitted entirely, or set to a valid number, but never provided with an empty value like {{code|<nowiki>{{... | plus= | ...}}</nowiki>}}. It can be set to 0, which is the same as omitting it, so if you're using this template from within another, and want to pass on an optional parameter for the plus value, you can pass it on like {{code|<nowiki>{{... | plus = {{{MyOptionalPlus | 0}}} | ...}}</nowiki>}}. | The {{code|plus}} parameter must be either omitted entirely, or set to a valid number, but never provided with an empty value like {{code|<nowiki>{{... | plus= | ...}}</nowiki>}}. It can be set to 0, which is the same as omitting it, so if you're using this template from within another, and want to pass on an optional parameter for the plus value, you can pass it on like {{code|<nowiki>{{... | plus = {{{MyOptionalPlus | 0}}} | ...}}</nowiki>}}. | ||
}} | |||
[[Category:Damage info templates]] | [[Category:Damage info templates]] | ||
</noinclude> | </noinclude> |