Terraria Wiki
Terraria Wiki
(Überarbeitet. // Revamped.)
K (Rye Greenwood verschob die Seite Vorlage:Exklusiv-Icons nach Vorlage:Exclusive icons und überschrieb dabei eine Weiterleitung: Standard English name.)

Version vom 17. Mai 2019, 00:30 Uhr

Diese Vorlage verwendet Lua.
Diese Vorlage verwendet Modul:Exclusive, ein Skript, das in der Programmiersprache Lua verfasst wurde. Siehe Terraria Wiki:Lua, um mehr über Lua zu erfahren.
Diese Vorlage ist synchronisiert-lokalisiert, d. h. sie ist mit der Version des englischen Terraria Wikis identisch. Änderungen an dieser Vorlage sollten zunächst dort vorgenommen werden.
Template-info Dokumentation Die folgende Dokumentation stammt von der Seite Vorlage:Exclusive icons/Dokumentation. (bearbeiten | Versionsgeschichte)
Siehe auch die englische Vorlagenseite: Template:Exclusive icons. Sie enthält möglicherweise umfassendere oder aktuellere Informationen.

Zeigt anklickbare Symbole für die Plattformen, auf denen die Entität verfügbar ist. Um einen Link mit exklusiven Icons anzuzeigen, kann {{exclusive icon link}} verwendet werden.

{{eicons/options}} verändert die Standardwerte für bestimmte Parameter.

Verwendung

{{ eicons | <Name der Entität> | small = y/yes/j/ja | link = y/yes/j/ja | invert = y/yes/j/ja | not = <Name der Entität> | <Plattform-Parameter> }}

1. unbenannter Parameter
Name der Entität (Gegenstand, Gegner, Event, Biom, Patchnummer, ...). Deutsche Begriffe, die hier eingegeben werden, müssen im Wörterbuch vorhanden sein.
small
Zeigt alle Symbole in kleinerer Version an.
link
Verlinkt Plattform-Symbole zu ihren entsprechenden Versionsseiten. Aus Performancegründen sind sie standardmäßig nicht verlinkt.
invert
Zeigt die gegenteiligen Exklusivitätssymbole an. Wichtig: Der Sensor der japanischen Konsolenversion wird damit deaktiviert.
not
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.
<Plattform-Parameter>
Optionale, manuelle Überschreibungsoptionen. Wichtig: Diese werden nach invert und not evaluiert. Die folgenden Parameter stehen zur Verfügung:
  • desktop / dsk
  • console / cns
  • old-gen / oldgen / old
  • mobile / mbl
  • 3DS / 3ds
They can be set to either yes/y or no/n.

Beispiele

{{eicons| 1.4.0.1 }}
Invalid EICONS input!
(DM)
{{eicons| 1.3.0.1 | not = 1.4.0.1 }}
Invalid EICONS input!
(C)
{{eicons| Suspicious Looking Egg }}
Invalid EICONS input!
(3)
{{eicons| Suspicious Looking Egg | invert = 1 }}
Invalid EICONS input!
(DCOM)
{{eicons| Soul of Blight | link = 1 }}
Invalid EICONS input!
(O3) with link
{{eicons| Suspicious Looking Egg | small = 1 }}
Invalid EICONS input!
(3), small
{{eicons| Easter }}
Invalid EICONS input!
(3)
{{eicons| Underground Desert }}
Invalid EICONS input!
(DCM)
{{eicons| Flinx Staff }}
Invalid EICONS input!
(D)
{{eicons| Gold Butterfly }}
Invalid EICONS input!
(DCM)
{{eicons| Gold Butterfly | not = Flinx Staff }}
Invalid EICONS input!
(CM)
{{eicons| Gold Butterfly | invert = 1 | not = Crystal Work Bench }}
Invalid EICONS input!
(O3), not DO3 because invert is evaluated before not
{{eicons| Gold Butterfly | invert = 1 | not = Suspicious Looking Egg }}
Invalid EICONS input!
(O)
{{eicons| 1.3.0.1 | not = 1.4.0.1 }}
Invalid EICONS input!
(C)
{{eicons| Work Bench }}
Invalid EICONS input!
(nothing, since Work Bench is on all versions)
{{eicons| Work Bench | mobile = 1 }}
Invalid EICONS input!
(M)
{{eicons| Work Bench | old-gen = 1 | 3ds = 1 }}
Invalid EICONS input!
(O3)
{{eicons| Martian Work Bench | desktop = 0 | console = 0 }}
Invalid EICONS input!
(M)
{{eicons| desktop = 1 | console = 1 | old-gen = 1 | mobile = 1 }}
Invalid EICONS input!
(DCOM)
{{eicons| japan = 1 }}
Invalid EICONS input!
(J)
{{item|Stone Block}} {{eicons| desktop = 1 | console = 1 | old-gen = 1 | mobile = 1 }} SteinblockSteinblock
Invalid EICONS input!

Standardoptionen ändern

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.

NameAliasInitial ValueValue Mapping[1]Note
small(empty)yesy
ony
n(empty)
no(empty)
off(empty)
link(empty)yesy
ony
n(empty)
no(empty)
off(empty)
  1. 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
Invalid EICONS input!
{{eicons|Hallowed Key Mold}} Standard
small = ; small = {{options/get|eicons|small}}; Aktuelle Einstellungen erhalten
Invalid EICONS input!
{{options/set|eicons|small=y}}
{{eicons|Hallowed Key Mold}}
Kleine Icons einschalten
small = y; small = {{options/get|eicons|small}}; Aktuelle Einstellungen erhalten
Invalid EICONS input!
{{options/reset|eicons}}
{{eicons|Hallowed Key Mold}}
Alle Optionen zurücksetzen