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/paramkey to User:Zeal/Sandbox/Templates/paramkey over redirect: Automatically moved page while renaming the user "Zealvurte" to "Zeal")
 
Line 1: Line 1:
  +
<onlyinclude>
−
#REDIRECT [[Warchief]]
 
  +
{{contentbox|Parameter Key
  +
|desc=[http://www.wowwiki.com/index.php?title=User:Zeal/Sandbox/Templates/paramkey&action=edit edit]
  +
|border=1px solid #222; border-right-color: #444; border-bottom-color: #444
  +
|hcol=#6AF
  +
|hbgcol=#262626
  +
|bgcol=#2A2A2A
  +
|hline=1px solid #333
  +
|padding=0.2em;
  +
|content=
  +
<div style="font-size: 0.90em;">
  +
;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 ''<code>&lt;name&gt;=&lt;value&gt;</code>''. 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.
  +
}}</onlyinclude>
  +
[[Category:User:Zealvurte|Sandbox, Template, Help, Key, Parameter]][[Category:User:Zealvurte/Sandbox|Template, Help, Key, Parameter]][[Category:User:Zealvurte/Sandbox/Templates|Help, Key, Parameter]]

Revision as of 22:03, 27 October 2010

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.