Template:Parameter check

From Guild Wars Wiki 中文站
Jump to navigationJump to search

A DPL lookup template to check parameter values used in templates. This template should not be used permanently anywhere.

Usage

{{parameter check|<template name>|<parameter name1:parameter name 2>|<result offset>|<max number of results>}}

Parameters

1
Required. The template name. Do not include template prefix.
2
Optional. The parameter name. Defaults to unnamed parameter "1". Separate multiple parameters with a colon, e.g. "1:2" would include both parameters 1 and 2.
3
Optional. The results offset. Defaults to 0.
4
Optional. The number of results to display. Defaults to 500.
category
Optional. The category name.
notcategory
Optional. The category name to exclude. Use carefully.
title
Optional. To check a specific page.
namespace
Optional. Defaults to main namespace.
class
Optional. Adds additional classes to the table.
debug
Optional. Useful when results contain "+" signs which breaks tables. Set to a numerical value between 1 and 6.

Example

{{parameter check|Skill infobox|energy:activation:overcast|0|25|category=Air Magic skills}}
Page energy activation overcast
Air Attunement 10 1
Arc Lightning 5 01.51½
Blinding Flash 10 0.75¾
Blinding Surge 10 0.75¾
Chain Lightning 10 2 5
Chilling Winds 5 1
Conjure Lightning 10 1
Enervating Charge 10 1
Gale 10 1 10
Glimmering Mark 10 1
Glyph of Swiftness 5 1
Gust 10 0.75¾
Invoke Lightning 10 1 5
Lightning Bolt 5 1
Lightning Hammer 25 2
Lightning Hammer (PvP) 25 2
Lightning Javelin 5 1
Lightning Orb 10 2
Lightning Strike 5 1
Lightning Surge 10 1
Lightning Touch 5 0.75¾
Mind Shock 5 1 5
Mind Shock (PvP) 5 1 10
Ride the Lightning 5 1 5
Ride the Lightning (PvP) 5 1 5