Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
DOORS Site Logo

Welcome to the Official DOORS Wiki!
Please read the Wiki Rules the Manual of Style and familiarise yourself with our Wiki Policies before contributing to get a better understanding of what content is allowed on our wiki and how to display it properly, if you need help don't hesitate to reach out to a DOORS Wiki Staff Member.

Template:Modifier/doc: Difference between revisions

Template page
(Created /doc subpage for Template:Modifier)
 
mNo edit summary
Tag: 2017 source edit
 
(5 intermediate revisions by 4 users not shown)
Line 12: Line 12:
:Type <code><nowiki>|textcolor=</nowiki></code> followed by the hex-code of the color to change the header of the template's color.
:Type <code><nowiki>|textcolor=</nowiki></code> followed by the hex-code of the color to change the header of the template's color.
:Type <code><nowiki>|text=</nowiki></code> followed by the name of the modifier to add the modifier's name.
:Type <code><nowiki>|text=</nowiki></code> followed by the name of the modifier to add the modifier's name.
:Type <code><nowiki>|textcolor2=</nowiki></code> followed by the hex-code of the color to change the modifier description's color.
:Type <code><nowiki>|text2=</nowiki></code> followed by the description of the modifier to add the description of the modifier.
:Type <code><nowiki>|text2=</nowiki></code> followed by the description of the modifier to add the description of the modifier.
:Type <code><nowiki>|text3=</nowiki></code> followed by the requirements of the modifier or the filenames and effects of it ([[:File:NORIFT.png]] and [[:File:NOPROGRESS.png]]).
:Type <code><nowiki>|text3=</nowiki></code> followed by the requirements of the modifier
:Type <code><nowiki>|restrictions=</nowiki></code> followed by <code><nowiki>{{NoProgress}}</nowiki></code>, <code><nowiki>{{NoRift}}</nowiki></code>, or <code><nowiki>{{AllRestrictions}}</nowiki></code> depending on if progress/badge gain, usage of the rift, or if both are disabled upon equipping the modifier.
: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
:Type <code><nowiki>{{Modifier|bordercolor=#e17886|bgcolor=#4f2727|textcolor=#e17886|text=Uh Oh|textcolor2=#ac5f67|text2=Activates a random modifier.|increase=10}}</nowiki></code>
:For this: {{Modifier|bordercolor=#E17886|bgcolor=#4F2727|textcolor=#E17886|text=Uh Oh|textcolor2=#AC5F67|text2=Activates a random modifier.|increase=10}}


;Additional Information
;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.
:[[Template:Modifier/Decrease]] is the template for modifiers with a negative knob bonus, it has the same properties except for the knob penalty.
:Type <code><nowiki>|decrease=</nowiki></code> followed by the knob penalty of the modifier to add the knob penalty.
:Type <code><nowiki>|decrease=</nowiki></code> followed by the knob penalty of the modifier to add the knob penalty.

<includeonly>[[Category:Design templates]]</includeonly>

Latest revision as of 16:35, 4 June 2025

Edit-copy green.svg
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.
Description
This template is used to display Modifiers within articles.
Syntax
Type {{Modifier|param}} on the page.
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:
Uh Oh
"Activates a random modifier."
Floors: The Hotel, The Mines
Error creating thumbnail: File missing
 +10%
Additional Information
Template:Modifier/Decrease 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.