:Etext/doc

Terraria Wiki
둘러보기로 이동 검색으로 이동

This shortcut template displays text with {{exclusive icons}}. It is roughly equivalent to {{nowrap| text {{#iferror:{{eicons|...}} }} }} or {{nowrap| {{#iferror:{{eicons|...}} }} text }}, however, the whitespace between the text and the icons is more elegant.

Usage

It accepts all named parameters of {{eicons}}, in addition to the following parameters:

{{ etext | <text before icons> | t/after = <text after icons> | e/eicons = <entity name for {{eicons}}> }}

First unnamed parameter or before

The text before the exclusive icons. This is usually used outside of normal article text, e.g. for short numbers in infoboxes or tables, commonly together with |small=y.

t or after

The text after the exclusive icons. This is usually used in normal article text.

e or eicons

Equivalent to the first unnamed parameter of {{eicons}}.

Examples

Code Result
In {{etext|e=1.4.3.3|t=the [[Desert]]}} /

{{etext|e=1.4.3.3|invert=y|3ds=no|t=the [[Snow biome]]}}, ...

In the Desert / the Snow biome, ...
{{etext|{{chance|1/4}}|e=Dyes|not=1.4.0.1}} 25*1/4 (25%)

Options

The {{options}} setting of {{eicons}} will also affect this template. For example:

Code Result
{{options/set|eicons|small=y}}
{{etext|{{chance|1/4}}|e=Dyes|not=1.4.0.1}}
{{options/reset|eicons}}
25*1/4 (25%)