Fortnite Wiki

We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

READ MORE

Fortnite Wiki
Advertisement

Documentation[purge]

This template is used to automatically format text in the rarity colors given by {{rarity}}.

Usage

{{raritytext|<rarity>|<text contents>
|link=<link destination (optional)>
|<font-weight (optional)>
|style=<additional css styles (optional)>
}}

Parameters

<rarity>
The rarity whose color you want displayed. For a list of valid entries, see {{rarity}}.
<text contents>
The text to be styled
|link=
Turn the text into a link and specify the destination in this parameter.
<font-weight>
The (optional) desired CSS font-weight property for the text, see the MDN entry for font-weight for examples.
|style=
Any additional desired CSS styles. Optional and rarely needed.

Examples

  • {{raritytext|common|COMMON}} results in "COMMON"
    • {{raritytext|common|BOLD COMMON|bold}} results in "BOLD COMMON"
    • {{raritytext|common|UNDERLINE COMMON|style=text-decoration:underline;}} results in "UNDERLINE COMMON"
    • {{raritytext|common|LINK COMMON|link=Common}} results in "LINK COMMON"
  • {{raritytext|uncommon|UNCOMMON}} results in "UNCOMMON"
  • {{raritytext|rare|RARE}} results in "RARE"
  • {{raritytext|epic|EPIC}} results in "EPIC"
  • {{raritytext|legendary|LEGENDARY}} results in "LEGENDARY"
  • {{raritytext|mythic|MYTHIC}} results in "MYTHIC"

Predefined Texts

See Also

About

Advertisement