틀:Exclusive icons
둘러보기로 이동
검색으로 이동
Documentation The documentation below is transcluded from 틀:Exclusive icons/doc. (edit | history)
[purge]
Displays the icons indicating the platforms for which an entity is available, "eicons" (from "exclusive icons") in short. For displaying a link with eicons, use {{exclusive icon link}}.
You can use {{eicons/options}} to change the default values of some parameters. See the relevant section below for details.
Usage
{{ eicons | <entity name> | small = 0/1 | invert = 0/1 | not = <entity name> | <platform parameters> = 0/1 }}
틀:Templatedata
Examples
{{eicons| 1.4.0.1 }} |
→ (DCMS) |
{{eicons| 1.3.0.1 | not = 1.4.0.1 }} |
→ (T) |
{{eicons| Suspicious Looking Egg }} |
→ (3) |
{{eicons| Suspicious Looking Egg | invert = 1 }} |
→ (DCOMST) |
{{eicons| Suspicious Looking Egg | invert = 1 | small = 1 }} |
→ (DCOMST), small |
{{eicons| Soul of Blight }} |
→ (O3) |
{{eicons| Suspicious Looking Egg | small = 1 }} |
→ (3), small |
{{eicons| Easter }} |
→ (3) |
{{eicons| Underground Desert }} |
→ (DCMST) |
{{eicons| Flinx Staff }} |
→ (D) |
{{eicons| Gold Butterfly }} |
→ (DCMST) |
{{eicons| Gold Butterfly | not = Flinx Staff }} |
→ (CMST) |
{{eicons| Gold Butterfly | invert = 1 | not = Crystal Work Bench }} |
→ (O3), not DO3 because is evaluated before
|
{{eicons| Gold Butterfly | invert = 1 | not = Suspicious Looking Egg }} |
→ (O) |
{{eicons| 1.3.0.1 | not = 1.4.0.1 }} |
→ (T) |
{{#iferror:{{eicons| Work Bench }}}} |
→ (nothing, since Work Bench is on all versions, so it will output an error and is catched by {{#iferror:}}) |
{{eicons| Work Bench | mobile = 1 }} |
→ (M) |
{{eicons| Work Bench | old-gen = 1 | 3ds = 1 }} |
→ (O3) |
{{eicons| Martian Work Bench | desktop = 0 | console = 0 }} |
→ (MST) |
{{eicons| desktop = 1 | console = 1 | old-gen = 1 | mobile = 1 }} |
→ (DCOM) |
{{eicons| japan = 1 }} |
→ (J) |
{{eicons| japan = 1 | small = y}} |
→ (J) |
{{item|Stone Block}} {{eicons| desktop = 1 | console = 1 | old-gen = 1 | mobile = 1 }} |
→ Stone Block |
Change default options
This template supports options through {{options}} template. All valid options are listed below, see {{options}} for usage and other infomation.
See Template:eicons/initOptions for the initial options setting of this template.
Name | Alias | Initial Value | Value Mapping[1] | Note |
---|---|---|---|---|
small | (empty) | yes → y on → y n → (empty) no → (empty) off → (empty) |
- ↑ Values with mapping will be stored and loaded as mapped value. Other values without mapping will be stored and loaded as-is.
Examples
Result | Code | Note |
---|---|---|
{{eicons|Hallowed Key Mold}} |
Default | |
small = ; | small = {{options/get|eicons|small}}; |
Get current setting |
{{options/set|eicons|small=y}} |
Turn on small icons | |
small = y; | small = {{options/get|eicons|small}}; |
Get current setting |
{{options/reset|eicons}} |
Reset all options |
분류:
- Pages using DynamicPageList3 dplvar parser function
- Pages using DynamicPageList3 parser function
- Pages using DynamicPageList3 dplreplace parser function
- 구식 enclose 속성을 사용하는 문서
- Templates using Lua
- I18n-ready templates
- Icon templates
- Shortcut templates
- Exclusive templates