Template:GetRecipeRank: Difference between revisions
From HorizonXI Wiki
m (added handling level 0) |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
| 91-100 = Veteran | | 91-100 = Veteran | ||
| 101-110 = Veteran+ | | 101-110 = Veteran+ | ||
| 111-120 = Legendary | |||
| 121-130 = Legendary | |||
| 131-140 = Legendary | |||
| #default = Unknown | | #default = Unknown | ||
}}</includeonly></onlyinclude> | }}</includeonly></onlyinclude> | ||
Line 34: | Line 37: | ||
===Special Cases=== | ===Special Cases=== | ||
Recipes in the range 101-110 are labelled ''Veteran+'' | Recipes in the range 101-110 are labelled ''Veteran+'' and 111-140 ''Legendary'' (crafts do not have recipe levels above 110 except for fishing, which has fish level as high as 134) | ||
<pre>{{GetRecipeRank|103}}</pre> | <pre>{{GetRecipeRank|103}}</pre> | ||
{{GetRecipeRank|103}} | {{GetRecipeRank|103}} | ||
<pre>{{GetRecipeRank|133}}</pre> | |||
{{GetRecipeRank|133}} | |||
Empty inputs, inputs above | Empty inputs, inputs above 140 or inputs which are not integers will produce ''Unknown'' | ||
<pre>{{GetRecipeRank| | <pre>{{GetRecipeRank|141}}</pre> | ||
{{GetRecipeRank| | {{GetRecipeRank|141}} | ||
<pre>{{GetRecipeRank|}}</pre> | <pre>{{GetRecipeRank|}}</pre> |
Latest revision as of 20:58, 7 September 2024
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+ and 111-140 Legendary (crafts do not have recipe levels above 110 except for fishing, which has fish level as high as 134)
{{GetRecipeRank|103}}
Veteran+
{{GetRecipeRank|133}}
Legendary
Empty inputs, inputs above 140 or inputs which are not integers will produce Unknown
{{GetRecipeRank|141}}
Unknown
{{GetRecipeRank|}}
Unknown
{{GetRecipeRank|foo}}
Unknown