Template:Album XP/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} Gives the XP gained when receiving the Album card for an item at a given level. For combat skills, this is the level of the enemy and not the level at which they can be fought. This value is not suitable for calcuations (it will contain thousands seperators), pass a second parameter <syntaxhighlight lang="wikitext" inline>|raw</syntaxhighlight> to get it without commas. If unknown, returns the <syntaxhighlight lang="wikitext" inline>|default=</s...")
 
mNo edit summary
 
Line 19:
| {{Album XP|0|default=X}}
|-
| {{T|Album XP|181180}}
| {{Album XP|181180}}
|-
| {{T|Album XP|181180|raw}}
| {{Album XP|181180|raw}}
|-
| {{T|Album XP|501}}

Latest revision as of 10:33, 29 November 2024

This is a documentation subpage for Template:Album XP.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Album XP invokes function main in Module:Experience/Album using Lua.

Gives the XP gained when receiving the Album card for an item at a given level.

For combat skills, this is the level of the enemy and not the level at which they can be fought.

This value is not suitable for calcuations (it will contain thousands seperators), pass a second parameter |raw to get it without commas.

If unknown, returns the |default= argument.

Source Result
{{Album XP|0}} 250
{{Album XP|0|default=X}} 250
{{Album XP|180}} 9,699
{{Album XP|180|raw}} 9699
{{Album XP|501}}
{{Album XP|501|default=X}} X