Template:Param

From Kolmafia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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