Difference between revisions of "Template:Favor/doc"
From Project: Gorgon Wiki
(Created page with "== Description == :Use this template whenever you want to display favor level. == Syntax == :Type {{t|Favor|Favor Level}} where you want the favor level to display. == Param...") |
m (→Sample output) |
||
Line 26: | Line 26: | ||
| Output | | Output | ||
|- | |- | ||
− | | {{ | + | | <nowiki>{{Favor|Neutral}}</nowiki> |
| ⇒ | | ⇒ | ||
| {{Favor|Neutral}} | | {{Favor|Neutral}} |
Latest revision as of 18:20, 17 June 2021
Description
- Use this template whenever you want to display favor level.
Syntax
- Type {{Favor|Favor Level}} where you want the favor level to display.
Parameters
- Favor Level
- The correctly capitalized favor level. One of:
- Neutral
- Comfortable
- Friends
- Close Friends
- Best Friends
- Like Family
- Soul Mates
- Tolerated
- Disliked
- Hated
- Despised
Sample output
Code | = | Output |
{{Favor|Neutral}} | ⇒ | [Neutral] |
Notes
- The idea is to show favor in a consistent formatting throughout the site where it is immediately recognized as favor level.
- A tooltip is provided, so that on mouseover, the text is marked as Favor Level.
- In addition to formatting, this template can also do validation of the paramater provided, to ensure that a correct favor level has been used.
- When creating this template, a "best guess" for formatting was used. I am not offended if the formatting is changed. That's the idea of this template - easy to change formatting to what the community likes!