Module:Infobox Recipe/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
m (add duration to the examples)
Line 142: Line 142:
This is an example that uses values from the 10% Potion Healing recipe. Notice that the parameters that have been passed to this example do not include 'Brown Kelp'
This is an example that uses values from the 10% Potion Healing recipe. Notice that the parameters that have been passed to this example do not include 'Brown Kelp'
This is displayed because the <code>showFull</code> parameter has been set to <code>true</code>. This causes the Infobox Module to query smw data for each of the provided
This is displayed because the <code>showFull</code> parameter has been set to <code>true</code>. This causes the Infobox Module to query smw data for each of the provided
raw materials to check if they have raw materials of their own. If they do, but cannot be bought from a shop, they are brought in to the recipe.
raw materials to check if they have raw materials of their own. If they do, but cannot be bought from a shop, they are brought in to the recipe. The total xp and duration are also shown in brackets.
<pre>
<pre>
{{Infobox Recipe
{{Infobox Recipe
Line 169: Line 169:
|output1 = 10% Potion Healing
|output1 = 10% Potion Healing
|output1qty = 1
|output1qty = 1
|showFull = true
}}
}}


Line 191: Line 192:
|facility = One Handed Melee Workbench (stonemason)
|facility = One Handed Melee Workbench (stonemason)
|profession = Stonemason
|profession = Stonemason
|duration = 28
|level = 0
|level = 0
|exp = 250
|exp = 250