Editing Template:Infobox Recipe/doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 108: | Line 108: | ||
| ''boolean'' |
| ''boolean'' |
||
| Flag to display all steps of a recipe or only the step specified in the params |
| Flag to display all steps of a recipe or only the step specified in the params |
||
| No |
|||
|- |
|||
| <code>hideAlbum</code> |
|||
| ''boolean'' |
|||
| Flag to hide the Album XP from the display, for items that do not award album xp. Defaults to false. |
|||
| No |
|||
|- |
|||
| <code>passive</code> |
|||
| ''boolean'' |
|||
| Flag to show a link by the word Experience to Passive activities, and a tooltip to state that passive activity is reduced when overleveled. Defaults to false. |
|||
| No |
| No |
||
|- |
|- |
||
Line 146: | Line 136: | ||
|level = 0 |
|level = 0 |
||
|exp = 63 |
|exp = 63 |
||
|kp = 1.5 |
|kp = 1.5% |
||
|rawmat1 = 10% Preparation Healing |
|rawmat1 = 10% Preparation Healing |
||
|rawmat2 = Bottle |
|rawmat2 = Bottle |
||
Line 164: | Line 154: | ||
|level = 0 |
|level = 0 |
||
|exp = 63 |
|exp = 63 |
||
|kp = 1.5 |
|kp = 1.5% |
||
|rawmat1 = 10% Preparation Healing |
|rawmat1 = 10% Preparation Healing |
||
|rawmat2 = Bottle |
|rawmat2 = Bottle |
||
Line 178: | Line 168: | ||
|level = 0 |
|level = 0 |
||
|exp = 63 |
|exp = 63 |
||
|kp = 1.5 |
|kp = 1.5% |
||
|rawmat1 = 10% Preparation Healing |
|rawmat1 = 10% Preparation Healing |
||
|rawmat2 = Bottle |
|rawmat2 = Bottle |
||
Line 185: | Line 175: | ||
|showFull = true |
|showFull = true |
||
}} |
}} |
||
===Show Full Recipe with buyable items=== |
|||
This is an example that uses values from the Hammerfist (Basic). As before, the parameters passed to this example are only the materials used in the final step, and the <code>showFull</code> parameter caused the full recipe tree to be displayed. The 'Coarse Hickory Pole' can be bought, so even though it can be crafted from Coarse Hickory Logs, it was not replaced with its own recipe tree. This allows <code>showFull</code> to be used for recipes that would otherwise span multiple professions, since in this example only the Stonemason steps are shown. |
|||
<pre> |
|||
{{Infobox Recipe |
|||
|facility = One Handed Melee Workbench (stonemason) |
|||
|profession = Stonemason |
|||
|level = 0 |
|||
|exp = 250 |
|||
|kp = 3 |
|||
|rawmat1 = Coarse Flint (Etched) |
|||
|rawmat1qty = 2 |
|||
|rawmat2 = Coarse Hickory Pole |
|||
|output1 = Hammerfist (basic) |
|||
|showFull = true |
|||
}} |
|||
</pre> |
|||
{{Infobox Recipe |
|||
|facility = One Handed Melee Workbench (stonemason) |
|||
|profession = Stonemason |
|||
|duration = 28 |
|||
|level = 0 |
|||
|exp = 250 |
|||
|kp = 3 |
|||
|rawmat1 = Coarse Flint (Etched) |
|||
|rawmat1qty = 2 |
|||
|rawmat2 = Coarse Hickory Pole |
|||
|output1 = Hammerfist (basic) |
|||
|showFull = true |
|||
}} |
|||
==Blank infobox== |
==Blank infobox== |
||
Line 235: | Line 193: | ||
|output1 = |
|output1 = |
||
|output1qty = |
|output1qty = |
||
|showfull = no |
|||
|hideAlbum = no |
|||
}} |
|||
</pre><includeonly>[[Category:Infobox templates]]</includeonly> |
</pre><includeonly>[[Category:Infobox templates]]</includeonly> |
||
Line 250: | Line 205: | ||
"level": {}, |
"level": {}, |
||
"exp": {}, |
"exp": {}, |
||
"kp": {}, |
|||
"rawmat1": {}, |
"rawmat1": {}, |
||
"rawmat1qty": {}, |
"rawmat1qty": {}, |
||
Line 259: | Line 213: | ||
"output1": {}, |
"output1": {}, |
||
"output1qty": {}, |
"output1qty": {}, |
||
"showFull": {} |
"showFull": {} |
||
"hideAlbum": {}, |
|||
"passive": {} |
|||
}, |
}, |
||
"paramOrder": [ |
"paramOrder": [ |
||
Line 269: | Line 221: | ||
"level", |
"level", |
||
"exp", |
"exp", |
||
"kp", |
|||
"rawmat1", |
"rawmat1", |
||
"rawmat1qty", |
"rawmat1qty", |
||
Line 278: | Line 229: | ||
"output1", |
"output1", |
||
"output1qty", |
"output1qty", |
||
"showFull" |
"showFull" |
||
"hideAlbum", |
|||
"passive" |
|||
], |
], |
||
"format": "block" |
"format": "block" |