Terraria Wiki
Registrieren
Advertisement
Terraria Wiki
Diese Vorlage verwendet Lua.
Diese Vorlage verwendet Modul:Item, 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.

Diese Vorlage fügt Zeilen zur Tabelle „Imageinfo“ hinzu, die von der Vorlage Image definiert wird. Tabelle ansehen.

Template-info Dokumentation Die folgende Dokumentation stammt von der Seite Vorlage:Item/Dokumentation. (bearbeiten | Versionsgeschichte)
Siehe auch die englische Vorlagenseite: Template:Item. Sie enthält möglicherweise umfassendere oder aktuellere Informationen.

Eine "All-in-one"-Vorlage, um eine Entität des Spiels (nicht nur Gegenstände, auch NPCs, Statuseffekte etc.) visuell ansprechend darzustellen.

Standardmäßig wird ein Link zur Entität mit Bild davor angezeigt.

Benutzung (Usage)

In dieser Dokumentation sind alle Parameter anklickbar! You can click every parameter in this documentation!

Alle Parameter sind optional. Allerdings sind einige Kombinationen ungültig und können Fehler hervorrufen, bspw. {{item|icons=no|mode=image}}.

Siehe unten für Beispiele und weitere Details.


unbenannter Parameter 1 (unnamed parameter 1)

Deutscher Name der Entität. Sollte es für diese Entität noch keinen Eintrag im Wörterbuch geben, ist hier der englische Originalname zu verwenden!

German item name. If there is no dictionary entry, use this for the English name!

Beispielverwendung • Example


unbenannter Parameter 2 (unnamed parameter 2)

Anzeigetext. Kann bspw. für grammatikalisch erforderliche Anpassungen verwendet werden. Wenn es für die Entität keinen Wörterbuch-Eintrag gibt, ist dieser Parameter für gewöhnlich der deutsche Name. In diesem Fall fungiert er auch als Linkziel (sofern link nicht spezifiziert ist).

Displayed text, e.g. for grammar adaptations. If there is no dictionary entry for the entity, this parameter is usually the German name. In that case it also serves as link target (as long as link is not specified).

Beispielverwendung • Example


mode

Anzeigemodus. Mögliche Werte:

Display mode. It can be:

Bevorzugt
Preferred
Alternativ
Alternative
Auswirkung
Result
image imageonly
onlyimage
Es wird ausschließlich das Bild angezeigt. Only the image will be displayed.
text noimage Es wird kein Bild angezeigt. No image will be displayed.
table 2-cell Es werden zwei Zellen für Verwendung innerhalb einer Tabelle angezeigt. Two cells for table will be displayed.
Folgender Code erreicht in etwa das gleiche Ergebnis: {{item|mode=image|itemname}} || {{item|mode=text|itemname}}

Für die beste Performance sollten immer die bevorzugten Werte verwendet werden. Use preferred values as much as possible to get the best performance.

Beispielverwendung • Example


image

Dateiname des Bildes, ohne Klammern und Datei:, allerdings mit Dateiendung! Mehrere Bilder können mit Schrägstrichen voneinander getrennt angegeben werden.

Image filename, no brackets nor File:, with file extension, however! You can specify multiple images, just seperate filenames with slashes.

Beispielverwendung • Example


size

Benutzerdefinierte Dateigröße (siehe "Extended image syntax" für Details (engl.)). Mehrere Größen können mit Schrägstrichen voneinander getrennt angegeben werden.

Custom graphic size (Read Extended image syntax for details). You can specify multiple sizes, just seperate them with slashes.

Wenn mehrere Bilder angegeben sind:

If multiple images are specified:

  • Wenn nur eine Größe angegeben ist, wird sie auf alle angewendet. If only one size is specified, it will apply to all images.
  • Wenn weniger Größen als Bilder angegeben sind, werden die überschüssigen Bilder mit Standardgröße angezeigt (als hätten sie kein size). If less values for size than images are specified, extra images will be displayed as if they don't have any size argument.
  • Wenn mehr Größen als Bilder angegeben sind, werden die überschüssigen Größen ignoriert. If more values for size than images are specified, extra values for size will simply be ignored.

Bilder können mit *<Faktor> skaliert werden, z.B.: 24x24px*0.5, 24px*0.5/24px*2, etc. Siehe auch scale unten.

You can append a *<factor> to scale the image, e.g.: 24x24px*0.5, 24px*0.5/24px*2, etc. See also scale below.

Beispielverwendung • Example


scale

Skalierungsfaktor des Bilds bzw. der Bilder; basiert auf size, d.h. |size=32x32px|scale=0.5 liefert das gleiche Ergebnis wie |size=16x16px und |size=32x32px*0.5|scale=0.5 liefert das gleiche Ergebnis wie |size=8x8px.

Scaling factor of the image(s), based on size and scale, e.g. |size=32x32px|scale=0.5 is equal to |size=16x16px and |size=32x32px*0.5|scale=0.5 is equal to |size=8x8px.

Beispielverwendung • Example


maxsize

Maximalgröße aller Bilder. Verwendet die Standardsyntax von Bildern, z.B. 32px/24x24px. Wird nach scale berechnet.

Image size limit. Uses standard image size syntax, e.g. 32px/24x24px. Will be applied after scale.

Beispielverwendung • Example


ext

Dateiendung des Bildes. Standard ist png. Hat nur Auswirkungen, wenn image nicht spezifiziert ist.

Image file extension, default is png. Only valid when there is no image input.

Beispielverwendung • Example


link

Linkziel. Standardmäßig <unbenannter Parameter 1>.

Link target. <unnamed parameter 1> by default.

Wenn für die Entität kein Eintrag im Wörterbuch vorliegt und <unbenannter Parameter 2> eine Grammatikanpassung enthält, sollte dieser Parameter verwendet werden.

Should be used if there is no dictionary entry for the entity, and <unnamed parameter 2> just contains a grammar adaptation.

Beispielverwendung • Example


nolink

Unterdrückt Verlinkung von Bild und Text. Ist nur gültig, wenn link nicht spezifiziert ist.

Suppresses links. Only valid when link is not specified.

Beispielverwendung • Example


anchor

Erstellt einen Anker für <unbenannter Parameter 1>, falls anchor=y/yes/j/ja. Andernfalls ist der eingegebene Wert der Anker.

Creates an anchor for <unnamed parameter 1>, if anchor=y/yes/j/ja. Otherwise, the anchor target is the inserted parameter value.

Beispielverwendung • Example


note

Zusätzlicher Hinweistext. Wird standardmäßig als kleiner grauer Text zwischen Name der Entität und den Plattform-Icons angezeigt.

Extra note text. By default, it will be displayed as smaller and gray text between item name and platform icons.

Beispielverwendung • Example


note2

Weiterer Hinweistext. Wird standardmäßig als grauer Text in normaler Größe in eigener Zeile angezeigt.

Another note text. By default, it will be displayed as gray text in normal size and always take a single line.

Beispielverwendung • Example


wrap

Zeigt Plattform-Icons und/oder note in neuer Zeile an. Ist nur gültig, wenn id oder note2 nicht spezifiziert sind.

Platform icons and/or note will be displayed in new line. Only valid when id or note2 are not specified.

Beispielverwendung • Example


icons

n/no/nein unterdrückt die Plattform-Icons. Standard yes.

n/no/neinsuppresses the platform icons. Default yes.

Beispielverwendung • Example


id

Zahl, zeigt ID-Information der Entität an. Typ der ID wird mit type geändert.

Number, will display ID infomation. Type of the ID can be changed with type.

Beispielverwendung • Example


type

Typ der ID. Mögliche Werte:

Type of the ID. Possible input values:

Wert (Value) item

Standard. (Default.)

tile wall npc mount buff debuff projectile armor
Auswirkung (Result) Interne Gegenstands-ID: id Interne Feld-ID: id Interne Wand-ID: id Interne NPC-ID: id Interne Reittier-ID: id Interne Statuseffekt-ID: id Interne Statuseffekt-ID: id Interne Projektil-ID: id Interne Rüstungs-ID: id

Beispielverwendung • Example


small

Reduziert die Größe der Plattform-Icons. Nützlich, wenn wenig Platz vorhanden ist.

Reduces the size of the platform icons. Useful when space is an issue.

Beispielverwendung • Example


class

Benutzerdefinierte CSS-Klasse/n. Es gibt einige vordefinierte Klassen für bestimmte Formatierungszwecke, aber eigene können auch hinzugefügt werden.

Custom CSS class/es. There're some predefined classes for certain formatting purposes. You can add yours if needed.

Beispielverwendung • Example


css / style

Benutzerdefinierte CSS-"style"-Regeln.

Custom CSS "style" rules.

Beispielverwendung • Example


Beispiele (Examples)

Grundlegend (Basic)

Ergebnis

Result

Code Bemerkung

Note

HolzHolz {{item|Wood}} Minimalverwendung. Minimal usage.
HolzHolz {{item|Holz}} Minimalverwendung. "Holz" hat einen Eintrag im Wörterbuch. Minimal usage. "Holz" ("Wood") has an entry in the dictionary.
des HolzHolzes des {{item|Holz|Holzes}} Grammatikalische Anpassung. Grammar adaptation.
SporenzombieSporenzombie {{item|Spore Zombie|Sporenzombie}} Deutscher Text, falls "Sporenzombie" keinen Eintrag im Wörterbuch haben sollte. German text, in case "Sporenzombie" does not have an entry in the dictionary.
die SporenzombieSporenzombies die {{item|Spore Zombie|link=Sporenzombie|Sporenzombies}} Grammatikalische Anpassung. Grammar adaptation.
FremdenführerFremdenführer {{item|Fremdenführer|size=12px}} Benutzerdefinierte Bildgröße. Custom image size.
HolzHolz {{item|Holz|image=Wood (placed).png}} Benutzerdefiniertes Bild. Custom image file name.
HolzHolz {{item|Holz|image=Wood (placed).png|ext=jpg}} Zeigt "Wood (placed).png" an. ext wird ignoriert, wenn image spezifiziert ist. Will display "Wood (placed).png". ext is ignored when image is specified.
SchatzbeutelSchatzbeutel {{item|Schatzbeutel|ext=gif}} Benutzerdefinierte Dateiendung. Custom image file extension.
SchatzbeutelSchatzbeutel(Experten-Modus) {{item|Schatzbeutel|ext=gif|note=(Experten-Modus)}} Hinweistext. Note text.
HolzHolz {{item|Holz|link=}} Verlinkt (!). Still linked (!).
HolzHolz {{item|Holz|nolink=y}} Nicht verlinkt. Unlinked.
HolzHolz {{item|Holz|nolink=y|link=Eichel}} link überschreibt nolink. link will override nolink.
SäurefarbstoffSäurefarbstoff {{item|Säurefarbstoff|small=y}} Kleine Plattform-Icons. Small platform icons.
SäurefarbstoffSäurefarbstoff {{item|Säurefarbstoff|icons=n}} Zeigt keine Plattform-Icons an. Does not display platform icons.
HolzHolz
Interne Gegenstands-ID: 9
{{item|Holz|id=9}} Information zur Gegenstands-ID. Item ID infomation.
HolzHolz
Interne Feld-ID: 30
{{item|Holz|id=30|type=tile}} Andere Art von ID, "Feld-ID" in diesem Fall. Other type of ID, "Tile ID" in this case.
FremdenführerFremdenführer
Interne NPC-ID: 22
{{item|Fremdenführer|id=22|type=npc}} NPC-ID. NPC ID.
HolzHolz
Interne Gegenstands-ID: 9
{{item|Holz|id=9|anchor=y}} Erstellt einen Anker. {{PAGENAME}}#Holz verlinkt nun hierher. Create an anchor. Now {{PAGENAME}}#Holz will link to here.
HolzHolz
Interne Gegenstands-ID: 9
{{item|Holz|id=9|anchor=Holzanker}} Erstellt einen eigenen Anker. {{PAGENAME}}#Holzanker verlinkt nun hierher. Create a customized anchor. Now {{PAGENAME}}#Holzanker will link to here.

"Size" und "scale"

Ergebnis

Result

Code Bemerkung

Note

Bienenwachs (3DS)Bienenwachs (3DS) {{item|Beeswax}} Standardgröße. Das Bild (Datei:Beeswax.png) hat eine Höhe von 32px. Default size. This image (File:Beeswax.png) has a height of 32px.
Bienenwachs (3DS)Bienenwachs (3DS) {{item|Beeswax|size=16px}} Benutzerdefinierte absolute Größe (x16px). Custom absolute size (x16px).
Bienenwachs (3DS)Bienenwachs (3DS) {{item|Beeswax|size=*0.5}} Benutzerdefinierte skalierte Größe (x16px). Custom scaled size (x16px).
Bienenwachs (3DS)Bienenwachs (3DS) {{item|Beeswax|size=x40px*0.5}} Skalierte absolute Größe (x20px). Scaled absolute size (x20px).
Bienenwachs (3DS)Bienenwachs (3DS) {{item|Beeswax|size=x40px}} Kein Effekt. Aufgrund der Funktionsweise der Größenmodifikation von [[Datei:]] muss für eine Vergrößerung eines Bildes über dessen Originalgröße hinaus entweder <Zahl>px oder <Zahl>x<Zahl>px verwendet werden. No effect. Due to how the resizing option of [[File:]] works, resizing an image to be larger than its original size requires the following syntax: <number>px or <number>x<number>px.
Bienenwachs (3DS)Bienenwachs (3DS) {{item|Beeswax|scale=0.5}} Einfache Skalierung (x16px). Simple scaling (x16px).
Bienenwachs (3DS)Bienenwachs (3DS) {{item|Beeswax|size=40px*0.5|scale=2}} Kombinierte skalierte Größe und Skalierung (40px). Combined scaled size and scale (40px).
Bienenwachs (3DS)Bienenwachs (3DS) {{item|Beeswax|maxsize=12px}} Maximalgröße. Das Bild wird so verkleinert, dass es eine Höhe von 12px besitzt. Image size limit. The image is resized to have a height of 12px.
Bienenwachs (3DS)Bienenwachs (3DS) {{item|Beeswax|maxsize=40px}} Kein Effekt, da das Originalbild kleiner als maxsize ist (Höhe 32px). No effect because the image is smaller than maxsize (has a height of 32px).
Bienenwachs (3DS)Bienenwachs (3DS) {{item|Beeswax|maxsize=12x16px}}

Mehrere Bilder (Multiple images)

Ergebnis

Result

Code Bemerkung

Note

SchmelzofenSchmelzofenSchmelzofen {{item|Schmelzofen|image=Furnace.png/Furnace_(placed).gif}} Mehrere Bilder mit automatischer Größe. Multiple images with auto size.
SchmelzofenSchmelzofenSchmelzofen {{item|Schmelzofen|image=Furnace.png/Furnace_(placed).gif|size=20px}} Nur eine Größe (size) spezifiziert, die dann auf alle Bilder angewendet wird. Only one size specified, all images will use this size.
SchmelzofenSchmelzofenSchmelzofen {{item|Schmelzofen|image=Furnace.png/Furnace_(placed).gif|size=30px/20px}} Mehrere Bilder mit eindeutig zugewiesenen Größen. Multiple images with multiple values for size.
SchmelzofenSchmelzofenSchmelzofen {{item|Schmelzofen|image=Furnace.png/Furnace_(placed).gif|size=30px/20px/300px}} Mehr Größen als Bilder. Überschüssige Größen werden ignoriert. More values for size than images, extra size is ignored.
SchmelzofenSchmelzofenSchmelzofenSchmelzofen {{item|Schmelzofen|image=Furnace.png/Furnace_(placed).gif/Hellforge.png|size=16px/50px}} Weniger Größen als Bilder. Zusätzliches Bild erhält automatische Größe. Less values for size than images, extra image will use auto size.

"Wrap", "id" und "note2"

wrap ist nur gültig, wenn id und note2 nicht spezifiziert sind.

wrap is valid only when id and note2 are not specified.

Ergebnis

Result

Code Bemerkung

Note

SäurefarbstoffSäurefarbstoff {{item|Säurefarbstoff|wrap=y}} Wenn es Plattform-Icons, aber keine note gibt, brechen die Plattform-Icons in die nächste Zeile um. Sie werden in reduzierter Größe angezeigt. If there are platform icons and no note, platform icons will wrap to next line. Note that platform icons are displayed in reduced size.
HolzHolz(Inventargrafik) {{item|Holz|wrap=y|note=(Inventargrafik)}} Gibt es eine note, wird diese mit wrap=y in eigener Zeile angezeigt. If there are some note, note will display in next line with wrap=y.
SäurefarbstoffSäurefarbstoff(Inventargrafik) {{item|Säurefarbstoff|wrap=y|note=(Inventargrafik)}} Gibt es eine note, wird diese mit wrap=y in eigener Zeile angezeigt. Plattform-Icons werden in der gleichen Zeile angezeigt. If note is specified, note will display in next line with wrap=y and platform icons will display in same line.
SäurefarbstoffSäurefarbstoff(Inventargrafik)
Interne Gegenstands-ID: 3040
{{item|Säurefarbstoff|wrap=y|note=(Inventargrafik)|id=3040}} Wenn id spezifiziert ist, werden note und Plattform-Icons in der gleichen Zeile angezeigt, trotz wrap=y. If id is specified, note and platform icons will display in same line, even if wrap=y.
SäurefarbstoffSäurefarbstoff
Vom Farbenhändler erhältlich.
{{item|Säurefarbstoff|wrap=y|note2=Vom Farbenhändler erhältlich.}} note2 verhält sich genauso. note2 is similar.
SäurefarbstoffSäurefarbstoff
Vom Farbenhändler erhältlich.
Interne Gegenstands-ID: 3040
{{item|Säurefarbstoff|id=3040|note2=Vom Farbenhändler erhältlich.}} id und note2 werden immer in eigener Zeile angezeigt. id and note2 will always take a single line.

Anzeigemodus (Display mode)

Ergebnis

Result

Code Bemerkung

Note

SäurefarbstoffSäurefarbstoff(Inventargrafik)
Interne Gegenstands-ID: 3040
{{item|Säurefarbstoff|note=(Inventargrafik)|id=3040}} Standardmäßig werden Bild und Text angezeigt. By default, image and text info will be displayed.
Säurefarbstoff {{item|Säurefarbstoff|mode=image|note=(Inventargrafik)|id=3040}} Nur das verlinkte Bild wird angezeigt, ohne jeglichen Text, ID oder Plattform-Icons. Only linked image will be displayed, no text, no note, no id, and no platform icons.
Säurefarbstoff {{item|Säurefarbstoff|mode=image|nolink=y|note=(Inventargrafik)|id=3040}} Nur das nicht verlinkte Bild wird angezeigt, ohne jeglichen Text, ID oder Plattform-Icons. Only unlinked image will be displayed, no text, no note, no id, and no platform icons.
Säurefarbstoff(Inventargrafik) {{item|Säurefarbstoff|mode=text|nolink=y|wrap=y|note=(Inventargrafik)}} Bild wird nicht angezeigt. Image won't be displayed.
Säurefarbstoff {{item|Säurefarbstoff|mode=text|image=Red Acid Dye.png}} Bild wird nicht angezeigt, image wird überschrieben. Image won't be displayed, image has no effect.
Säurefarbstoff Säurefarbstoff
Schmetterling Schmetterlinge
Einer von vieren

{| class="wikitable"
|{{item|Säurefarbstoff|mode=table}}
|-
|{{item|Schmetterling|Schmetterlinge|note2=Einer von vieren|mode=table}}
|}

Zeigt zwei benachbarte Zellen für die Tabelle an. Outputs two adjacent cells for table.

CSS und vordefinierte Klassen (CSS and predefined classes)

Important Dieser Abschnitt ist nicht oder unvollständig übersetzt.
Hilf mit, indem du den Text übersetzt und anschließend diesen Hinweis entfernst. Dies entfernt diese Seite auch aus der Liste von Seiten mit unzureichender Übersetzung.
Result Code Note
Bienenwachs (3DS)Bienenwachs (3DS)
Interne Gegenstands-ID: 2384
{{item|Beeswax|link=|id=2384|css=color:red;border: 2px solid blue;padding: 3px; background:#ccc}} Custom css rules.
Bienenwachs (3DS)Bienenwachs (3DS)
Interne Gegenstands-ID: 2384
{{item|Beeswax|id=2384|class=boldname}} Predefined class: boldname, item name will displayed in bold.
Bienenwachs (3DS)Bienenwachs (3DS)note
note2
Interne Gegenstands-ID: 2384

Bienenwachs (3DS)Bienenwachs (3DS)note
note2
Interne Gegenstands-ID: 2384

Bienenwachs (3DS)Bienenwachs (3DS)note
note2
Interne Gegenstands-ID: 2384
{{item|Beeswax|id=2384|note=note|note2=note2|class=notecolor}}
{{item|Beeswax|id=2384|note=note|note2=note2|class=note2color}}
{{item|Beeswax|id=2384|note=note|note2=note2|css=color:red|class=note2color}}
Predefined class: notecolor and note2color, note or note2 will display in normal(inherited) text color, respectively .
Bienenwachs (3DS)Bienenwachs (3DS)note
note2
Interne Gegenstands-ID: 2384

Bienenwachs (3DS)Bienenwachs (3DS)note
note2
Interne Gegenstands-ID: 2384
{{item|Beeswax|id=2384|note=note|note2=note2|class=notecolor}}
{{item|Beeswax|id=2384|note=note|note2=note2|class=note2color}}
Predefined class: notesize and note2size, note will display in normal size, or note2 will display in reduced size, respectively.
Bienenwachs (3DS)Bienenwachs (3DS)note
note2
Interne Gegenstands-ID: 2384

Bienenwachs (3DS)Bienenwachs (3DS)note
note2
Interne Gegenstands-ID: 2384

Bienenwachs (3DS)Bienenwachs (3DS)note
note2
Interne Gegenstands-ID: 2384
{{item|Beeswax|id=2384|note=note|note2=note2|class=textleft}}<br/>{{item|Beeswax|id=2384|note=note|note2=note2|class=textcenter}}<br/>{{item|Beeswax|id=2384|note=note|note2=note2|class=textright}} Predefined class: textleft, textcenter, and textright, Similar to alignleft/aligncenter/alignright, but only applied to text part.alignleft/center/right can use with text/align/center/right at same time.
Bienenwachs (3DS)
Interne Gegenstands-ID: 2384
{{item|Beeswax|id=2384|class=block|mode=text}} Predefined class: block, main item element and text element will display as block element(default is inline-block).It is usually only practical when mode=text.
Bienenwachs (3DS)Bienenwachs (3DS)note
note2
Interne Gegenstands-ID: 2384
{{item|Beeswax|id=2384|note=note|note2=note2|class=notesize notecolor boldname|css=color:red}} You can specify multiple classes, seperate with space, and can specify custom css rules at the same time.

Change default options

Important Dieser Abschnitt ist nicht oder unvollständig übersetzt.
Hilf mit, indem du den Text übersetzt und anschließend diesen Hinweis entfernst. Dies entfernt diese Seite auch aus der Liste von Seiten mit unzureichender Übersetzung.

You can use {{item/options}} to set/get and reset some options' default value.

Usage

  • Set: {{item/options|nolink=y|smallicons=no|...}} or {{item/options|set|nolink=y|smallicons=no|...}}
  • get: {{item/options|get|nolink}}
  • reset: {{item/options|reset}} or {{item/options|resetall}}
NOTE: In order to avoid unwanted influences, it is very important to reset options as soon as possible. Especially in the template, you should reset options before the template ends.

All parameters:

unnamed parameter 1

Action. get or load means get the current value of a option, reset or resetall means reset all options to default value, other values(include none. if you want, recommend to use set for better readability) means set options' value.

unnamed Parameter 2

The name of option which you want to get its value, only valid when action is get. Can be small, smallicons, icons, mode, wrap, nolink, class, css or style.

small/smallicons = y/yes/n/no

Only valid when action is set. Turn on/off reduced size for platform icons. See {{item}}'s small parameter.

icons = y/yes/n/no

Only valid when action is set. Turn on/off platform icons display. When turn off, {{item}} will be faster. See {{item}}'s icons parameter.

mode

Only valid when action is set. Set the default value for {{item}}'s mode parameter. You can use any valid value for {{item}}'s mode parameter, and a invalid value(recommend to use default, all, or both for better readability) means change the mode back to default. See {{item}}'s mode parameter.

scale

Only valid when action is set. Set the default value for {{item}}'s scale parameter.

wrap = y/yes/n/no

Only valid when action is set. Turn on/off line wrap. See {{item}}'s wrap parameter.

anchor = y/yes/n/no

Only valid when action is set. Turn on/off anchor. See {{item}}'s anchor parameter.

nolink = y/yes/n/no

Only valid when action is set. Turn on/off no link option. See {{item}}'s nolink parameter.

class

Only valid when action is set. Default value for class. See {{item}}'s class parameter.

css/style

Only valid when action is set. Default value for css. See {{item}}'s css parameter.

See examples below for more details.

Example

Code output
Change scale:
{{item/options|scale=0.5}}
{{item|Beeswax}}
{{item/options|reset}}

Double scale:
{{item/options|scale=0.55}}
{{item|Beeswax|size=*0.5}}
{{item/options|reset}}

Change scale:

Bienenwachs (3DS)Bienenwachs (3DS)

Double scale:

Bienenwachs (3DS)Bienenwachs (3DS)

By default: 

{{item|Beeswax|note=(note)}}

turn off platform icons: 
{{item/options|set|icons=no}}
{{item|Beeswax|note=(note)}}

turn on platform icons, and turn on small icons:
{{item/options|set|icons=y|smallicons=y}}
{{item|Beeswax|note=(note)}}

turn on line wrap, and set to text mode: 
{{item/options|set|wrap=y|mode=text}}
{{item|Beeswax|note=(note)}}

turn on no link mode: 
{{item/options|set|nolink=y}}
{{item|Beeswax|note=(note)}}

This will be overrided by '''<code>link=</code>'''

{{item|Beeswax|note=(note)|link=Bee}}

get current setting:

nolink = {{item/options|get|nolink}} ; 
wrap = {{item/options|get|wrap}} ;
mode = {{item/options|get|mode}} ;

reset all options: 
{{item/options|reset}}
{{item|Beeswax|note=(note)}}

custom css and class:
{{item/options|set|css=border:1px solid red;padding:3px}}
{{item|Beeswax|note=(note)}}
{{item/options|set|class=boldname}}
{{item|Beeswax|note=(note)}}

reset all:
{{item/options|resetall}}
{{item|Beeswax|note=(note)}}

By default:

Bienenwachs (3DS)Bienenwachs (3DS)(note)

turn off platform icons:

Bienenwachs (3DS)Bienenwachs (3DS)(note)

turn on platform icons, and turn on small icons:

Bienenwachs (3DS)Bienenwachs (3DS)(note)

turn on line wrap, and set to text mode:

Bienenwachs (3DS)(note)

turn on no link mode:

Bienenwachs (3DS)(note)

This will be overrided by link=

Bienenwachs (3DS)(note)

get current setting:

nolink = y ; wrap = y ; mode = text ;

reset all options:

Bienenwachs (3DS)Bienenwachs (3DS)(note)

custom css and class:

Bienenwachs (3DS)Bienenwachs (3DS)(note)

Bienenwachs (3DS)Bienenwachs (3DS)(note)

reset all:

Bienenwachs (3DS)Bienenwachs (3DS)(note)


Advertisement