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
No edit summary
No edit summary
Line 16: Line 16:
 
|red
 
|red
 
|transcendent = Transcendent
 
|transcendent = Transcendent
  +
|dark = Dark Series
|marvel = Marvel
 
  +
|dc = DC Series
  +
|frozen = Frozen Series
  +
|icon = Icon Series
  +
|lava = Lava Series
  +
|shadow = Shadow Series
 
|slurp = Slurp Series
 
|slurp = Slurp Series
 
|marvel = Marvel Series
  +
|star wars = Star Wars Series
 
|#default=N/A
 
|#default=N/A
 
}}}}</onlyinclude></includeonly>
 
}}}}</onlyinclude></includeonly>

Revision as of 17:00, 18 November 2020


Documentation[purge]

This template is used to parse accepted values for {{rarity}} into standardized spelling and capitalization for use in other templates. These values may be retrieved by using {{#var:rarity}} at any point on a page after where {{ParseRarity}} was defined.

The most common use for this template is in {{infobox}}m/{{infobox}} to color-code infoboxes with their rarity colors. When creating a new infobox that requires color coding, simply include {{ParseRarity|{{{rarity|}}} }} at the top of the new template.

Usage

Setting value

{{ParseRarity|<input>}}

Retrieving value

{{#var:rarity}}

Examples

Setting value

{{ParseRarity|purple}} = (this template does not produce any output without retrieving the value as follows)

Retrieving value

{{#var:rarity}} = Epic

Translation Information

This template is used to generate class selectors for color coding {{infobox}}m in MediaWiki:Common.css. As a result, please do not translate the words after each =, but you may translate the words before each = to any common words that may be used for each rarity in the target language.

About