Difference between revisions of "Template:+/doc"
Theaetetus (talk | contribs) (+See Also section) |
(→Usage: r -> n, as per the code) |
||
Line 12: | Line 12: | ||
Rarely an addition may be detriment to the player. A prime example would be ''Mental break threshold {{++|12}}''. In these cases, use the [[Template:++|<nowiki>{{++}}</nowiki>]] template instead and the text will be highlighted red in order to make it obvious to the player the modifier is a detrimental. | Rarely an addition may be detriment to the player. A prime example would be ''Mental break threshold {{++|12}}''. In these cases, use the [[Template:++|<nowiki>{{++}}</nowiki>]] template instead and the text will be highlighted red in order to make it obvious to the player the modifier is a detrimental. | ||
− | By default, the result will be bolded. You may also call the following parameters after the value to change this behavior: <code>| | + | By default, the result will be bolded. You may also call the following parameters after the value to change this behavior: <code>|n</code> (non-bold), <code>|normal</code> (non-bold), <code>|b</code> (bold), <code>|bold</code>. |
==Samples== | ==Samples== |
Revision as of 15:22, 26 June 2019
Description
This template is creates an easy method for making statements such as Mining +5
get a green + sign and number, the manner in which they are presented in the game.
Syntax
Some text here {{+|value}}
By default, values are bolded. See the examples below for usage where this is not desirable.
Usage
Use this template any time you are referencing positive additions to skills, stats, moods, and the like.
Rarely an addition may be detriment to the player. A prime example would be Mental break threshold +12. In these cases, use the {{++}} template instead and the text will be highlighted red in order to make it obvious to the player the modifier is a detrimental.
By default, the result will be bolded. You may also call the following parameters after the value to change this behavior: |n
(non-bold), |normal
(non-bold), |b
(bold), |bold
.
Samples
Example 1
This code:
Mining {{+|5}}
produces the following result:
Mining +5
Example 2
This code:
Construction {{+|8|n}}
produces the following result:
Construction +8
This code:
Construction {{+|8|normal}}
produces the following result:
Construction +8