Template:Type: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 43: Line 43:


==Examples==
==Examples==
Note: Use [ ([) and ] (]) to escape brackets in the wiki.
Note: Use <code>&amp;#91;</code> (<code>[</code>) and <code>&amp;#93;</code> (<code>]</code>) to escape brackets in the wiki.


===Recognized Types===
===Recognized Types===

Revision as of 21:30, 18 December 2020


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

Note: Use &#91; ([) and &#93; (]) 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 [monster]}}
*{{type|{{type|string}} [{{type|int}}, {{type|item}}]}}