Difference between revisions of "Template:Average Price"

*>Yertthedestroyer
*>Ccb005
 
(3 intermediate revisions by 2 users not shown)
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==
Line 7: Line 7:
 
e.g.
 
e.g.
 
<pre>
 
<pre>
{{Average Price|18653|25}}
+
{{Average Price|30153|26}}
 
</pre>
 
</pre>
  
Line 14: Line 14:
 
When using this template, there are a few things to keep in mind:
 
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.
 
*The accuracy of the information is only as reliable as the editors contributing.
 +
*Prices vary from server to server. This is only an Average of all Servers, so data may not reflect your server.
 
*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.
 
*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.
 
:*The current "acceptable" level is 100 reports. Average Prices with less than 100 reports will only be displayed in the hovertext.

Latest revision as of 05:11, 22 February 2011

(??? Gil)

Usage[edit]

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

e.g.

{{Average Price|30153|26}}

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.
  • Prices vary from server to server. This is only an Average of all Servers, so data may not reflect your server.
  • 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.