Template:GetRecipeRank

From HorizonXI Wiki
Revision as of 20:30, 4 September 2024 by Aramachus (talk | contribs) (added handling level 0)


Usage

When given an integer (level of crafting recipe), will return the appropriate crafting rank.

  • Recipes of level 0 (e.g. for event items) are treated extra and return the word "Special".

Examples

{{GetRecipeRank|54}}

Journeyman

{{GetRecipeRank|3}}

Amateur

{{GetRecipeRank|88}}

Adept

{{GetRecipeRank|99}}

Veteran

Special Cases

Recipes in the range 101-110 are labelled Veteran+

{{GetRecipeRank|103}}

Veteran+


Empty inputs, inputs above 110 or inputs which are not integers will produce Unknown

{{GetRecipeRank|121}}

Unknown

{{GetRecipeRank|}}

Unknown

{{GetRecipeRank|foo}}

Unknown