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
Flece (Diskussion | Beiträge) (stöhn...was für ein Monster ^^) |
Flece (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 19: | Zeile 19: | ||
! style="background-color:#FC6;" | Type | ! style="background-color:#FC6;" | Type | ||
| <!-- Start:Auto-typing Code -->{{ #if: {{{alclevel|}}}|{{{typ|[[Alcohol]]}}} | | <!-- Start:Auto-typing Code -->{{ #if: {{{alclevel|}}}|{{{typ|[[Alcohol]]}}} | ||
| {{ #if: {{{questitem|}}}|{{{typ|[[Quest | | {{ #if: {{{questitem|}}}|{{{typ|[[Quest-Gegenstand]]}}} | ||
| {{ #if: {{{sammler|}}}|{{{typ|[[Trophäe]]}}} | | {{ #if: {{{sammler|}}}|{{{typ|[[Trophäe]]}}} | ||
| {{ #if: {{{normal|}}}|{{{typ|[[ | | {{ #if: {{{normal|}}}|{{{typ|[[Wiederverwertbarer Gegenstand]]}}} | ||
| {{ #if: {{{profi|}}}|{{{typ|[[ | | {{ #if: {{{profi|}}}|{{{typ|[[Wiederverwertbarer Gegenstand]]}}} | ||
| {{ #if: {{{ | | {{ #if: {{{benutzungen|}}}|{{{typ|[[Werkzeug]]}}}|{{{typ|Not specified}}} | ||
}}}}}}}}}}}}<!-- End:Auto-typing Code --> | }}}}}}}}}}}}<!-- End:Auto-typing Code --> | ||
{{ #ifeq: {{{bundle|no}}} | no | | {{ #ifeq: {{{bundle|no}}} | no | | ||
Zeile 79: | Zeile 79: | ||
This template can be used for many [[item]]s such as [[Trophäe]], [[Handwerksmaterial]], [[Rare crafting material]]s, [[Quest Gegenstand]], [[Wiederverwertbarer Gegenstand]], [[Kit]]s, [[Scroll]]s, and [[Alkohol]]. The template can also be used for [[Bundle]] items. The template has been modified from the original [[Template:Item infobox]] to include salvage info if specified. This template auto-types and auto-categorises items dependent on the parameters supplied (see [[Template:Item infobox#Parameters|Parameters]]). | This template can be used for many [[item]]s such as [[Trophäe]], [[Handwerksmaterial]], [[Rare crafting material]]s, [[Quest Gegenstand]], [[Wiederverwertbarer Gegenstand]], [[Kit]]s, [[Scroll]]s, and [[Alkohol]]. The template can also be used for [[Bundle]] items. The template has been modified from the original [[Template:Item infobox]] to include salvage info if specified. This template auto-types and auto-categorises items dependent on the parameters supplied (see [[Template:Item infobox#Parameters|Parameters]]). | ||
<pre> | <pre> | ||
{{ | {{Infobox Gegenstand | ||
| name = | | name = | ||
| | | bild = | ||
| | | typ = | ||
| | | wert = | ||
| | | kampagne = | ||
| | | benutzungen = | ||
| | | sammler = | ||
| alclevel = | | alclevel = | ||
| alcduration = | | alcduration = | ||
| | | normal = | ||
| | | profi = | ||
| questitem = | | questitem = | ||
| render = | | render = | ||
Zeile 103: | Zeile 103: | ||
; value : 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]]. | ; value : 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]]. | ||
; campaign : The [[campaign]] this item is available in. Defaults to [[Core]]. | ; campaign : The [[campaign]] this item is available in. Defaults to [[Core]]. | ||
; | ; benutzungen : Optional. List the number of uses, sets [[:Kategorie:Werkzeug]] and type to [[Werkzeug]]. | ||
; collector: Optional. List item collectors, sets [[:Category:Trophies]] and type to [[Trophy]] (provided that alclevel and questitem are not specified). | ; collector: Optional. List item collectors, sets [[:Category:Trophies]] and type to [[Trophy]] (provided that alclevel and questitem are not specified). | ||
; alclevel : Optional. List the intoxication level, sets [[:Category:Alcohol]] and type to [[Alcohol]]. | ; alclevel : Optional. List the intoxication level, sets [[:Category:Alcohol]] and type to [[Alcohol]]. |
Version vom 12. April 2007, 14:18 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 | |
---|---|
Datei:Sandkasten.png | |
Type | Not specified |
Wert | Can't be sold |
Kampagne | Basis |
Usage
This template can be used for many items such as Trophäe, Handwerksmaterial, Rare crafting materials, Quest Gegenstand, Wiederverwertbarer Gegenstand, Kits, Scrolls, and Alkohol. The template can also be used for Bundle items. The template has been modified from the original Template:Item infobox to include salvage info if specified. This template auto-types and auto-categorises items dependent on the parameters supplied (see Parameters).
{{Infobox Gegenstand | name = | bild = | typ = | wert = | kampagne = | benutzungen = | sammler = | alclevel = | alcduration = | normal = | profi = | questitem = | render = | bundle = }}
Parameters
- name
- Defaults to the name of the article (
{{PAGENAME}}
). - image
- The image should be .jpg format. This should be the inventory icon for the item. See also the image use policy. Defaults to the page name (
{{PAGENAME}}.png
). - type
- 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.
- value
- 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.
- campaign
- The campaign this item is available in. Defaults to Core.
- benutzungen
- Optional. List the number of uses, sets Kategorie:Werkzeug and type to Werkzeug.
- collector
- Optional. List item collectors, sets Category:Trophies and type to Trophy (provided that alclevel and questitem are not specified).
- alclevel
- Optional. List the intoxication level, sets Category:Alcohol and type to Alcohol.
- alcduration
- Optional. List the intoxication duration, defaults to 1 minute.
- commonsalvage
- 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.
- raresalvage
- 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.
- questitem
- Optional. List quests item is involved in, sets Category:Quest items and type to Quest item (provided that alclevel is not specified)
- render
- Optional. Providing render=default, the image will be set to (
{{PAGENAME}} render.jpg
) and 100px wide. Provide the wikified render link. The image should be .jpg format. This should be a render of the item. See also the image use policy. - bundle
- Optional. Setting this removes the value field in the item infobox. For use with Bundle items.
Example
{{Item infobox | name = Spider Web | value = 5 | campaign = [[Nightfall]] | commonsalvage = [[Pile of Glittering Dust|Piles of Glittering Dust]] | raresalvage = [[Bolt of Silk|Bolts of Silk]] | render= default }}