Template:Bonus: Difference between revisions

From FHX Wiki
(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...")
 
mNo edit summary
 
Line 1: Line 1:
<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>
<includeonly>{{#ifeq:{{ucfirst:{{{1}}}}}|Unidentified|[[Item Bonus|<span style="color:#F00;background-color:#AAA;padding:4px;">Unidentified</span>]]|[[Item Bonus|<span style="color:#0F0;background-color:#AAA;padding:4px;">{{{1}}}</span>]]}}</includeonly><noinclude>
== Description ==
== Description ==
<pre>{{bonus|<text>}}</pre>
<pre>{{bonus|<text>}}</pre>

Latest revision as of 22:53, 22 June 2024

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