Difference between revisions of "Template:Rl"

*>Karuberu
m
*>Karuberu
Line 1: Line 1:
 
<includeonly>{{#switch:{{lc:{{{1|}}}}}
 
<includeonly>{{#switch:{{lc:{{{1|}}}}}
| none | = ''None''
+
| none = ''None''
| ? | ?? | ??? | unknown = {{#ifeq:{{NAMESPACE}}||{{Information Needed}}|{{Information Needed|nc}}}}
+
| ? | ?? | ??? | unknown | = {{#ifeq:{{NAMESPACE}}||{{Information Needed}}|{{Information Needed|nc}}}}
 
| #default = {{#if:{{{3|}}}|<!--
 
| #default = {{#if:{{{3|}}}|<!--
 
--><sup>{{Guild Icon|{{{2}}}}}<!--
 
--><sup>{{Guild Icon|{{{2}}}}}<!--

Revision as of 02:20, 15 September 2015

Usage

{{rl|<item>|<craft>|<cap>|<subcraft>|<subcraft cap>|<subcraft 2>|<subcraft 2 cap>}}

This template was created to help format the recipe links in the "Used in Recipes" and "Obtained from Desynthesis" sections of item pages, but can be used anywhere that requires quick links to items and their recipe skill levels. It provides a link to the item specified and guild icons representing the crafts. The guild icons are clickable links to the craft pages. If "?", "??", or "???" is given as a skill cap, the page will automatically be categorized in the Information Needed category, but only if the page is in the Main namespace (e.g. it is a regular article and not a template, talk, or user page).

Examples

Code Result
{{rl|Potion|Alchemy|40}}
Alchemy 40 Potion
{{rl|Sickle|Smithing|5|Woodworking|2}}
Smithing 05 Woodworking 02 Sickle
{{rl|Brigandine|Leathercraft|57|Goldsmithing|50|Clothcraft|48}}
Leathercraft 57 Goldsmithing 50 Clothcraft 48 Brigandine
{{rl|Brigandine|Leathercraft|57|Goldsmithing|50|Clothcraft|48}}
Leathercraft 57 Goldsmithing 50 Clothcraft 48 Brigandine
{{rl|Iron Arrow|Woodworking|27|Smithing|??}}
Woodworking 27 Smithing ?? Iron Arrow
{{rl|Gold Thread|Clothcraft|???}}
Clothcraft ?? Gold Thread
{{rl|None}}
None
{{rl|???}}
Information Needed
{{rl|Unknown}}
Information Needed
*{{rl|Gelatin|Bonecraft|13}}
*{{rl|Hard-Boiled Egg|Cooking|6}}
*{{rl|Bretzel|Cooking|51}} 
*{{rl|Bast Parchment|Woodworking|45|Alchemy|29}}