Template:Guides/doc

From Roat Pkz
Revision as of 08:51, 6 June 2024 by Hefner (talk | contribs) (→‎SCP)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Working templates

Inventory

Usage
This template can be used by entering the following onto a relevant page.

{{Inventory|align=right
|Item1 |Item2 |Item3 |Item4
|Item5 |Item6 |Item7 |Item8
|Item9 |Item10 |Item11 |Item12
|Item13 |Item14 |Item15 |Item16
|Item17 |Item18 |Item19 |Item20
|Item21 |Item22 |Item23 |Item24
|Item25 |Item26 |Item27 |Item28
}}

To specify an amount for a stackable item, put a backslash and insert the amount after the backslash.

To align the inventory to a specific side, use the align parameter. For example, use |align=right to move the table to the right of the page.

To switch to a horizontal table, use |orient=h.

Examples
If you want to suggest an inventory for ectofuntus trips, you could do the following:

Ectophial
Bones
BonesBonesBonesBones
BonesBonesBonesBones
{{Inventory|align=right
|Ectophial | | |
| | | |
| | | |
| | | |
| | | |Bones
|Bones |Bones |Bones |Bones
|Bones |Bones |Bones |Bones
}}
Quantity

To specify an amount, use a backslash and enter the amount for that item. For example:

Cannonball12Steel bar
Steel barSteel barSteel barSteel bar
Steel barSteel barSteel barSteel bar
Steel barSteel barSteel barSteel bar
Steel barSteel barSteel barSteel bar
Steel barSteel barSteel barSteel bar
Steel barSteel barSteel barSteel bar
{{Inventory|align=right|orient=h
|Cannonball\12 | | |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
|Steel bar |Steel bar |Steel bar |Steel bar
}}
Noted

To mark an item as noted, add ;n after the item name. Can be combined with quantity (in either order).

Shark1
Magic logs100
Runite ore50
{{Inventory|align=right
|Shark;n | | |
| | |Magic logs;n\100 |
| | | |
|Runite ore\50;n | | |
| | | |
| | | |
| | | |
}}

Quick Copy

{{Inventory|align=right
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
}}

Equipment

dont use |ammoquantity = , its broken
{{Equipment|align=left
|head = Ancient coif
|cape = Defence cape(t);Defence cape#Trimmed
|neck = Amulet of fury
|ammo = Runite bolts
|weapon = 3rd age longsword
|torso = Ancient d'hide body
|legs = Ancient chaps
|shield = Ancient d'hide shield
|gloves = Ancient bracers
|boots = Ancient d'hide boots
|ring = Treasonous ring
}}

Results in:

Ancient coif
Defence cape#Trimmed
Amulet of fury
Runite bolts
3rd age longsword
Ancient d'hide body
Ancient d'hide shield
Ancient chaps
Ancient bracers
Ancient d'hide boots
Treasonous ring

Quick copy

{{Equipment|align=right
|head = 
|cape = 
|neck = 
|ammo = 
|weapon = 
|torso = 
|legs = 
|shield = 
|gloves = 
|boots = 
|ring = 
}}

In Use

Put this at the top of the page you are editing, remove when done

 {{Inuse}} 
in use
This article is actively undergoing a major edit.
As a courtesy, please do not edit this page while this message is displayed, in order to avoid edit conflicts.

Holiday Events

Edit Template:Events to add new events

 {{Events}} 

Location

{| class="wikitable sortable align-center-2 align-center-3"
!Location
!Level
!Donator
!Multi/Single
|-
| Royal Donator Zone
|470
|{{donator|royal}}
|
|-
|Callisto's Den
|470
|
|[[File:Multicombat.png]]
|-
|Hunter's End
|470
|
|
|}
Location Level Donator Multi/Single
Royal Donator Zone 470
Royal Donator
Callisto's Den 470
Hunter's End 470
 
{{donator|normal}}
{{donator|super}}
{{donator|extreme}}
{{donator|legendary}}
{{donator|royal}}
 
Donator
Super Donator
Extreme Donator
Legendary Donator
Royal Donator


 List of donator icon files
[[file:donatoricon.png]]
[[file:superdonatoricon.png]]
[[file:extremedonatoricon.png]]
[[file:legendarydonatoricon.png]]
[[file:royaldonatoricon.png]]

Droptable

Example

 
{| class="wikitable uncolapsable align-center-3"                                <!--This is the top of the table, align-center-3 makes sure the third row (quantity) is centered-->
!colspan="2"|Item
!Quantity
!Drop rate
![[File:donatoricon.png|link=]]
![[File:superdonatoricon.png|link=]]
![[File:extremedonatoricon.png|link=]]                                          <!--Icons that will be shown at the top of the table, put |link= at the end so they can't be clicked.(Can be changed later to link to donator rank pages)-->
![[File:legendarydonatoricon.png|link=]]
![[File:royaldonatoricon.png|link=]]
!Price
|-
| {{plinkt|Torva full helm}}                                                    <!--This is the name of the item-->
|1                                                                              <!--This is the quantity-->
|style="background-color: #b55e0c;" | <center> 1/350 </center>                  <!--These 6 are drop rates for each rank-->
|style="background-color: #b55e0c;" | <center> 1/330 </center>
|style="background-color: #b55e0c;" | <center> 1/310 </center>
|style="background-color: #b55e0c;" | <center> 1/280 </center>
|style="background-color: #b55e0c;" | <center> 1/270 </center>
|style="background-color: #b55e0c;" | <center> 1/210 </center>
| {{Price|Torva full helm}}                                                     <!--This is the price of the item-->
|}

Gives

Item Quantity Drop rate Price
Torva full helm 1
1/350
1/330
1/310
1/280
1/270
1/210
300,000
Droprate Colorcode
1
#0b5884
1/25
#3c780a
1/99.99
#a48900
1/999.99
#b55e0c
1/9999999
#9f261e

StoreLine

The StoreLine template is to be used in conjunction with {{StoreTableHead}} provide a listing of items that are found in a shop. It also helps to provide a uniform look of how the shop information is presented for all articles about shop on the wiki.

Usage

Use {{StoreLinePKP|name=}} for PKP                    <-- Uses pkp price estimate (::prices)
Use {{StoreLineDP|name=}} for Donator points          <-- Uses store prices
Use {{StoreLineVP|name=}} for Vote Points             <-- Uses store prices
Use {{StoreLineBHP|name=}} for Bounty hunter points   <-- Uses store prices
Use {{StoreLineSKP|name=}} for Skilling points        <-- Uses store prices
{{StoreTableHead}}
{{StoreLineBHP|name=Ultor ring}}
{{StoreLineDP|name=Torva full helm}}
{{StoreLinePKP|name=Torva platelegs}}
{{StoreLineVP|name=Infernal cape}}
{{StoreLineVP|name=TokHaar-kal}}
{{StoreTableBottom}}

gives

ItemPrice
Ultor ringNot sold
Torva full helmNot sold
Torva platelegs 500,000
Infernal cape 5,000
TokHaar-kal 10,000

Recommended equipment

This template displays the recommended equipment for an activity.

Usage

Currently there is a limit of 5 that will be rendered per slot. Anything added past that will not be shown on the table.

If there is a column of only N/A that means one of the slots is incorrectly numbered. SMW option only needs to be used in the main namespace, otherwise linked items in the table will be used in {{Used in recommended equipment}}.

{{Recommended equipment
|style = <!-- (Optional) Caption/Name of table for delineating from other tables on the same page -->
|head# = <!-- (Optional) Head slot item, # can go from 1 to 5 -->
|neck# = <!-- (Optional) Neck slot item, # can go from 1 to 5 -->
|cape# = <!-- (Optional) Cape slot item, # can go from 1 to 5 -->
|body# = <!-- (Optional) Body slot item, # can go from 1 to 5 -->
|legs# = <!-- (Optional) Legs slot item, # can go from 1 to 5 -->
|weapon# = <!-- (Optional) Weapon slot item, # can go from 1 to 5 -->
|2h# = <!-- (Optional) 2h slot item, # can go from 1 to 5 -->
|shield# = <!-- (Optional) Shield slot item, # can go from 1 to 5 -->
|ammo# = <!-- (Optional) Ammo slot item, # can go from 1 to 5 -->
|hands# = <!-- (Optional) Hands slot item, # can go from 1 to 5 -->
|feet# = <!-- (Optional) Feet slot item, # can go from 1 to 5 -->
|ring# = <!-- (Optional) Ring slot item, # can go from 1 to 5 -->
|special# = <!-- (Optional) Special attack weapons, # can go from 1 to 5 -->
|smw = <!-- (Optional) y/n: Defaults to yes. Main namespace usage only, setting to 'n' will hide the table from `Used in recommended equipment` template.  -->
}}

Example

{{Recommended equipment
|style = Melee
|head1 = {{plink|Torva full helm}}
|neck1 = {{plink|Amulet of torture}}
|neck2 = {{plink|Amulet of fury}}
|cape1 = {{plink|Fire cape}}
|body1 = {{plink|Torva platebody}}
|legs1 = {{plink|Torva platelegs}}
|weapon1 = {{plink|Abyssal whip}}
|shield1 = {{plink|Dragonfire shield}}
|2h1 = {{plink|Dharok's greataxe}}
|ammo1 = {{plink|Dragonstone dragon bolts (e)}}
|hands1 = {{plink|Tormented bracelet}}
|feet1 = {{plink|Dragon boots}}
|ring1 = {{plink|Berserker ring}}
|ring2 = {{plink|Brimstone ring}}
}}

Quick copy

{{Recommended equipment
|style =
|head1 =
|neck1 =
|cape1 =
|body1 =
|legs1 =
|weapon1 =
|2h1 =
|shield1 =
|ammo1 =
|hands1 =
|feet1 =
|ring1 =
|special1 =
}}



Combat Styles

Usage

{{CombatStyles
|                  <!--  The first unnamed parameter determines the combat style of a weapon. -->
|speed           = <!--  The base attack speed of a weapon. This value is identical to the one used in {{Infobox Bonuses}}. -->
|attackrange     = <!--  The base attack range of a weapon. This value is identical to the one used in {{Infobox Bonuses}}. -->
}}

Quick copy

{{CombatStyles||speed=|attackrange=}}

Details

Possible values for the first field are listed below.

  • 2h Sword
  • Axe
  • Banner
  • Bladed Staff
  • Blaster
  • Bludgeon
  • Blunt
  • Bow
  • Bulwark
  • Chinchompas
  • Claw
  • Crossbow
  • Gun
  • Pickaxe
  • Polearm
  • Polestaff
  • Powered Staff
  • Salamander
  • Scythe
  • Slash Sword
  • Spear
  • Spiked
  • Stab Sword
  • Staff
  • Thrown
  • Unarmed
  • Whip

Examples

{{CombatStyles|Bow|speed=4|attackrange=9}}

Combat styleAttack typeWeapon styleAttack speedRangeExperienceLevel boost
AccurateRangedAccurate4 ticks (2.4s)9 tilesRanged Hitpoints+3 Ranged
RapidRangedRapid3 ticks (1.8s)9 tilesRanged HitpointsNone
LongrangeRangedLongrange4 ticks (2.4s)10 tilesRanged Defence Hitpoints+3 Defence

{{CombatStyles|Gun|speed=varies|attackrange=varies}}

Combat styleAttack typeWeapon styleAttack speedRangeExperienceLevel boost
Aim and FireNoneNoneVariableVariableNoneNone
KickCrushAggressiveStrength Hitpoints+3 Strength

{{CombatStyles|Unarmed|speed=No|attackrange=None ????}}

Combat styleAttack typeWeapon styleAttack speedRangeExperienceLevel boost
PunchCrushAccurateN/AN/AAttack Hitpoints+3 Attack
KickCrushAggressiveStrength Hitpoints+3 Strength
BlockCrushDefensiveDefence Hitpoints+3 Defence

{{CombatStyles|Polestaff}}

Combat styleAttack typeWeapon styleExperienceLevel boost
BashCrushAccurateAttack Hitpoints+3 Attack
PoundCrushAggressiveStrength Hitpoints+3 Strength
BlockCrushDefensiveDefence Hitpoints+3 Defence

Infobox Bonuses

 {{Infobox Bonuses
|astab = 
|aslash = 
|acrush = 
|amagic = 
|arange = 
|dstab = 
|dslash = 
|dcrush = 
|dmagic = 
|drange = 
|str = 
|rstr = 
|mdmg = 
|prayer = 
|slot = 
|speed = 
|attackrange = 
|combatstyle = 
|image = [[File:Armadyl godsword equipped.png|120px]]
|altimage = [[File:Armadyl godsword equipped female.png|120px]]
|caption = 
}}


 Attack bonuses
StabSlashCrushMagicRanged
? (edit)? (edit)? (edit)? (edit)? (edit)
 Defence bonuses
StabSlashCrushMagicRanged
? (edit)? (edit)? (edit)? (edit)? (edit)
 Other bonusesSlot
StrengthRangedMagic damagePrayer? (edit)
? (edit)? (edit)? (edit)? (edit)? (edit)


Infobox Shop

Template:Guides/doc
? (edit)
Location? (edit)
Owner? (edit)
Specialty? (edit)
Location
? (edit)


 {{Infobox Shop
|name = 
|image = 
|location = 
|owner = 
|special = 
|map = 
}}

Infobox NPC

Quick copy

Template:Guides/doc
? (edit)
Released(Optional) (Update)
Combat level(Optional)
Donator(Optional)
Race(Optional)
Location? (edit)
Shop(Optional)
Gender(Optional)
Options(Optional)
Examine(Optional)
Map
? (edit)
Advanced data
NPC ID? (edit)
{{Infobox NPC
|name = 
|image = 
|release = (Optional)
|update = (Optional)
|level = (Optional)
|donator = (Optional)
|race = (Optional)
|location = 
|shop = (Optional)
|gender = (Optional)
|options = (Optional)
|examine = (Optional)
|map = 
|id = 
}}

Infobox Item

Template:Guides/doc
? (edit)
Released? (edit)
Also called(Optional)
Properties
Tradeable? (edit)
Bankable(Optional)
Stacks in bank(Optional)
Equipable? (edit)
Stackable? (edit)
Noteable(Optional)
Edible(Optional)
Options? (edit)
Worn options(Optional)
Examine? (edit)
Values
Value? (edit)
Weight? (edit)
Respawn time(Optional)
Advanced data
Item ID? (edit)
{{Infobox Item
|name = 
|image = 
|release = 
|update = 
|aka = (Optional)
|tradeable = 
|bankable = (Optional)
|stacksinbank = (Optional)
|placeholder = (Optional)
|equipable = 
|stackable = 
|noteable = (Optional)
|edible = (Optional)
|options = 
|wornoptions = (Optional)
|destroy = 
|examine = 
|value = 
|weight = 
|respawn = (Optional)
|exchange = (Optional)
|gemwname = (Optional)
|id = 
}} 




Infobox Monster

Template:Guides/doc
? (edit)
Released? (edit)
Donator? (edit)
Combat level? (edit)
Examine? (edit)
Combat info
AttributeNone
Max hit? (edit)
Aggressive? (edit)
Poisonous? (edit)
Attack style? (edit)
Attack speed? (edit)
Respawn time(Optional)
Slayer info
Slayer level(Optional)
Slayer XP(Optional)
Category(Optional)
Assigned by? (edit)
Combat stats
? (edit)? (edit)? (edit)? (edit)? (edit)? (edit)
Aggressive stats
Monster attack bonusMonster strength bonusMonster magic strength bonusMonster ranged strength bonus
? (edit)? (edit)? (edit)? (edit)? (edit)? (edit)
Defensive stats
? (edit)? (edit)? (edit)? (edit)? (edit)
Advanced data
Monster ID? (edit)
{{Infobox Monster
|name = 
|image = 
|release = 
|update = 
|members = 
|combat = 
|size = 
|examine = 
|attributes = (Optional)
|max hit = 
|aggressive = 
|poisonous = 
|attack style = 
|attack speed = 
|respawn = (Optional)
|slaylvl = (Optional)
|slayxp = (Optional)
|cat = (Optional)
|assignedby = (Optional)
|hitpoints = 
|att = 
|str = 
|def = 
|mage = 
|range = 
|attbns = 
|strbns = 
|amagic = 
|mbns = 
|arange = 
|rngbns = 
|dstab = 
|dslash = 
|dcrush = 
|dmagic = 
|drange = 
|id = 
}}



Infobox Pure

Hemmi80
MembersYes
Also calledGod
Build type1-vs-1
Combat level126
Primary attack style
Example combat stats
999999999999999999999999999912748
 {{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 -->
}}


SCP

The SCP template displays a clickable skill icon picture that links to the skill page. This can be also be used in other templates that display skill icons.

Usage

{{SCP|<skill>|<number>|link = (optional) yes}}

Examples Just skill:

{{SCP|Magic}}

Skill and level:

{{SCP|Magic|50}}

50

Skill, level, and link:

{{SCP|Magic|50|link=yes}}

50 [[]]

Non-skill clickpics This template can produce a number of clickpics which are not skill icons.

Name Image Link
overall [[Skills
diary Achievement Diary
combatachievement Combat Achievements
combat Combat level
combatstyle Combat styles
dd Distractions and Diversions
favour Kourend Favour
minigame Minigames
music Music Music
raid Raids
quest Quest points
time Time
total Total level

PLINKT

Been edited so it doesnt link

The picture link table template is a variant of {{plink}} used to created image-and-text links within tables.

Usage {{plinkt|item|txt=text|pic=file name}}

Examples

Code Produces Standard syntax
{{plinkt|Abyssal whip}} Abyssal whip [[File:Abyssal whip.png|link=Abyssal whip]]||[[Abyssal whip]]
{{plinkt|Granite maul|pic=Abyssal whip}} Granite maul [[File:Abyssal whip.png|link=Granite maul]]||[[Granite maul]]

PLINK

Been edited so it doesnt link

The picture link template creates an image and links it to the page as well as including text. For a textless version, use {{plinkp}}.

This template is not intended to be commonly used in mainspace articles. It is primarily used in navboxes and tables to add images to help with navigation. In most other cases, pages should be linked with normal markup and without an image.

Usage

{{plink|item|pic=file name|txt=text}}

Examples

Examples
Code Produces Standard syntax
{{plink|Abyssal whip}} Abyssal whip Abyssal whip [[File:Abyssal whip.png|link=Abyssal whip]] [[Abyssal whip]]
{{plink|Granite maul|pic=Abyssal whip}} Granite maul Granite maul [[File:Abyssal whip.png|link=Granite maul]] [[Granite maul]]
{{plink|Abyssal whip|txt=Whip}} Abyssal whip Whip [[File:Abyssal whip.png|link=Abyssal whip]] [[Abyssal whip|Whip]]
{{plink|Granite maul|pic=Abyssal whip|txt=Whip}} Granite maul Whip [[File:Abyssal whip.png|link=Granite maul]] [[Granite maul|Whip]]


Skill outfit

Order the items in the set and provide any additional information with the parameter notes.


{{Skill outfit|Lumberjack hat|Lumberjack top|Lumberjack legs|Lumberjack boots}}
Item XP Bonus
Lumberjack hat 0%
Lumberjack top 0%
Lumberjack legs 0%
Lumberjack boots 0%
Sub-total 0%
Set bonus 0%
Full set 10%

Headline

Template used to render a fancy looking headline.

Examples


{{Headline|20|Extra, extra! Read all about it!}}

Extra, extra! Read all about it!

{{Headline|35|Extra, extra! Read all about it!}}

Extra, extra! Read all about it!