Шаблон:Etext
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]]}} /
|
In (Видання для ПК, консолей та мобільних пристроїв)the Desert / (Видання для консолей старого покоління та 3DS)the Snow biome, ... |
{{etext|{{chance|1/4}}|e=Dyes|not=1.4.0.1}}
|
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}} |
1/4 (25%)(Видання для консолей старого покоління) |
- Шаблони ярликів