Template:Infobox Recipe/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(kp wants a plain number that then gets formatted with %) |
(incorporate all the changes that were made to the Module documentation instead of Template doc) |
||
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 |
| No |
||
|- |
|- |
||
Line 136: | Line 141: | ||
|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 154: | Line 159: | ||
|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 168: | Line 173: | ||
|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 175: | Line 180: | ||
|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 193: | Line 230: | ||
|output1 = |
|output1 = |
||
|output1qty = |
|output1qty = |
||
|showfull = no |
|||
|hideAlbum = no |
|||
}} |
|||
</pre><includeonly>[[Category:Infobox templates]]</includeonly> |
</pre><includeonly>[[Category:Infobox templates]]</includeonly> |
||