(Updated documentation.) |
No edit summary Tag: 2017 source edit |
||
Line 17: | Line 17: | ||
:Type <code><nowiki>|floors=</nowiki></code> followed by the floors that the modifier is usable in. |
:Type <code><nowiki>|floors=</nowiki></code> followed by the floors that the modifier is usable in. |
||
:Type <code><nowiki>|increase=</nowiki></code> followed by the knob bonus of the modifier to add the knob bonus. |
:Type <code><nowiki>|increase=</nowiki></code> followed by the knob bonus of the modifier to add the knob bonus. |
||
:Type <code><nowiki>|restrictedmodifiers=</nowiki></code> followed by modifiers that can't be used with this modifier. |
|||
;Example |
;Example |
Revision as of 02:35, 11 January 2025

This is a template documentation subpage for Template:Modifier.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
- Description
- This template is used to display Modifiers within articles.
- Syntax
- Type
on the page.{{Modifier|
param
}}
- Additional Syntax
- Type
|width=
followed by the value of the width to modify the width of the template. - Type
|bordercolor=
followed by the hex-code of the color to change the border color. - Type
|bgcolor=
followed by the hex-code of the color to change the background color. - Type
|textcolor=
followed by the hex-code of the color to change the header of the template's color. - Type
|text=
followed by the name of the modifier to add the modifier's name. - Type
|text2=
followed by the description of the modifier to add the description of the modifier. - Type
|text3=
followed by the requirements of the modifier - Type
|restrictions=
followed by{{NoProgress}}
,{{NoRift}}
, or{{AllRestrictions}}
depending on if progress/badge gain, usage of the rift, or if both are disabled upon equipping the modifier. - Type
|floors=
followed by the floors that the modifier is usable in. - Type
|increase=
followed by the knob bonus of the modifier to add the knob bonus. - Type
|restrictedmodifiers=
followed by modifiers that can't be used with this modifier.
- Example
- Type
{{Modifier|bordercolor=#e17886|bgcolor=#4f2727|textcolor=#e17886|text=Uh Oh|textcolor2=#ac5f67|text2=Activates a random modifier.|increase=10}}
- For this:
- Additional Information
- Template:Modifier/2 is the template for modifiers with a negative knob bonus, it has the same properties except for the knob penalty.
- Type
|decrease=
followed by the knob penalty of the modifier to add the knob penalty.