Template:Bonus

From FHX Wiki
Revision as of 22:49, 22 June 2024 by Ryzuhr (talk | contribs) (Created page with "<includeonly>{{#ifeq:{{ucfirst:{{{1}}}}}|Unidentified|<span style="color:#F00;background-color:#AAA;padding:4px;">Unidentified</span>|<span style="color:#0F0;background-color:#AAA;padding:4px;">{{{1}}}</span>}}</includeonly><noinclude> == Description == <pre>{{bonus|<text>}}</pre> Displays a formatted version of the rarity/quality name. === Parameters === ;1 ''(unnamed parameter)'' : Text. Everything is formatted as a bonus (green) unless "unidentified" (red). == Exam...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

{{bonus|<text>}}

Displays a formatted version of the rarity/quality name.

Parameters

1 (unnamed parameter)
Text. Everything is formatted as a bonus (green) unless "unidentified" (red).

Examples

  • Unidentified is produced from {{bonus|unidentified}}
  • health regeneration +10 is produced from {{bonus|health regeneration +10}}