Template:Type

From Kolmafia
Revision as of 21:27, 18 December 2020 by Philmasterplus (talk | contribs) (Don't bother with complex types...for now)
Jump to navigation Jump to search


Converts an ASH data type name to a link.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Data type1

Any valid type keyword, such as "string", "void", "equipment", or a generic type ("aggregate", "composite"). Any unrecognized type string is returned as-is.

Example
int
Linerequired

Examples

Recognized Types

*{{User:Philmasterplus/Type|void}}
*{{User:Philmasterplus/Type|boolean}}
*{{User:Philmasterplus/Type|int}}
*{{User:Philmasterplus/Type|float}}
*{{User:Philmasterplus/Type|string}}
*{{User:Philmasterplus/Type|buffer}}
*{{User:Philmasterplus/Type|bounty}}
*{{User:Philmasterplus/Type|class}}
*{{User:Philmasterplus/Type|coinmaster}}
*{{User:Philmasterplus/Type|effect}}
*{{User:Philmasterplus/Type|element}}
*{{User:Philmasterplus/Type|familiar}}
*{{User:Philmasterplus/Type|item}}
*{{User:Philmasterplus/Type|location}}
*{{User:Philmasterplus/Type|monster}}
*{{User:Philmasterplus/Type|phylum}}
*{{User:Philmasterplus/Type|servant}}
*{{User:Philmasterplus/Type|skill}}
*{{User:Philmasterplus/Type|slot}}
*{{User:Philmasterplus/Type|stat}}
*{{User:Philmasterplus/Type|thrall}}
*{{User:Philmasterplus/Type|matcher}}
*{{User:Philmasterplus/Type|record}}
*{{User:Philmasterplus/Type|aggregate}}

Unrecognized Types

*{{User:Philmasterplus/Type|boolean [monster]}}
*{{User:Philmasterplus/Type|{{User:Philmasterplus/Type|string}} [{{User:Philmasterplus/Type|int}}, {{User:Philmasterplus/Type|item}}]}}