Template:Param

From Kolmafia
Revision as of 15:41, 28 February 2010 by imported>StDoodle
Jump to navigation Jump to search

Using Param

This is the template for a parameter; first supplied value is parameter type, second is parameter description.

Note that the second parameter, description, is optional. (If used, it will be displayed with automatic styling via Template:Pspan.)

To specify that the return dataype is an aggregate, supply an additional argument of "ag=SOMETHING" where SOMETHING can be any string at all.

Examples

{{Param|int|count}}

Produces:  int count 

{{Param|string}}

Produces:  string 

{{Param|int [string]|map|ag=t}}

Produces: int [string] map