Template:Param

From Kolmafia
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