Template:Item Stats: Difference between revisions

From Unofficial Arcane Merchant Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
Quantity Per Chest: {{{1}}}
{{#if: {{{1|}}} | <p>Quantity Per Chest: {{{1}}}</p>
| }}{{#if: {{{2|}}} | <p>Price Per Item: {{{2}}}g</p>
| }}{{#if: {{{2|}}} | <p>Price Per Chest: {{#expr: {{{1}}} * {{{2}}} }}g</p>
| }}{{#if: {{{3|}}} | <p>Combat Power: {{{3}}}</p>
| }}{{#if: {{{4|}}} | <p>Attack: {{{4}}}</p>
| }}{{#if: {{{5|}}} | <p>Defense: {{{5}}}</p>
| }}{{#if: {{{6|}}} | <p>Speed: {{{6}}}</p>
| }}{{#if: {{{7|}}} | <p>Display: [[{{{7}}}]] [[File:{{{7}}}.png|25px|frameless|link=]]</p>
| }}
<noinclude>To use this template, use the following format:


Price Per Item: {{{2}}}g
<nowiki>{{Item Stats|1|2|3|4|5|6|7}}</nowiki>


Price Per Chest: {{#expr: {{{1}}} * {{{2}}} }}g
Where:


Combat Power: {{{3}}}
1: Quantity per Chest


Attack: {{{4}}}
2: Price per Item (Leave off g, as the template adds it)


Defense: {{{5}}}
3: Combat Power


Speed: {{{6}}}
4: Attack


Display: {{{7}}}
5: Defense
 
6: Speed
 
7: Shop display for this item. (This should match the page name for the display in question.
 
It will display as follows (example:Long Rifle):
 
{{Item Stats|8|11|19|9|1|0|Gun Rack}}
Any section left blank will not be displayed. For example, books and stones do not have combat info, but use the same template. Items that can only be obtained from adventuring prizes will not have price info.</noinclude>

Latest revision as of 20:59, 15 August 2026

To use this template, use the following format:

{{Item Stats|1|2|3|4|5|6|7}}

Where:

1: Quantity per Chest

2: Price per Item (Leave off g, as the template adds it)

3: Combat Power

4: Attack

5: Defense

6: Speed

7: Shop display for this item. (This should match the page name for the display in question.

It will display as follows (example:Long Rifle):

Quantity Per Chest: 8

Price Per Item: 11g

Price Per Chest: 88g

Combat Power: 19

Attack: 9

Defense: 1

Speed: 0

Display: Gun Rack

Any section left blank will not be displayed. For example, books and stones do not have combat info, but use the same template. Items that can only be obtained from adventuring prizes will not have price info.