Difference between revisions of "Template:Infobox weapon"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (fix seo error) |
Margotbean (talk | contribs) (remove seo section) |
||
Line 41: | Line 41: | ||
|id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value|Not Sold}}}|Not Sold}}|{{#if:{{{value|}}}|{{price|{{{value|}}} }}|N/A }} }} | |id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value|Not Sold}}}|Not Sold}}|{{#if:{{{value|}}}|{{price|{{{value|}}} }}|N/A }} }} | ||
|- | |- | ||
− | |} | + | |}</div>{{InfoboxSEO}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
− | </div>{{InfoboxSEO | ||
− | |||
− | }}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Revision as of 21:49, 25 February 2021
Description
This template is used to provide a template that displays an infobox for clothing.
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.
Parameters
{{Infobox weapon |name = Optional, populated by pagename if omitted |image = Weapon image (usually .png format) |description = Description (optional -- populated by Template:Description if omitted) |type = Optional, valid types are Sword, Club, Dagger, or Slingshot |level = Level of weapon |source = Where it comes from |damage = Range of weapon damage |csc = Critical Strike Chance |gprice = How much it costs to purchase at the Adventurer's Guild |value = How much you can sell it for at the Adventurer's Guild |stats = Defense, Speed, Weight, etc. (optional) }}
Example
{{Infobox weapon |name = Fake Example Sword |image = Pirate's Sword.png |description = {{Description|Pirate's Sword}} |type = Sword |level = 99 |source = [[Adventurer's Guild]], [[The Mines]] |damage = 08-14 |csc = .02 |gprice = 850 |value = 200 |stats = {{name|Defense|+3}}{{name|Crit. Power|-7}} }}
Fake Example Sword | |
It looks like a pirate owned this once. | |
Information | |
Type: | Sword |
Level: | 99 |
Source: | Adventurer's Guild, The Mines |
Damage: | 08-14 |
Critical Strike Chance: | .02 |
Stats: | ![]() ![]() |
Adventurer's Guild | |
Purchase Price: | ![]() |
Sell Price: | ![]() |