Template:Combat/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 11:33, 17 October 2024. 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:Combat.
It contains usage information, categories, and other content that is not part of the original template page.

This template can be used to display the combat stats and the resulting combat level for an account. It is intended both for use on userpages, and on account build pages for PvP builds. The combat parameters follow the Template:User stats format. Note that when a parameter is absent, the template will use a default value of 1. At the top of the template, the name of the account can be given, which will default to the current page name (excluding the namespace), which will be your username when putting this template on your user page.

Example

The following template call describes a new player without any combat experience. This also are the default values that the template uses when the parameter is absent.

{{Combat
|align=left
|caption=Example combat gear
|name=Cow31337Killer
|Attack=1
|Defence=1
|Strength=1
|Hitpoints=10
|Prayer=1
|Ranged=1
|Magic=1
}}

This produces the following result:

Cow31337Killer
Attack 1 Hitpoints 10
Strength 1 Defence 1
Ranged 1 Prayer 1
Magic 1 Combat level 3
Example combat gear

The table shows that a starting player will have a combat level of 3. Another example, without a caption, align and name parameter set:

{{Combat|align=left|Attack=92|Defence=84|Strength=91
|Hitpoints=92|Prayer=73|Ranged=87|Magic=98}}

gives the following result:

Combat/doc
Attack 92 Hitpoints 92
Strength 91 Defence 84
Ranged 87 Prayer 73
Magic 98 Combat level 112