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: {{{typ|}}} | [[{{{typ}}}]] |Nicht angegeben}} | + | | {{ #if: {{{dauer|}}}|{{{typ|[[Essen]]}}} |
− | + | | {{ #if: {{{questitem|}}}|{{{typ|[[Quest-Gegenstand]]}}} | |
+ | | {{ #if: {{{normal|}}}|{{{typ|[[Wiederverwertbarer Gegenstand]]}}} | ||
+ | | {{ #if: {{{selten|}}}|{{{typ|[[Wiederverwertbarer Gegenstand]]}}} | ||
+ | | {{ #if: {{{benutzungen|}}}|{{{typ|[[Werkzeug]]}}} | ||
+ | | {{{typ|Nicht angegeben}}} | ||
+ | }}}}}}}}}}<!-- End:Auto-typing Code --> | ||
+ | {{pipe}}- valign="top" | ||
{{ #if: {{{preis|}}} | | {{ #if: {{{preis|}}} | | ||
! style="background-color:lightblue;" {{pipe}} Preis | ! style="background-color:lightblue;" {{pipe}} Preis | ||
− | {{pipe}} {{Kosten|{{{preis}}}}} | + | {{pipe}} {{ #if: {{{preis|}}}|{{Kosten|{{{preis}}}}}}} |
}} | }} | ||
− | + | {{pipe}}- valign="top" | |
{{ #if: {{{wertspanne|}}} | | {{ #if: {{{wertspanne|}}} | | ||
! style="background-color:lightblue;" {{pipe}} Wertspanne | ! style="background-color:lightblue;" {{pipe}} Wertspanne | ||
Zeile 70: | Zeile 23: | ||
}} | }} | ||
{{ #if: {{{wert|}}} | | {{ #if: {{{wert|}}} | | ||
− | ! style="background-color:lightblue;" {{pipe}} Wert | + | ! style="background-color:lightblue;" {{pipe}} Wert |
− | {{pipe}} {{ #switch: {{{wert|}}} | 0 = Nicht | + | {{pipe}} {{ #switch: {{{wert|}}} |
+ | | 0 = Nicht verkaufbar | ||
+ | | #default = {{Kosten|{{{wert}}}}} | ||
+ | }} | ||
}} | }} | ||
|- 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 55: | ||
|- 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:Autokategorisierung --> | |
− | + | <!-- | |
+ | {{ #if: {{{benutzungen|}}}|[[Kategorie:Werkzeug]]}} | ||
+ | {{ #if: {{{normal|}}}|[[Kategorie:Wiederverwertbarer Gegenstand]]}} | ||
+ | {{ #if: {{{selten|}}}|[[Kategorie:Wiederverwertbarer Gegenstand]]}} | ||
+ | {{ #if: {{{sammler|}}}|[[Kategorie:Trophäe]]}} | ||
+ | {{ #if: {{{alclevel|}}}|[[Kategorie:Alcohol]]}} | ||
+ | --> | ||
+ | {{ #switch: {{lc: {{{typ|}}} }} | ||
+ | | [[wiederverwertbarer gegenstand]] = [[Kategorie:Wiederverwertbarer Gegenstand]] | ||
+ | | [[bündel]] = [[Kategorie:Bündel]] | ||
+ | | [[quest item]] = [[Kategorie:Quest items]] | ||
+ | | [[alkohol]] = [[Kategorie:Alkohol]] | ||
+ | | [[süßigkeit]] = [[Kategorie:Süßigkeit]] | ||
+ | | [[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]] | ||
+ | | [[gegenstand]] = [[Kategorie:Gegenstand]] | ||
+ | | bündel = [[Kategorie:Bündel]] | ||
+ | | quest item = [[Kategorie:Quest items]] | ||
+ | | alkohol = [[Kategorie:Alkohol]] | ||
+ | | süßigkeit = [[Kategorie:Süßigkeit]] | ||
+ | | 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]] | ||
+ | | gegenstand = [[Kategorie:Gegenstand]] | ||
}} | }} | ||
− | <!-- Ende | + | <!--Ende der Kategoriesierung --> |
+ | </div></includeonly> | ||
<noinclude> | <noinclude> | ||
{{clear}} | {{clear}} | ||
Zeile 121: | Zeile 106: | ||
Diese Vorlage wird für folgende [[Gegenstand|Gegenstände]] benutzt: | Diese Vorlage wird für folgende [[Gegenstand|Gegenstände]] benutzt: | ||
− | *[[ | + | *[[Trophäe]] |
− | + | *[[Gebräuchliches Handwerksmaterial]] | |
− | + | *[[Seltenes Handwerksmaterial]] | |
− | + | *[[Quest-Gegenstand]] | |
− | + | *[[Wiederverwertbarer Gegenstand]] | |
− | + | *[[Werkzeug]] | |
− | + | *[[Schriftrolle]] | |
− | + | *[[Alkohol]] | |
− | + | *[[Essen]] | |
− | + | *[[Bündel]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Parameter== | ==Parameter== | ||
<pre> | <pre> | ||
{{Infobox Gegenstand | {{Infobox Gegenstand | ||
− | + | | name = | |
− | + | | bild = | |
− | + | | typ = | |
− | + | | wertspanne = | |
− | + | | wert = | |
− | + | | preis = | |
− | + | | kampagne = | |
− | + | | benutzungen = | |
− | + | | dauer = | |
− | + | | normal = | |
− | + | | selten = | |
− | |||
− | |||
− | |||
}} | }} | ||
</pre> | </pre> | ||
− | ; name : Optional. | + | ; name : Optional. Standart ist: <code><nowiki>{{PAGENAME}}</nowiki></code> |
− | ; bild : Optional. | + | ; bild : Optional. Standart ist: <code><nowiki>{{PAGENAME}}.jpg</nowiki></code> |
: Kann man auch benutzen um mehrere Bilder einzubinden. | : Kann man auch benutzen um mehrere Bilder einzubinden. | ||
− | ; typ : | + | ; typ : Falls die Auto-Typisierung nicht stimmt. |
; wertspanne : Optional. z.b. <nowiki> 10 - {{Kosten|50}} </nowiki> | ; wertspanne : Optional. z.b. <nowiki> 10 - {{Kosten|50}} </nowiki> | ||
− | ; wert : Optional. Wieviel Gold würdest du bei einem Händler bekommen? Ein Wert von 0 zeigt "Nicht | + | ; wert : Optional. Wieviel Gold würdest du bei einem Händler bekommen? Ein Wert von 0 zeigt "Nicht verkaufbar" für Quest-Gegenstände, etc. |
− | ; preis : Wieviel kostet der Gegenstand beim Händler? | + | ; preis : Wieviel kostet der Gegenstand beim Händler ? |
− | ; | + | ; kampagne: Standart ist [[Basis]]. |
− | |||
; benutzungen : Optional. Anzahl der Benutzungen, setzt [[:Kategorie:Werkzeug]] und typ auf [[Werkzeug]]. | ; benutzungen : Optional. Anzahl der Benutzungen, setzt [[:Kategorie:Werkzeug]] und typ auf [[Werkzeug]]. | ||
− | ; dauer: Optional. Dauer eines Effekts (z.b. bei Essen oder | + | ; dauer: Optional. Dauer eines Effekts (z.b. bei Essen oder ALkohol). |
− | |||
− | |||
; normal: Optional. Welches Gebräuchliche Handwerksmaterial kann man wiederverwerten ? | ; normal: Optional. Welches Gebräuchliche Handwerksmaterial kann man wiederverwerten ? | ||
+ | |||
; selten: Optional. Welches Seltene Handwerksmaterial kann man wiederverwerten ? | ; selten: Optional. Welches Seltene Handwerksmaterial kann man wiederverwerten ? | ||
+ | |||
[[Kategorie:Vorlage Infobox]] | [[Kategorie:Vorlage Infobox]] | ||
</noinclude> | </noinclude> |