Difference between revisions of "Template:Average Price"

*>Yertthedestroyer
*>Yertthedestroyer
Line 1: Line 1:
{{#ifeq:{{{1|}}}|Gil|(Gil)|{{#ifeq:{{{2|0}}}|0|{{ht|Unknown Average Price. Information needed.|(??? Gil)|gray}} <includeonly>{{Information Needed}}</includeonly>|{{#ifexpr:{{{2}}} < 100|{{ht|{{{1}}}/{{{2}}} ({{#expr:{{{1}}} / {{{2}}} * 100 round 1}} Gil). Insufficient data for accurate Average Price. More information is needed.|(??? Gil)<sup>[[Template:Average Price|More data needed]]</sup>|gray}}|{{#ifexpr:{{{2}}} < 500|{{ht|{{{1}}}/{{{2}}}. Average Price may be somewhat inaccurate.|({{#expr:{{{1}}} / {{{2}}} * 100 round 1}} Gil)|gray}}|{{ht|{{{1}}}/{{{2}}}. Average Price should be accurate.|({{#expr:{{{1}}} / {{{2}}} * 100 round 1}} Gil)}}}}}}}}}}<noinclude>
+
{{#ifeq:{{{1|}}}|Gil|(Gil)|{{#ifeq:{{{2|0}}}|0|{{ht|Unknown Average Price. Information needed.|(??? Gil)|gray}} <includeonly>{{Information Needed}}</includeonly>|{{#ifexpr:{{{2}}} < 100|{{ht|{{{1}}}/{{{2}}} ({{#expr:{{{1}}} / {{{2}}} }} Gil). Insufficient data for accurate Average Price. More information is needed.|(??? Gil)<sup>[[Template:Average Price|More data needed]]</sup>|gray}}|{{#ifexpr:{{{2}}} < 500|{{ht|{{{1}}}/{{{2}}}. Average Price may be somewhat inaccurate.|({{#expr:{{{1}}} / {{{2}}} }} Gil)|gray}}|{{ht|{{{1}}}/{{{2}}}. Average Price should be accurate.|({{#expr:{{{1}}} / {{{2}}} }} Gil)}}}}}}}}}}<noinclude>
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
==Usage==
 
==Usage==

Revision as of 22:09, 21 December 2007

(??? Gil)

Usage

{{Average Price|total price|total buys}}

e.g.

{{Average Price|18653|25}}

This template can be used on Auctionable Items where the average sell rate may want to be recorded.

When using this template, there are a few things to keep in mind:

  • The accuracy of the information is only as reliable as the editors contributing.
  • Initially, the reported price may be exceptionally higher or lower than normal. This will normalize as the sample size of total transactions rises to an acceptable level.
  • The current "acceptable" level is 100 reports. Average Prices with less than 100 reports will only be displayed in the hovertext.
  • Once this value exceeds 500 reports, the value can be considered reasonably reliable. After this point, the average price will no longer be displayed in gray.
  • When adding price information to a given page, be sure to only report your own purchases, and increase total purchases by as many purchases added.
  • Also, when reporting your average price, be sure to add your results to the existing price, in total gil, instead of replacing them. If the current tally is 10000/10, and your results are 1000/1, then the new value should read 11000/11.