Template:Guild Points Value: Difference between revisions

From HorizonXI Wiki
(Created page with "'''Guild Points Value:''' {{#if:{{{1|}}}|{{#ifeq:{{{1}}}|0|''None''|{{#if:{{{2|}}}|''{{formatnum:{{{1}}}}} / {{formatnum:{{{2}}}}}'' ({{#expr: {{{2}}} / {{{1}}} round 2}} items)|''{{formatnum:{{{1}}}}} / ???'' (??? items) <includeonly>{{Information Needed}}</includeonly>}}}}|{{#if:{{{2|}}}|''??? / {{formatnum:{{{2}}}}}'' (??? items) <includeonly>{{Information Needed}}</includeonly>|''None''}}}}<noinclude> {{PAGENAME}}en:Vorlage:G...")
Tag: visualeditor-wikitext
 
mNo edit summary
 
Line 1: Line 1:
'''[[Guild Points|Guild Points Value]]:''' {{#if:{{{1|}}}|{{#ifeq:{{{1}}}|0|''None''|{{#if:{{{2|}}}|''{{formatnum:{{{1}}}}} / {{formatnum:{{{2}}}}}'' ({{#expr: {{{2}}} / {{{1}}} round 2}} items)|''{{formatnum:{{{1}}}}} / ???'' (??? items) <includeonly>{{Information Needed}}</includeonly>}}}}|{{#if:{{{2|}}}|''??? / {{formatnum:{{{2}}}}}'' (??? items) <includeonly>{{Information Needed}}</includeonly>|''None''}}}}<noinclude>
'''[[Guild Points|Guild Points Value]]:''' {{#if:{{{1|}}}|{{#ifeq:{{{1}}}|0|''None''|{{#if:{{{2|}}}|''{{formatnum:{{{1}}}}} / {{formatnum:{{{2}}}}}'' ({{#expr: {{{2}}} / {{{1}}} round 2}} items)|''{{formatnum:{{{1}}}}} / ???'' (??? items) <includeonly>{{Information Needed}}</includeonly>}}}}|{{#if:{{{2|}}}|''??? / {{formatnum:{{{2}}}}}'' (??? items) <includeonly>{{Information Needed}}</includeonly>|''None''}}}}<noinclude>
[[Category:Templates|{{PAGENAME}}]][[en:Vorlage:Gildenpunkt-Wert]]
[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
<pre>
<pre>

Latest revision as of 17:46, 28 June 2024

Guild Points Value: None

Usage

{{Guild Points Value|points per item|maximum points}}
  • Automatically calculates and displays how many items are needed in order to reach maximum points (rounds to 2 decimal places).
  • Displays "Guild Points Value: None" if "0" is given for the "points per item" value, or if no values are given.
  • If only one value is given, the missing values will be displayed in question marks.