Template:Etext/doc
This shortcut template displays text with {{exclusive icons}}. It is roughly equivalent to {{nowrap| text {{eicons|...}} }}
or {{nowrap| {{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]]}} /
|
In (Desktop, Console and Mobile versions)the Desert / (Old-gen console version)the Snow biome, ... |
{{etext|{{chance|1/4}}|e=Dyes|not=1.4.0.1}}
|
1/4 (25%)(Old-gen console version) |
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}} |
1/4 (25%)(Old-gen console version) |