Predefinição:Exclusive icons/doc
Saltar para a navegação
Saltar para a pesquisa
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 }}
Parâmetro | Descrição | Tipo | Estado | |
---|---|---|---|---|
Entity name | 1 | Name of the entity (item, NPC, event, biome, patch number, etc.) for which the icons are to be displayed. | Linha | recomendado |
Smaller icons | small | Reduces the size of the icons. Useful when space is an issue, e.g. in infoboxes.
| Booliano | opcional |
Invert exclusivity | invert | Inverts the exclusivity, i.e. displays the opposite eicons. Note that this disables the Japanese Console version sensor.
| Booliano | opcional |
Subtract exclusivity | not pagenot | Name of an entity whose eicons are to be subtracted from the main eicons. Note that this is evaluated after $invert , i.e. the eicons of the main entity are inverted first, and then the eicons of the entity from this parameter are subtracted from that. | Linha | opcional |
Desktop override | desktop dsk | Booliano | opcional |
|
Console override | console cns | Booliano | opcional |
|
Old-gen override | old-gen oldgen old | Booliano | opcional |
|
Mobile override | mobile mbl | Booliano | opcional |
|
3DS override | 3DS 3ds | Booliano | opcional |
|
Japan override | japan jas | Booliano | opcional |
Esta predefinição prefere a formatação em linha dos parâmetros.
Examples
{{eicons| 1.4.0.1 }} |
→ (Versões para Computador, Console e Celular) (DM) |
{{eicons| Suspicious Looking Egg }} |
→ (Versão para 3DS) (3) |
{{eicons| Suspicious Looking Egg | invert = 1 }} |
→ (Versões para Computador, Console, Old-gen console e Celular) (DCOM) |
{{eicons| Soul of Blight } |
→ (Versões para Old-gen console e 3DS) (O3) |
{{eicons| Suspicious Looking Egg | small = 1 }} |
→ (Versão para 3DS) (3), small |
{{eicons| Easter }} |
→ (Versão para 3DS) (3) |
{{eicons| Underground Desert }} |
→ (Versões para Computador, Console e Celular) (DCM) |
{{eicons| Flinx Staff }} |
→ (Versões para Computador, Console e Celular) (D) |
{{eicons| Gold Butterfly }} |
→ (Versões para Computador, Console e Celular) (DCM) |
{{eicons| Gold Butterfly | invert = 1 | not = Crystal Work Bench }} |
→ (Versões para Old-gen console e 3DS) (O3), not DO3 because is evaluated before
|
{{eicons| Gold Butterfly | invert = 1 | not = Suspicious Looking Egg }} |
→ (Versão para Old-gen console) (O) |
{{#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 }} |
→ (Versão para Celular) (M) |
{{eicons| Work Bench | old-gen = 1 | 3ds = 1 }} |
→ (Versões para Old-gen console e 3DS) (O3) |
{{eicons| Martian Work Bench | desktop = 0 | console = 0 }} |
→ (Versão para Celular) (M) |
{{eicons| desktop = 1 | console = 1 | old-gen = 1 | mobile = 1 }} |
→ (Versões para Computador, Console, Old-gen console e Celular) (DCOM) |
{{eicons| japan = 1 }} |
→ (J) |
{{eicons| japan = 1 | small = y}} |
→ (J) |
{{item|Stone Block}} {{eicons| desktop = 1 | console = 1 | old-gen = 1 | mobile = 1 }} |
→ Bloco de Pedra (Versões para Computador, Console, Old-gen console e Celular) |
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 |
---|---|---|
(Versões para Old-gen console e 3DS) | {{eicons|Hallowed Key Mold}} |
Default |
small = ; | small = {{options/get|eicons|small}}; |
Get current setting |
(Versões para Old-gen console e 3DS) | {{options/set|eicons|small=y}} |
Turn on small icons |
small = y; | small = {{options/get|eicons|small}}; |
Get current setting |
(Versões para Old-gen console e 3DS) | {{options/reset|eicons}} |
Reset all options |