Difference between revisions of "Template:Infobox tool"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (Testing adding an optional source) |
Margotbean (talk | contribs) |
||
Line 9: | Line 9: | ||
|- | |- | ||
|id="infoboxsection"|Next Tier: | |id="infoboxsection"|Next Tier: | ||
− | |id="infoboxdetail"|{{#if:{{{nexttier|}}}|{{{nexttier|N/A}}}|N/A}}{{#if:{{{source|}}}|<nowiki/> | + | |id="infoboxdetail"|{{#if:{{{nexttier|}}}|{{{nexttier|N/A}}}|N/A}} |
+ | |-{{#if:{{{source|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Source: | {{!}}id="infoboxsection"{{!}}Source: | ||
Line 18: | Line 19: | ||
|- | |- | ||
|id="infoboxsection"|Ingredients | |id="infoboxsection"|Ingredients | ||
− | |id="infoboxdetail"|{{#if:{{{ingredients|}}}|{{{ingredients| | + | |id="infoboxdetail"|{{#if:{{{ingredients|}}}|{{{ingredients|N/A}}}|N/A}} |
|- | |- | ||
|colspan=2 id="infoboxfooter"| | |colspan=2 id="infoboxfooter"| |
Revision as of 19:17, 24 February 2017
Description
This template is used to provide a template that displays an infobox for tools.
Use
This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.
{{Infobox tool |name = |image = |image2 = |description = |previoustier = |nexttier = |cost = |improvements = |skillreq = |soldby = }}
Parameters
{{Infobox tool |name = |image = |image2 = |description = (optional -- populated by Template:Description if omitted) |previoustier = Link to previous tier of tool (optional) |nexttier = Link to next tier of tool (optional) |cost = Cost in gold |improvements = Improvements over the previous tier of tool (optional) |skillreq = Skill level required to unlock item (optional) |soldby = Link to merchant who sells the tool (optional) }}
Hay Hopper | |
Previous Tier: | N/A |
Next Tier: | N/A |
Source: | |
Cost: | N/A |
Ingredients | N/A |
Error: {{#seo:}} must contain at least one non-empty attribute.
Fiberglass Rod | |
Previous Tier: | Bamboo Pole |
Next Tier: | Iridium Rod |
Source: | |
Cost: | 1,800g |
Ingredients | N/A |
Error: {{#seo:}} must contain at least one non-empty attribute.