Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
m (Redirect fix, replaced: #Redirect [[ → #REDIRECT [[)
 
m (moved User:Zealvurte/Sandbox/Templates/tkey to User:Zeal/Sandbox/Templates/tkey over redirect: Automatically moved page while renaming the user "Zealvurte" to "Zeal")
 
Line 1: Line 1:
  +
{{User:Zealvurte/Sandbox/Templates/valuekey}}
#REDIRECT [[Regeneration]]
 
  +
{{User:Zealvurte/Sandbox/Templates/paramkey}}
  +
[[Category:User:Zealvurte|Sandbox, Template, Help, Key]][[Category:User:Zealvurte/Sandbox|Template, Help, Key]][[Category:User:Zealvurte/Sandbox/Templates|Help, Key]]

Revision as of 22:03, 27 October 2010

edit

Value Key

Non-Null
A supplied value of any type that is not a Null value.
Any
A value of any type that can be also be a Null value.
Null
An empty value with not type supplied by || or |<name>=| for Unamed parameters or Named parameters respectively.
String
A Non-Null Value that contains alphanumeric characters.
Name
A String value that represents an mediawiki article name.
URI
A String value that represents a Universal Resource Indicator.
Switch
A String value that matches a fixed set of String values.
Number
A Non-Null Value that contains only numerical characters.
Unit
A String value that represents the unit of measurement for a corresponding Number value (usually combined into a single value).
{{*}}
A Non-Null value that specifies a template that is injected into the template.
Delimited *s
Specified values types that are delimited (seperated) by a specified String value.


edit

Parameter Key

Unamed
Values are given a numbered name in the order they are supplied. They must match the order required by the template, though the ordering is not effected by Named parameters. Because Unamed parameters are converted to Named parameters in a template, they are always displayed as Unamed parameters in syntax examples but written as Named parameters in parameter documentation using their order number as a name.
Named
Values must be supplied as named pairs with their respective names in the format <name>=<value>. They may be in any order. Named parameters are always written with an equals sign (=) in documenation.
Flag
A Non-Null value must be supplied for the parameter to be set as true.
Null-Flag
An Any value must be supplied for the parameter to be set as true.
Switch
The String value must match against a specified String value corresponding to an output type in order to display correctly.
Flagged Switch
A Non-Null value must be supplied for the parameter to be set as true. The value must match against one or more corresponding fixed output names in order to display correctly.
Expanded Flag
A Non-Null value must be supplied for the parameter to be set as true. The value supplied will be dispalyed in the output accordingly.
Null-Expanded Flag
An Any value must be supplied for the parameter to be set as true. Any Non-Null value supplied will be dispalyed in the output accordingly.