Difference between revisions of "Template:Infobox tool"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Margotbean (talk | contribs) (update) |
||
Line 7: | Line 7: | ||
|colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | |colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | ||
|- | |- | ||
− | |colspan="2" id="infoboxsection" style="text-align: center;"|Information | + | |colspan="2" id="infoboxsection" style="text-align: center;"|Information<!-- |
− | |- | + | -->{{#if:{{{previoustier|}}}|<nowiki /> |
− | + | {{!}}- | |
− | + | {{!}}id="infoboxsection"{{!}}Previous Tier: | |
− | + | {{!}}id="infoboxdetail"{{!}}{{{previoustier|N/A}}} |}}<!-- | |
− | + | -->{{#if:{{{nexttier|}}}|<nowiki /> | |
− | + | {{!}}- | |
+ | {{!}}id="infoboxsection"{{!}}Next Tier: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{nexttier|N/A}}} |}} | ||
|- | |- | ||
|id="infoboxsection"|Cost: | |id="infoboxsection"|Cost: | ||
|id="infoboxdetail"|{{#if:{{{cost|}}}|{{{cost|N/A}}}|N/A}} | |id="infoboxdetail"|{{#if:{{{cost|}}}|{{{cost|N/A}}}|N/A}} | ||
− | + | {{#if:{{{improvements|}}} |<nowiki /> | |
− | |||
− | |||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Improvements: | {{!}}id="infoboxsection"{{!}}Improvements: | ||
Line 31: | Line 28: | ||
{{!}}id="infoboxsection"{{!}}Unlocked at: | {{!}}id="infoboxsection"{{!}}Unlocked at: | ||
{{!}}id="infoboxdetail"{{!}}{{{skillreq|}}} | {{!}}id="infoboxdetail"{{!}}{{{skillreq|}}} | ||
+ | |}}<!-- | ||
+ | -->{{#if:{{{soldby|}}}|<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Sold By: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{soldby|}}} | ||
|}} | |}} | ||
|- | |- |
Revision as of 20:00, 2 January 2019
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) }}
Error: {{#seo:}} must contain at least one non-empty attribute.
Fiberglass Rod | |
Use in the water to catch fish. | |
Information | |
Previous Tier: | Bamboo Pole |
Next Tier: | Iridium Rod |
Cost: | 1,800g
|
Improvements: | Ability to use bait |
Unlocked at: | Fishing Level 6 |
Sold By: | Fish Shop |
Error: {{#seo:}} must contain at least one non-empty attribute.