User:Chieftain Alex/sandbox5

From Guild Wars 2 Wiki
Jump to navigationJump to search
Page Parameters
Widget:API files

This widget has no parameters.

Widget:API quaggans

This widget has no parameters.

Widget:Account achievements

This widget has no parameters.

Widget:Account build summary

This widget has no parameters.

Widget:Account dungeons

This widget has no parameters.

Widget:Account dyes

This widget has no parameters.

Widget:Account finishers

This widget has no parameters.

Widget:Account gliders

This widget has no parameters.

Widget:Account guild roster

This widget has no parameters.

Widget:Account guild upgrades

This widget has no parameters.

Widget:Account home instance nodes

This widget has no parameters.

Widget:Account inventories

This widget has no parameters.

Widget:Account jade bots

This widget has no parameters.

Widget:Account masteries

This widget has no parameters.

Widget:Account miniatures

This widget has no parameters.

Widget:Account mounts

This widget has no parameters.

Widget:Account novelties

This widget has no parameters.

Widget:Account outfits

This widget has no parameters.

Widget:Account recipes

This widget has no parameters.

Widget:Account skiffs

This widget has no parameters.

Widget:Account skins

This widget has no parameters.

Widget:Account stories

This widget has no parameters.

Widget:Account stories table

This widget has no parameters.

Widget:Account super adventure box

This widget has no parameters.

Widget:Account titles

This widget has no parameters.

Widget:Account wizard's vault listings

This widget has no parameters.

Widget:Achievement table

This widget has no parameters.

Widget:Agony resistance optimizer table

This widget has no parameters.

Widget:Block robot
Widget:Chat link decoder

This widget has no parameters.

Widget:Clip-o-tron
intro
Introductory message.
Widget:Coefficient calculator
type
"damage" or "healing"
Widget:Collection items

This widget has no parameters.

Widget:Container drop research form
research
Sets the research page to send the data to upon completion. Defaults to "Wintersday Gift/research" (Wintersday Gift/research)
linetemplate
Sets the line template to do be used. Defaults to "Wintersday Gift research line" (Template:Wintersday Gift research line)
summarytemplate
Sets the summary template to do be used. Defaults to "Wintersday Gift research summary" (Template:Wintersday Gift research summary)
class
Sets the CSS class to apply to the summary table on the data entry page. Defaults to "mech2". See Guild Wars 2 Wiki:Color schemes#Table colors.
container
The page name of the container being opened, used exclusively to retrieve the item icon for the total row. Defaults to "Wintersday Gift" (Wintersday Gift)
common
uncommon
rare
superrare
The items within each category, separated by a new line.
Widget:Countdown
target
A timestamp specifing the time that should be counted down to expressed as epoch seconds.
interval
The interval to count down to after the specified target time in seconds.
If specified as zero the countdown will stop after reaching the target time.
If specified as a positive number the countdown will count down first to the target time and then, after reaching the target time, to <target time>+interval*<n>. <n> starts out as 1 and increases every time the previous target so determined is surpassed.
ns
A text to be displayed if no scripting is available.
namespace
An identifier to be included in the ID assigned to target elements to distinguish them even in contexts which would otherwise cause ID colissions.
Widget:Custom CSS
Widget:Daily achievements

All parameters are optional.

style
Adds additional html styles to the wrapper div. display:inline-block; vertical-align:top; etc
category
Limits the visible achievements to those categories specified. PvE, Fractals, PvP, WvW, or Special. Can display more than one category by separating multiple filters with a comma.
level
Limits the visible achievements to those available at the level specified. 80 etc.
tier
Limits visible fractal Daily Tier X achievements to those which are the specified tier. 1, 2, 3, or 4
tomorrow
Instructs the widget to use tomorrows achievements instead of todays if set equal to y.
Widget:Damage calculator
Widget:Datetime
format
A format string specifing the desiered output. These format strings function similar to those of #time. All supported codes can be found listed in the example below. Meaning can be escaped by either puting what is to be taken literaly inside double quotes (") or by prefixing it with a backslash (\). To use a double quote inside of a double quoted section it can be prefixed with a backslash.
time
A timestamp specifing the time that should be used to format with expressed as epoch seconds.
ns
A text to be displayed if no scripting is available.
namespace
An identifier to be included in the ID assigned to target elements to distinguish them even in contexts which would otherwise cause ID colissions.
Widget:Deletion table plainlist
Widget:Discord
Widget:Editing robot
Widget:Event table
Widget:Event timer
zone
Optional. Zone abbreviation. If provided, only the given zone will be displayed (and the compact viewing mode will be used). Refer to Template:Event timer#Parameters for a list of zone abbreviation options.
Multiple zones can be specified by separating with a comma.
exclude
Optional. Used on Template:Event timer to exclude events from the main Event timers page (which would ordinarily display all possible timers). Specified as a comma-specified string of festival meta events. Unset by default.
Widget:Event timer test
zone
Optional. Zone abbreviation. If provided, only the given zone will be displayed (and the compact viewing mode will be used). Refer to Template:Event timer#Parameters for a list of zone abbreviation options.
Multiple zones can be specified by separating with a comma.
exclude
Optional. Used on Template:Event timer to exclude events from the main Event timers page (which would ordinarily display all possible timers). Specified as a comma-specified string of festival meta events. Unset by default.
Widget:Event timer/data.json
Widget:Event timer/jquery ui sortable min.js
Widget:Event timer/jquery ui sortable.js
Widget:Filter table
id
Required. The "id" attribute of the table to target with the widget
filters
A comma separated list of classes to filter for.
Optional: Use a broken-pipe symbol to display a different button text to the underlying value, e.g. value1¦displayname1, value2¦displayname2
Optional: Use wikicode in the button display text, including icons - sorry no commas.
Optional: A value of <br> will instead insert a newline.
Optional: A value of label¦displayname will instead insert a label.
mode
Optional. Defaults to "AND", which uses AND logic to connect filters.
Can be set to "OR" to use OR logic to join the filter buttons with OR logic instead.
Can also be set to "ONLY" logic to only allow one active filter at a time.
useopacity
Optional. If set to anything, uses opacity: 25% instead of display: none for the CSS rule when an item is filtered.
content
Optional, visual parameter. Adjusts the text displayed in the sentence "The <content (default: "table")> below can be filtered using the following buttons." Could be used to set the text to "list".
position
Optional, visual parameter. Adjusts the text displayed in the sentence "The table <position (default: "below")> can be filtered using the following buttons." Could be used to set the text to "above".
default
Optional. If set, a default filter will be applied when the widget is loaded. The value set for this parameter should match the name of the button. Multiple default filters can be set by separting filter names with a comma.
Widget:Find replace robot
Widget:Gallery broken file cleanup

None.

Widget:Game link
type
The link type. Possible values: item, map, skill, trait, recipe, skin, outfit, text
id
The game id.
Widget:Game mode buttons
button1
button2
button3
The buttons to create, identifying the relevant game mode. Options: pve, wvw, pvp. If the element is applicable to multiple game modes, then content should be space delimited such as wvw pvp.
scope
Defaults to global. Set to the game update date to restrict game mode switching to that update date.
Widget:Game update filter classes
  • This widget has no parameters.
Widget:Gem Store catalogue

This widget has no parameters.

Widget:Gem Store magic

This widget has no parameters.

Widget:Gem Store magic/name fixes
Widget:Hungry cat scavenger hunt

This widget has no parameters.

Widget:IRC
Widget:Infobox map
coordinates
The X and Y coordinates of the NPC according to your preferred GW2 GPS coordinate generator. The widget expects [x,y] coordinate pairs. If multiple coordinates are specified, separate each point's square brackets with commas, and enclose the entire chain in an additional set of square brackets, e.g. [[x1,y1],[x2,y2],[x3,y3]]. These will then be plotted as multiple markers
Specified as a third value in the first array; the floor number. In Tyria, floors are usually -1, 0, 1 or 2, with exceptions for dungeons. Floors for the Mists maps vary wildly.
Specified as a fourth value in the first array; the continent number. 1 for Tyria, 2 for the Mists.
path
Groups of X and Y coordinate pairs forming a path.
bounds
Groups of X and Y coordinate pairs forming a polygon.
icon
Optional. If set, must be the url for a 32px icon.
waypoint_id
Optional. If set, displays a waypoint with matching map id.
Widget:Interactive map data builder

None.

Widget:Interactive map data builder/infobox-map-output.js
Widget:Interactive map data builder/input.js
Widget:Interactive map data builder/locator-map-output.js
Widget:Interactive map data builder/output.js
Widget:Jquery test
wikiparameter1
wikiparameter1 description
Widget:List comparison

This widget has no parameters.

Widget:Locator map
continent
Required. The continent id (1 = Tyria, 2 = The Mists)
map
Required. The map id. All sectors within this map will be shown with a black border and no fill.
sector
Required. The sector id. This will be rendered in red with a bold border.
cache
Optional. If set to n, disables caching of the output.js query.
debug
Optional. If set to y, prints certain variables to the browser's developer console.
Widget:Locators
Widget:Love4ArenaNet form
Widget:Magic Find calculator

None

Widget:Map bonus rewards

This widget has no parameters.


Widget:Map bonus rewards/script.js
Widget:Map floors

All values are integers unless stated otherwise in the description.

Map selection[edit]

continent_id
API ID of the continent (1=Tyria, 2=The Mists), default: 1
floor_id
floor ID used in the continents API request, default: 1
region_id
(optional) region ID, default: -1
map_id
(optional) the ID of the map
include_maps
(optional) a comma separated list of maps that will be selected from the requested floor data. Takes precedence over map_id. Example: include_maps=17,20,21,22,23
custom_floor
(optional) if the floor id for the data differs from the one for the tiles, this option may be used to indicate the floor ID for the tile-server request. Example: the data for PoF maps is located on floor_id=49, but the tiles are on custom_floor=1.
custom_rect
(optional) specify a custom continent_rect array that will be used for tile selection. Useful for region requests with broken continent_rect or custom map selection via include_maps. Example: custom_rect=[[0,0],[49152,49152]]
tile_adjust
(optional) adds a number of tiles around the current selection, for example if the continent_rect for a map is cropped sharply (e.g. Lornar's_Pass)
center_coords
(optional) (array of 2 positive integers), sets the initial center position for the map. Example: center_coords=[123,456]

UI settings[edit]

lang
(optional) display/API data language (0=de, 1=en, 2=es, 3=fr, 4=zh) default: 1 (the language for the UI elements is hardcoded to the wiki's language in Widget:Map_floors/loader and in Widget:Map_floors/data)
zoom
(optional) (int, 0-7) sets the initial zoom level for the map, default: 5
max_zoom
(optional) (int, 6-7) allows to override the maxZoom value, which defaults to 7 for continent 1 and 6 for continent 2.
map_controls
(optional) (bool, 0/1) toggles the map controls (zoom-, fullscreen- and layermenu-buttons), default: 1
linkbox
(optional) (bool, 0/1) (disabled for the wrapper template until further notice) toggles a box besides the map that contains navigation quicklinks that pan to the selected element and open the info popup, default: 0
events
(optional) (bool, 0/1) toggles the loading of event details, default: 0
extra_layers
(optional) adds additional layers to the map. These layers need to be defined in Widget:Map_floors/data.
init_layers
(optional) specifies the layers that are displayed when the map is loaded. This setting will overwrite the default init layers, which means that only layers listed in init_layers will be displayed on load.
Widget:Map floors/data
Widget:Map floors/loader
Widget:Map floors/loaderLocalTiles
Widget:Map floors/script
Widget:Map floors/script-babel
Widget:Map floors/style
Widget:Map floors/test
Widget:Map table

This widget has no parameters.

Widget:News
options
Optional. A JSON object with any of the following keys with a value:
  • count The quantity of news to display at most. Defaults to 10.
  • min The minimum number of news to show regardless of the reference elements height. Defaults to 3.
  • add An array of objects each with the keys date, link, text and optionally sticky to include in the resulting list.
  • hide An array of titles to exlude from the resulting list.
Widget:No interwiki search
Widget:Prettyprint
Widget:Project CSS documentation compiler
  • None
Widget:Recipe drill
ingredients
A string comprised of: the quantity; the item id; the item name
Specify different recipes on a newline.
Widget:Rollback robot
Widget:Select on click

This widget has no parameters.

Widget:Skyscale Rider
achievementid
Optional. If specified, specify a single valid Skyscale achievement ID. If omitted, displays all Skyscale regions.
zoom
Defaults to 6.
width
height
Defaults to 800.
Widget:SoundCloud
mode
id
width
height
color
visual
Widget:Table row cycle
classes
Optional. ',' separated. A list of css classes assigned to table rows that should be made part of a cycle.
titles
Optional. ';' separated. A list of titles that will be set on the first cell of each row to indicate what the next row in the cycle will show when clicked.
Widget:Test
wikiparameter1
wikiparameter1 description
Widget:Test map
width
height
The widths and heights to use for the map frame. Do not specify the "px" suffix.
notiles
Optional. If set equal to "y", no tiles will be displayed.
continent
The continent for the tiles to be rendered for. Typically 1 for core tyria. I.e. the blue bit https://tiles.guildwars2.com/2/3/3/6/3.jpg
floor
The floor for the tiles to be rendered for. Typically 0-3 for most of tyria. I.e. the purple bit https://tiles.guildwars2.com/2/3/3/6/3.jpg
zoom
The initial zoom. Typically 6. I.e. the green bit https://tiles.guildwars2.com/2/3/3/6/3.jpg
center
An array of coordinates to center the map around upon initial page load.
markers
The data to display, specified as a JSON formatted object.
The first level keys are used as map layers.
The first level values are an array of marker objects.
The second level marker objects can use the following fields: coords, name, icon.
Widget:Time based highlighting
class
The name of the css class on the elements that the widget should sometimes highlight. Defaults to "highlighterwidget".
css
The style to be applied to the element when the time is within the starttime and endtime. Defaults to a yellow background.
Widget:Tp total calculate

This widget has no parameters.

Widget:Twitter
Widget:Version history subpage robot
Widget:What to buy

This widget has no parameters.

Widget:Which profession
Widget:Wikify patch notes

This widget has no parameters.

Widget:Wikipopup extended
Widget:Wizard's vault objectives

All parameters are optional.

style
Adds additional html styles to the wrapper div. display:inline-block; vertical-align:top; etc
category
Limits the visible objectives to those categories specified. Daily, Weekly, or Special. Can display more than one category by separating multiple filters with a comma.
track
Limits the visible objectives to those tracks specified. PvE, PvP, or WvW. Can display more than one track by separating multiple filters with a comma.
Widget:World boss timer
Widget:World population
Widget:WvW teams
id
The element to append the resulting tables to. Defaults to "wvw-teams"
beta
Whether to show beta teams instead of the live worlds. Defaults to "y". Set to "n" to display non-beta worlds. Set to "all" to show all original worlds as well as the beta team names. Set to "parent" to show beta worlds with a parent original world without their old link server.
lang
Optional. Language code. Any of en (default), de, es or fr
Widget:Zone map v3

All parameters are optional.

map
Optional. A comma separated list of map ids to display. If not specified, all maps will be displayed.
continent
Optional. Defaults to 1, which will show Tyria. If set to 2, displays The Mists.
floor
Optional. Defaults to 1.
markers
Optional. An array of javascript object key-value pairs describing the markers. See the example code below, but supported key-value pairs include:
  • coord (Required. Either a pair of coordinates, or an array of coordinate pairs)
  • name (Required. Hover title and popup name)
  • link (Optional. Wiki link)
  • text (Optional. Free text description)
  • id (Optional. Numerical ID. If the marker type is set to "label", this will be what is shown on the map)
  • icon (Optional. Name of a wiki file to use as an icon instead of the default Personal waypoint blue star. Don't include the "File:" prefix, but do include the ".png" suffix)
  • type (Optional, but defaults to marker. Valid options include: rect (using the coordinates as opposite corners), poly (a polygon where all points are joined), antpoly (same but with moving ants), line (join each of the points), antline (same but with moving ants), label (text), and marker (single markers))
  • color (Optional. Defaults to green, "rgba(0,205,0,0.8)")
  • weight (Optional. Defaults to 5)
  • dataId (Optional. For marker icons, this is the value of the data-id attribute)
fit
Optional. The type of zoom fitting to be performed upon initial load; defaults to "zone". May be specified as "markers" to zoom upon load to fit (with a bit of padding) around all the custom markers, or "sectors" to fit around the sectors.
size
Optional. There are two options, which reflect names of CSS classes; "normal-map" (default) and "huge-map".
layers
Optional. Comma separated list of layers to show upon map initialization. Options: continent_rect, zone_rect, zone_names, sectors, sector_names, waypoint, tasks, landmark (note this is the API internal name for what the wiki calls points of interest), points_of_interest (note this is the API internal name for what the wiki calls landmarks/dungeons/fractals/strikes etc), skill_challenges, vista, adventures, mastery_points, jumping_puzzles, misc, custom
debug
Optional. If set to y, prints certain variables to the browser's developer console.
cache
Optional. If set to n, disables caching of the output.js query.