Difference between revisions of "Template:---"
m |
|||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | --><span style="color:forestgreen; | + | --><span style="color:forestgreen; <!-- |
-->{{#switch: {{{2}}} | -->{{#switch: {{{2}}} | ||
| #default = font-weight:bold | | #default = font-weight:bold | ||
Line 7: | Line 7: | ||
| b = font-weight:bold | | b = font-weight:bold | ||
| bold = font-weight:bold | | bold = font-weight:bold | ||
− | }}<!-- | + | }}"><!-- |
− | -->{{{1}}}<!-- | + | -->−{{{1}}}<!-- |
− | --></span><nowiki /></includeonly><noinclude> | + | --></span><nowiki /></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 19:11, 1 August 2019
Description
This template is creates an easy method for making statements such as Mental break threshold -12
get replaced with a green − 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
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 substractions to skills, stats, moods, and the like.
In most cases, you'll want to use {{--}} when the reduction of a stat is a determent to the player. This template is to highlight only cases where a decrease is a benefit.
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
Example 1
This code:
Mental break threshold {{---|12}}
produces the following result:
Mental break threshold −12
Example 2
This code:
Mental break threshold {{---|12|n}}
produces the following result:
Mental break threshold −12
This code:
Mental break threshold {{---|12|normal}}
produces the following result:
Mental break threshold −12
See Also
The above documentation is transcluded from Template:---/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |