Bearbeiten von „Vorlage:Infobox Gegenstand“
Aus GuildWiki
Du bearbeitest diese Seite unangemeldet. Wenn du speicherst, wird deine aktuelle IP-Adresse in der Versionsgeschichte aufgezeichnet und ist damit unwiderruflich öffentlich einsehbar. Wenn du das nicht möchtest, registriere dich. Das ist kostenlos und ohne Angabe einer E-Mail-Adresse möglich.
Die Bearbeitung kann rückgängig gemacht werden.
Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und speichere dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version | Dein Text | ||
Zeile 1: | Zeile 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| style="background-color:#fff; margin: 0 0 0.5em 1em; border:1px solid silver; float:right; font-size:90%; text-align:left;" cellpadding="5" cellspacing="3" | {| style="background-color:#fff; margin: 0 0 0.5em 1em; border:1px solid silver; float:right; font-size:90%; text-align:left;" cellpadding="5" cellspacing="3" | ||
! 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}} | + | | colspan="2" align="center" | {{{bild|[[Bild:{{PAGENAME}}.jpg]]}}} |
|- valign="top" | |- valign="top" | ||
! style="background-color:lightblue;" | Typ | ! style="background-color:lightblue;" | Typ | ||
− | | {{#if: {{{ | + | | {{ #if: {{{dauer|}}}|{{{typ|[[Essen]]}}} |
− | | | + | | {{ #if: {{{questitem|}}}|{{{typ|[[Quest-Gegenstand]]}}} |
− | {{ #if: {{{ | + | | {{ #if: {{{normal|}}}|{{{typ|[[Wiederverwertbarer Gegenstand]]}}} |
− | + | | {{ #if: {{{selten|}}}|{{{typ|[[Wiederverwertbarer Gegenstand]]}}} | |
− | + | | {{ #if: {{{benutzungen|}}}|{{{typ|[[Werkzeug]]}}} | |
− | }} | + | | {{{typ|Nicht angegeben}}} |
− | | | + | }}}}}}}}}}<!-- End:Auto-typing Code --> |
− | {{ #if: {{{ | + | {{pipe}}- valign="top" |
− | |||
− | |||
− | }} | ||
− | {{ | ||
! style="background-color:lightblue;" {{pipe}} Wert | ! style="background-color:lightblue;" {{pipe}} Wert | ||
− | {{pipe}} {{ # | + | {{pipe}} {{ #if: {{{wert|}}}|{{Kosten|{{{wert}}}}}|Nicht verkaufbar}} |
− | }} | ||
|- valign="top" | |- valign="top" | ||
! style="background-color:lightblue;" | [[Kampagne]] | ! style="background-color:lightblue;" | [[Kampagne]] | ||
− | | {{ | + | | {{{kampagne|[[Basis]]}}} |
|- valign="top" | |- valign="top" | ||
− | <!-- Start:Optionale Einträge --> | + | <!-- Start:Optionale Einträge -->{{ #if: {{{benutzungen|}}} | |
− | {{ #if: {{{benutzungen|}}} | | ||
! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">Benutzungen</span> | ! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">Benutzungen</span> | ||
{{pipe}} {{{benutzungen|}}} | {{pipe}} {{{benutzungen|}}} | ||
}} | }} | ||
|- valign="top" | |- valign="top" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{ #if: {{{dauer|}}} | | {{ #if: {{{dauer|}}} | | ||
! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">Dauer</span> | ! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">Dauer</span> | ||
Zeile 106: | Zeile 41: | ||
|- valign="top" | |- valign="top" | ||
{{ #if: {{{questgegenstand|}}} | | {{ #if: {{{questgegenstand|}}} | | ||
− | ! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">[[Quest-Gegenstand]] | + | ! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">[[Quest-Gegenstand]] for</span> |
{{pipe}} {{{questgegenstand|}}} | {{pipe}} {{{questgegenstand|}}} | ||
}} | }} | ||
− | | | + | |
− | {{ #if: {{{ | + | <!-- 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]] | ||
+ | | [[waffenverbesserung]] = [[Kategorie:Waffenverbesserung]] | ||
+ | | 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]] | ||
+ | | waffenverbesserung = [[Kategorie:Waffenverbesserung]] | ||
}} | }} | ||
− | <!-- Ende | + | <!--Ende der Kategoriesierung --> |
+ | </div></includeonly> | ||
<noinclude> | <noinclude> | ||
{{clear}} | {{clear}} | ||
==Benutzung== | ==Benutzung== | ||
− | Diese Vorlage | + | Diese Vorlage kann für viele [[Gegenstand|Gegenstände]] benutzt werden. z.b. |
− | *[[ | + | *[[Trophäe]] |
− | + | *[[Gebräuchliches Handwerksmaterial]] | |
− | + | *[[Seltenes Handwerksmaterial]] | |
− | + | *[[Quest-Gegenstand]] | |
− | + | *[[Wiederverwertbarer Gegenstand]] | |
− | + | *[[Werkzeug]] | |
− | + | *[[Schriftrolle]] | |
− | + | *[[Alkohol]] | |
− | + | *[[Essen]] | |
− | + | *[[Bündel]] | |
− | + | ||
− | + | <pre> | |
− | + | {{Infobox Gegenstand | |
− | + | | name = | |
− | + | | bild = | |
− | + | | typ = | |
− | + | | wert = | |
− | + | | kampagne = | |
− | + | | benutzungen = | |
− | + | | sammler = <im Moment deaktiviert> | |
− | + | | dauer = | |
− | + | | normal = | |
+ | | selten = | ||
+ | | questgegenstand = <im Moment deaktiviert> | ||
+ | }} | ||
+ | </pre> | ||
==Parameter== | ==Parameter== | ||
+ | ; name : Defaults to the name of the article (<code><nowiki>{{PAGENAME}}</nowiki></code>). | ||
+ | ; bild : Defaults to the page name (<code><nowiki>{{PAGENAME}}.png</nowiki></code>). | ||
+ | ; 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== | ||
<pre> | <pre> | ||
{{Infobox Gegenstand | {{Infobox Gegenstand | ||
− | + | | name = Spider Web | |
− | + | | wert = 5 | |
− | + | | kampagne = [[Nightfall]] | |
− | + | | normal = [[Glitzerstaubhaufen]] | |
− | + | | profi = [[Seidentuchballen]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Kategorie:Vorlage Infobox]] | [[Kategorie:Vorlage Infobox]] | ||
</noinclude> | </noinclude> |