Difference between revisions of "Template:--/doc"
(→Usage: r -> n) |
m (bold is already default) |
||
(One intermediate revision by one other user not shown) | |||
Line 12: | Line 12: | ||
Rarely an deduction of a value may be a benefit 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 green in order to make it obvious to the player the modifier is a positive thing. | Rarely an deduction of a value may be a benefit 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 green in order to make it obvious to the player the modifier is a positive thing. | ||
− | 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) | + | 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). |
==Samples== | ==Samples== | ||
Line 48: | Line 48: | ||
*[[Template:++]] | *[[Template:++]] | ||
*[[Template:---]] | *[[Template:---]] | ||
+ | |||
+ | <includeonly>[[Category:Formatting templates]]</includeonly> | ||
+ | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 11:43, 14 December 2022
Description[edit]
This template is creates an easy method for making statements such as Social -5
get replaced with a red − symbol and number, the manner in which they are presented in the game. Note that the '−' symbol generated by this template is longer and more visually appealing than the '-' symbol found on most keyboards, especially when prefixing numbers.
Syntax[edit]
Some text here {{--|value}}
By default, values are bolded. See the examples below for usage where this is not desirable.
Usage[edit]
Use this template any time you are referencing negative deductions from skills, stats, moods, and the like.
Rarely an deduction of a value may be a benefit 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 green in order to make it obvious to the player the modifier is a positive thing.
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).
Samples[edit]
Example 1[edit]
This code:
Social {{--|5}}
produces the following result:
Social −5
Example 2[edit]
This code:
Mood {{--|80|n}}
produces the following result:
Mood −80
This code:
Mood {{--|80|normal}}
produces the following result:
Mood −80