Template:Infobox Pure/doc: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} Infobox for use on Pure account build articles. Displays relevant information about the account build, and the typical stats ==Quick copy== <pre>{{Infobox Pure |name = <!-- name of the build --> |aka = <!-- when applicable: other names of this build --> |image = <!-- example image of what the build looks like with its gear on --> |members = <!-- either Yes or No --> |ironman = <!-- if this build is made for playing as an ironman, e.g. to prevent gaini...")
 
No edit summary
Tag: Reverted
Line 134: Line 134:
"version": {
"version": {
"label": "Build version",
"label": "Build version",
"description": "Used in switch infobox. When using this, all parameters that have the same number behind them will only be shown in the infobox for this specific version of the build. Source editor is recommended when configuring this. See existing build pages for examples",
"description": "Used in switch infobox. When using this, all parameters that have the same number behind them will only be shown in the infobox for this specific version of the build. Source editor is recommended when configuring this. See existing build mw.pages for examples",
"example": "Mid-level",
"example": "Mid-level",
"type": "string"
"type": "string"

Revision as of 00:32, 17 October 2024

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

Infobox for use on Pure account build articles. Displays relevant information about the account build, and the typical stats

Quick copy

{{Infobox Pure
|name = <!-- name of the build -->
|aka = <!-- when applicable: other names of this build -->
|image = <!-- example image of what the build looks like with its gear on -->
|members = <!-- either Yes or No -->
|ironman = <!-- if this build is made for playing as an ironman, e.g. to prevent gaining hitpoints experience -->
|type = <!-- comma seperated list; choose: 1v1, tank, scout, multi, no-honour, ragger, skiller.
|combat = <!-- combat level for this pure; can also be a range of combat level, separated by a comma. -->
|uses melee = <!-- yes / no: account uses melee attack style -->
|uses ranged = <!-- yes / no: account uses ranged attack style -->
|uses magic = <!-- yes / no: account uses magic attack style -->
|attack style = <!-- optional: which combat style is the primary attacking style of this build; either melee, magic, ranged, hybrid or no (only 'no' if this build is not meant for attacking) -->
|weapons = <!-- list of weapons for which the max hit will be given; must specify the same amount of weapons and max hits -->
|max hit = <!-- list of maximum possible hits corresponding to the weapons defined in the previous parameter -->
|hitpoints = <!-- ideal hitpoints level for this build -->
|att = <!-- ideal attack level for this build -->
|str = <!-- ideal strength level for this build -->
|def = <!-- ideal defence level for this build -->
|mage = <!-- ideal magic level for this build -->
|range = <!-- ideal ranged level for this build -->
|pray = <!-- ideal prayer level for this build -->
}}

Example

Berserker
MembersYes
Also calledZerker
Build type1-vs-1
Combat level60 — 75
Primary attack style
Example combat stats
4017045113148
{{Infobox Pure
|name = Berserker
|aka = Zerker
|image = [[File:Berserker helm equipped.png|x300px]]
|members = Yes
|ironman = No
|type = 1v1
|combat = 60, 75
|uses melee = yes
|weapons = Dragon scimitar, Magic shortbow
|max hit = 50, 20
|hitpoints = 40
|att = 1
|str = 70
|def = 45
|mage = 1
|range = 1
|pray = 31
}}

Parameters

Parameter Description Required
versionN Used in switch infobox. When using this, all parameters that have the number N behind them will only be shown in the infobox for this specific version of the build. No
name The name of the pure build Yes
aka Other names this build is known by No
image An image of the build with all of its typical gear equipped. Yes
members Whether the shop is members only. Yes
ironman Set to 'Yes' if this build has to be an ironman. Relevant for builds that rely on getting no experience from PvP combat. No
type Comma separated list, must be at least one of 1v1, tank, scout, multi, no-honour, ragger, skiller. Yes
combat Used to specify a combat level for which this build is viable. If the build is viable at a range of levels, this can be a range that is less than optimal, when considering experience gain through PvP combat. Multiple values can be separated by a comma. Yes
weapons A list of weapons for which the max hit will be given. Note: This will give an error if the amount of weapons is not equal to the amount of max hits specified. No
max hit A list of max hits for each respective weapon given in the weapons parameter. Must have an equal amount of max hits to the amount of weapons specified. No
uses melee,
uses ranged,
uses magic
Either yes or no (default: no); indicate whether this build uses a given attack style. Defaults to the attack style specified in the attack style parameter if none are specified. Used to indicate different attack styles used by an account build, other than the primary attack style. No
attack style Which side of the Combat Triangle this build is most heavily focused on (or "Hybrid" if no single attack style is the main style). One of Melee, Magic, Ranged, Hybrid. Enter 'no' if this build is not made for aggression (e.g. a skiller or defence pure).
If this build only uses a single attack style (as specified in the "uses X" parameters), this parameter does nothing.
No
hitpoints, att, str, def, mage, range, pray Each of the combat stats for this build. For each of the stats of the secondary attack style, the value may either be the most common level for that build, or the maximum level possible before increasing the combat level for the build. See Calculator:Combat level for checking the highest possible levels to fill in. No


Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Template to describe several typical qualities of an account build.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Build versionversion

Used in switch infobox. When using this, all parameters that have the same number behind them will only be shown in the infobox for this specific version of the build. Source editor is recommended when configuring this. See existing build mw.pages for examples

Example
Mid-level
Stringoptional
Default versiondefver

Which version of the template to show by default, when loading the page. Only used in combination with the 'Build version' parameter.

Default
1
Example
2
Numberoptional
Build namename

A clear (non-slang) name given to this account build

Default
<Current page name>
Example
Berserker pure
Stringsuggested
Also Known Asaka

Other names, including slang names, given to this build

Example
Zerker
Stringoptional
Imageimage

An image of a player wearing a typical loadout for this account build

Filesuggested
Members-only?members

Whether this is a members-only build.

Example
Yes
Stringsuggested
Ironman-only build?ironman

Whether this build type only works as an ironman (e.g. 10HP PvP builds)

Default
No
Example
Yes
Stringoptional
Build typetype

What kind of account build this is; may be any amount of values from the following list, separated by commas: 1v1, tank, scout, multi, no-honour, ragger, skiller.

Example
1v1, ragger
Stringsuggested
Combat levelcombat

Typical combat level or level range for this build. If two numbers are given, separated by a comma, a level range will be displayed.

Example
42
Stringsuggested
Uses Meleeuses melee

Does this account build use melee?

Default
no
Example
yes
Contentoptional
Uses Rangeduses ranged

Does this account build use melee?

Default
no
Example
yes
Contentoptional
Uses Magicuses magic

Does this account build use Magic?

Default
no
Example
yes
Contentoptional
Attack styleattack style

Main attack style for this build, if applicable. One value from: Melee, Range, Mage, Hybrid. Enter "Hybrid" only when there is no single primary style. Enter "no" if not applicable. Leave empty if only one combat style is used.

Example
Melee
Stringsuggested
Weaponsweapons

A comma-separated list of weapons or spells, for which max hits will be specified using the "Max hit" parameter.

Example
Dragon scimitar, Iban Blast
Stringsuggested
Max hitmax hit

A comma-separated list of max hits, for each of the respective weapons or spells that were specified in the "Weapons" parameter.

Example
19, 25
Stringsuggested
Hitpoints levelhitpoints

The typical Hitpoints level this account build has

Example
99
Numbersuggested
Attack levelatt

The typical Attack level this account build has

Example
99
Numbersuggested
Strength levelstr

The typical Strength level this account build has

Example
99
Numbersuggested
Defence leveldef

The typical Defence level this account build has

Example
99
Numbersuggested
Magic levelmage

The typical Magic level this account build has

Example
99
Numbersuggested
Ranged levelrange

The typical Ranged level this account build has

Example
99
Numbersuggested
Prayer levelpray

The typical Prayer level this account build has

Example
99
Numbersuggested