Template:Combat/doc: Difference between revisions
(Created page with "{{documentation}} 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 mw.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...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{documentation}} |
{{documentation}} |
||
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 |
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== |
==Example== |
Latest revision as of 11:33, 17 October 2024
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 | |||
---|---|---|---|
1 | 10 | ||
1 | 1 | ||
1 | 1 | ||
1 | 3 |
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 | |||
---|---|---|---|
92 | 92 | ||
91 | 84 | ||
87 | 73 | ||
98 | 112 |