Open main menu

RuneScape Classic Wiki β

User:Riblet15/Sandbox

< User:Riblet15
Template documentation
This documentation is transcluded from Template:Infotable Bonuses row/doc. [edit] [purge]

The Infotable Bonuses templates are used to display the stat bonuses of one or multiple items, and can calculate a total to display at the bottom.

Quick copy & paste

{{Infotable Bonuses header}}
{{Infotable Bonuses row|name=|aim=0|power=0|armour=0|magic=0|prayer=0}}
{{Infotable Bonuses totals}}
{{Infotable Bonuses footer}}

Usage

{{Infotable Bonuses header
|image    = <!-- (Optional) Adds an image to the right side of the table -->
}}
{{Infotable Bonuses row
|name     = <!-- Name of the item -->
|altname  = <!-- (Optional) Alternative name to display -->
|pic      = <!-- (Optional) Alternative icon to display -->
|gif      = <!-- (Optional) Use a gif instead of png for the icon -->
|hideicon = <!-- (Optional) Hides the item icon -->
|aim    = <!-- Item Aim bonus -->
|power   = <!-- Item Power bonus -->
|armour   = <!-- Item Armour bonus -->
|magic   = <!-- Item Magic bonus -->
|prayer   = <!-- Item Prayer bonus -->
}}
{{Infotable Bonuses totals}}
{{Infotable Bonuses footer}}

Infotable Bonuses header

image: (Optional) Adds an image to the right side of the table, typically used for displaying full armour sets.

Infotable Bonuses row

name: The name of the item (the page that gets linked to).
altname: (Optional) An alternative name to display.
pic: (Optional) An alternative icon to display.
gif: (Optional) Set to gif=yes to change the image extension from .gif to .png.
hideicon: (Optional) Set to hideicon=yes to hide the icon entirely.
Stat params: All of the stat parameters are required. If left empty, the cell will display as ?.

Infotable Bonuses totals

An optional template, used to display the running stat totals of all the rows before it.

Infotable Bonuses footer

A simple footer template used to close the table. Equivalent to |}, but is used to make parsing wikitext easier.


See also
https://classic.runescape.wiki/w/User:Riblet15/Sandbox?mobileaction=toggle_view_mobile
classic.runescape.wiki
crawl=CC-MAIN-2021-43
19767
application/http; msgtype=response
sha1:FAQDLAFS757O5LIL5XLGKJ7DOUSDMNDX
<urn:uuid:f03eb6ef-2c1e-4d89-a38c-a8f087ce159d>
2021-10-20T20:03:24Z
104.22.66.222
text/html
sha1:73637LGYO4BSMZADOJ2FXDNFMXNKJDOD
<urn:uuid:4a2c10d2-b8ef-4a86-a59d-99bd97a47e14>
https://classic.runescape.wiki/w/User:Riblet15/Sandbox?mobileaction=toggle_view_mobile
response
<urn:uuid:607d0a35-64b2-41e9-acc4-013716d54968>
isPartOf: CC-MAIN-2021-43
publisher: Common Crawl
description: Wide crawl of the web for October 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-217
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/