Template:Parse user stats/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:40, 17 October 2024 (Created page with "<!-- The documentation is included as a whole in the template page which often does not show the template itself. Editing the page actually results in editing the actual template rather than the documentation. The templates to achieve a more sensible behaviour are missing from the RS wiki. As an interim measure, users should use the section edit. --> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{documentation}} The '''Parse user stats''..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Parse user stats.
It contains usage information, categories, and other content that is not part of the original template page.

The Parse user stats template inserts a table with skill levels into a page. These skills are assigned levels by using ParseHiscoreData. In addition, the template will display the number of quest points and the combat level if provided in the parameter list. The Name parameter will insert a link to the RuneScape Hiscore page for that name.

This template, unlike Template:User stats, will update itself when the page in the Data field is updated.

Usage

{{Parse user stats|params (see below)}}

The following parameters are recognised in the template.

{{Parse user stats
   |Data          = A subpage containing hiscores lite data, in {{}} (for example {{User:Me/Hiscores}})
   |Name          = Optional, your RuneScape username, e.g. Zezima
   |Combat        = Optional, your combat level. If this isn't entered the combat level shown will be calculated from your combat skill levels
   |Quest         = The amount of Quest Points you have
   |Extra-css     = Any extra styles that should apply to the stats box. Please don't add quotes around this, but just add the styles themselves.
}}

If a skill is not ranked, you can add an extra parameter to the template with the name of the skill. For example, you can add the following line (before the }}) to the example above:

   |Attack        = Your Attack level, if it's unranked in the official hiscores