Difference between revisions of "Template:Type"

From Kolmafia
Jump to navigation Jump to search
(Add Category:Basic Templates)
 
Line 106: Line 106:
 
*{{type|boolean {{opt|monster}}}}
 
*{{type|boolean {{opt|monster}}}}
 
*{{type|{{type|string}} {{opt|{{type|int}}, {{type|item}}}}}}
 
*{{type|{{type|string}} {{opt|{{type|int}}, {{type|item}}}}}}
 +
 +
[[Category:Basic Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:10, 22 December 2020


Converts an ASH data type name to a link.

Template parameters

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

Note: Use {{opt|type name}} to escape brackets in the wiki.

Recognized Types

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

Unrecognized Types

*{{type|boolean {{opt|monster}}}}
*{{type|{{type|string}} {{opt|{{type|int}}, {{type|item}}}}}}