Template:Infobox weapon: Difference between revisions
Appearance
imported>Margotbean added optional stats section |
imported>Margotbean No edit summary |
||
| Line 3: | Line 3: | ||
|colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
|colspan=2|{{#if:{{{image}}}|[[File:{{{image|}}}|center|link=]]|}} | |colspan="2" style="padding-bottom: 15px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|center|link=]]|}} | ||
|- | |||
|colspan="2" id="infoboxsection" style="text-align: center;"|Information | |||
|- | |- | ||
|id="infoboxsection"|Name: | |id="infoboxsection"|Name: | ||
| Line 32: | Line 34: | ||
|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>{{#if:{{{debug mode|}}}||[[Category:Weapons]]}}{{InfoboxSEO}}{{#seo: | </div>{{#if:{{{debug mode|}}}||[[Category:Weapons]]}}{{InfoboxSEO}}{{#seo: | ||
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | |og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | ||
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | }}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | ||
Revision as of 23:48, 31 March 2017
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 | |
| Information | |
| Name: | Fake Example Sword |
| Description: | It looks like a pirate owned this once. |
| Level: | 99 |
| Source: | Adventurer's Guild, The Mines |
| Damage: | 08-14
|
| Stats: | |
| Adventurer's Guild | |
|---|---|
| Purchase Price: | |
| Sell Price: | |
{{#seo:
|keywords=Stardew Valley Wiki, Stardew Valley, Infobox weapon, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox weapon - Stardew Valley Wiki }}{{#seo: |og:image=https://stardew.fastobject.net/images/1/19/Pirate%27s_Sword.png }}
