News (06 Aug 2024): Das Wiki läuft jetzt auf einem neuen Server. Aufgrund eines Upgrades von PHP mussten die Wiki-Software und die DPL-Erweiterung aktualisiert werden. Bitte meldet Fehler auf der Hauptseiten-Diskussion.

Vorlage:Sandkasten: Unterschied zwischen den Versionen

Aus GuildWiki
Zur Navigation springenZur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 15: Zeile 15:
! colspan="2" style="font-size:110%; text-align:center; background-color:lightblue;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size:110%; text-align:center; background-color:lightblue;" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2" align="center" | {{{bild|[[Bild:{{PAGENAME}}.jpg|200px]]}}}
| colspan="2" align="center" | {{{bild|[[Bild:{{PAGENAME}}.jpg]]}}}
|- valign="top"
|- valign="top"
! style="background-color:lightblue;" | Typ
! style="background-color:lightblue;" | Typ
Zeile 58: Zeile 58:
}}
}}


<!-- End:Optional Sections Code -->|}<noinclude>
<!-- End:Optional Sections Code -->|}
<includeonly><div style="display:none;">
<!-- Start:Categorisation Code -->
{{ #if: {{{questitem|}}}|[[Kategorie:Quest items]]}}
{{ #if: {{{sammler|}}}|[[Kategorie:Trophäe]]}}
{{ #if: {{{alclevel|}}}|[[Kategorie:Alcohol]]}}
{{ #switch: {{lc: {{{typ|}}} }}
| [[bündel]] = [[Kategorie:Bündel]]
| [[quest item]] = [[Kategorie:Quest items]]
| [[alkohol]] = [[Kategorie:Alkohol]]
| [[wiederverwertbarer gegenstand]] = [[Kategorie:Wiederverwertbarer Gegenstand]]
| [[trophäe]] = [[Kategorie:Trophäe]]
| [[werkzeug]] = [[Kategorie:Werkzeug]]
| [[schriftrolle]] = [[Kategorie:Schriftrolle]]
| [[gebräuchliches handwerksmaterial]] = [[Kategorie:Gebräuchliches Handwerksmaterial]]
| [[seltenes handwerksmaterial]] = [[Kategorie:Seltenes Handwerksmaterial]]
| [[miniatur]] = [[Kategorie:Miniatur]]
| [[event-gegenstand]] = [[Kategorie:Event-Gegenstand]]
| bündel = [[Kategorie:Bündel]]
| quest item = [[Kategorie:Quest items]]
| alkohol = [[Kategorie:Alkohol]]
| wiederverwertbarer gegenstand = [[Kategorie:Wiederverwertbarer Gegenstand]]
| trophäe = [[Kategorie:Trophäe]]
| werkzeug = [[Kategorie:Werkzeug]]
| schriftrolle = [[Kategorie:Schriftrolle]]
| gebräuchliches handwerksmaterial = [[Kategorie:Gebräuchliches Handwerksmaterial]]
| seltenes handwerksmaterial = [[Kategorie:Seltenes Handwerksmaterial]]
| miniatur = [[Kategorie:Miniatur]]
| event-gegenstand = [[Kategorie:Event-Gegenstand]]
}}
<!--Ende der Kategoriesierung -->
</div></includeonly>
<noinclude>
{{clear}}
{{clear}}
==Benutzung==
==Benutzung==
Zeile 90: Zeile 122:
</pre>
</pre>


==Parameters==
==Parameter==
; name : Defaults to the name of the article (<code><nowiki>{{PAGENAME}}</nowiki></code>).
; name : Defaults to the name of the article (<code><nowiki>{{PAGENAME}}</nowiki></code>).
; bild : The image should be .jpg format. This should be the inventory icon for the item. See also the [[Guild Wars Wiki:Policy/Images|image use policy]]. Defaults to the page name (<code><nowiki>{{PAGENAME}}.png</nowiki></code>).
; bild : Defaults to the page name (<code><nowiki>{{PAGENAME}}.png</nowiki></code>).
; typ : Currently this will auto-type in the following order: [[Alcohol]] (alclevel is non-blank), [[Quest item]] (questitem is non-blank), [[Trophy]] (collector is non-blank), [[Salvage Item]] (commonsalvage or raresalvage is non-blank), [[Kit]] (uses is non-blank) and then Not Specified. Auto-typing is exclusive, meaning that an item can not be typed as two of the categories (e.g. Alcohol and Quest item).  If an item fulfills two sets of criteria, only the first criteria will be used. This field can also be manually set.
; typ : Falls die Auto-Typisierung nicht stimmt.
; wert : How much you would get for this item if sold to a [[Merchant]]. Defaults to "Can't be sold" for Quest items, etc. Omit if the item is a [[Bundle]].
; wert : Wieviel Gold würdest du bei einem Händler bekommen? Standart ist "Nicht verkaufbar" für Quest-Gegenstände, etc.
; kampagne: The [[campaign]] this item is available in. Defaults to [[Core]].
; kampagne: Standart ist [[Basis]].
; benutzungen : Optional. List the number of uses, sets [[:Kategorie:Werkzeug]] and type to [[Werkzeug]].
; benutzungen : Optional. Anzahl der Benutzungen, setzt [[:Kategorie:Werkzeug]] und typ auf [[Werkzeug]].
; sammler : Optional. List item collectors, sets [[:Category:Trophies]] and type to [[Trophy]] (provided that alclevel and questitem are not specified).
; sammler : Optional. List item collectors, sets [[:Kategorie:Trophies]] and type to [[Trophy]] (provided that alclevel and questitem are not specified).
; dauer: Optional. List the intoxication duration, defaults to 1 minute.
; dauer: Optional. List the intoxication duration, defaults to 1 minute.
; normal: Optional. List common salvage materials, sets type to [[Salvage item]] and [[:Category:Salvage items]] if another type has not already been set. This field autocategorises to Category:Contains (common salvage), for single terms only.  If you list multiple salvage items, please manually adjust the resulting categories.
; normal: Optional. List common salvage materials, sets type to [[Salvage item]] and [[:Kategorie:Salvage items]] if another type has not already been set. This field autocategorises to Category:Contains (common salvage), for single terms only.  If you list multiple salvage items, please manually adjust the resulting categories.
; selten: Optional. List rare salvage materials, sets type to [[Salvage item]] and [[:Category:Salvage items]] if another type has not already been set. This field autocategorises to Category:Contains (rare salvage), for single terms only.  If you list multiple salvage items, please manually adjust the resulting categories.
; selten: Optional. List rare salvage materials, sets type to [[Salvage item]] and [[:Kategorie:Salvage items]] if another type has not already been set. This field autocategorises to Category:Contains (rare salvage), for single terms only.  If you list multiple salvage items, please manually adjust the resulting categories.
; questitem: Optional. List quests item is involved in, sets [[:Category:Quest items]] and type to [[Quest item]] (provided that alclevel is not specified)
; questitem: Optional. List quests item is involved in, sets [[:Kategorie:Quest items]] and type to [[Quest item]] (provided that alclevel is not specified)




Zeile 117: Zeile 149:
[[Kategorie:Vorlage Infobox]]
[[Kategorie:Vorlage Infobox]]
</noinclude>
</noinclude>
<includeonly><div style="display:none;"><!-- Start:Categorisation Code -->
<!-- Main Category defined by other parameters, then type -->
{{ #if: {{{questitem|}}}|[[Kategorie:Quest items]]}}
{{ #if: {{{sammler|}}}|[[Kategorie:Trophäe]]}}
{{ #if: {{{alclevel|}}}|[[Kategorie:Alcohol]]}}
{{ #switch: {{lc: {{{typ|}}} }}
| [[bündel]] = [[Kategorie:Bündel]]
| [[quest item]] = [[Kategorie:Quest items]]
| [[Alkohol]] = [[Kategorie:Alkohol]]
| [[salvage item]] = [[Kategorie:Salvage items]]
| [[Trophäe]] = [[Kategorie:Trophäe]]
| [[Werkzeug]] = [[Kategorie:Werkzeug]]
| [[Schriftrolle]] = [[Kategorie:Schriftrolle]]
| [[Gebräuchliches Handwerksmaterial]] = [[Kategorie:Gebräuchliches Handwerksmaterial]]
| [[Seltenes Handwerksmaterial]] = [[Kategorie:Seltenes Handwerksmaterial]]
| [[miniature]] = [[Kategorie:Miniatures]]
| [[Schlüssel]] = [[Kategorie:Schlüssel]]
| salvage item = [[Kategorie:Salvage items]]
| kit = [[Kategorie:Kits]]
| schriftrolle= [[Kategorie:Schriftrolle]]
| common crafting material = [[Kategorie:Gebräuchliches Handwerksmaterial]]
| rare crafting material = [[Kategorie:Seltenes Handwerksmaterial]]
| miniature = [[Kategorie:Miniatures]]
| Schlüssel = [[Kategorie:Schlüssel]]
}}
<!--Ende der Kategoriesierung --></div></includeonly>

Version vom 7. Mai 2007, 16:30 Uhr

Dies ist der GuildWiki-Sandkasten für Vorlagen. Hier kannst du neue Vorlagen testen.

Bitte bedenke, dass jeder deine Änderungen überschreiben kann und der Sandkasten regelmäßig geleert wird.

  • Bitte diese Notiz so stehen lassen.
  • Diese Seite nicht verschieben.

Viel Spaß beim ausprobieren!

Sandkasten
Sandkasten.jpg
Typ Nicht angegeben
Wert Nicht verkaufbar
Kampagne Basis


Benutzung

Diese Vorlage kann für viele Gegenstände benutzt werden. z.b.

{{Infobox Gegenstand
| name = 
| bild = 
| typ = 
| wert = 
| kampagne = 
| benutzungen =
| sammler = <im Moment deaktiviert>
| dauer = 
| normal =
| selten =
| questgegenstand = <im Moment deaktiviert>
}}

Parameter

name
Defaults to the name of the article ({{PAGENAME}}).
bild
Defaults to the page name ({{PAGENAME}}.png).
typ
Falls die Auto-Typisierung nicht stimmt.
wert
Wieviel Gold würdest du bei einem Händler bekommen? Standart ist "Nicht verkaufbar" für Quest-Gegenstände, etc.
kampagne
Standart ist Basis.
benutzungen
Optional. Anzahl der Benutzungen, setzt Kategorie:Werkzeug und typ auf Werkzeug.
sammler
Optional. List item collectors, sets Kategorie:Trophies and type to Trophy (provided that alclevel and questitem are not specified).
dauer
Optional. List the intoxication duration, defaults to 1 minute.
normal
Optional. List common salvage materials, sets type to Salvage item and Kategorie:Salvage items if another type has not already been set. This field autocategorises to Category:Contains (common salvage), for single terms only. If you list multiple salvage items, please manually adjust the resulting categories.
selten
Optional. List rare salvage materials, sets type to Salvage item and Kategorie:Salvage items if another type has not already been set. This field autocategorises to Category:Contains (rare salvage), for single terms only. If you list multiple salvage items, please manually adjust the resulting categories.
questitem
Optional. List quests item is involved in, sets Kategorie:Quest items and type to Quest item (provided that alclevel is not specified)


Beispiel

{{Infobox Gegenstand
| name = Spider Web
| wert = 5 
| kampagne = [[Nightfall]]
| normal = [[Glitzerstaubhaufen]]
| profi = [[Seidentuchballen]]
}}