Vorlage:Infobox Gegenstand: Unterschied zwischen den Versionen
Aus GuildWiki
Flece (Diskussion | Beiträge) |
Flece (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
− | {| style="margin: 0 0 0.5em 1em | + | {| style="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}}}}} | |
− | |||
|- | |- | ||
− | | style=" | + | | colspan="2" align="center" | {{{bild|[[Bild:{{PAGENAME}}.jpg]]}}} |
− | |} | + | |- valign="top" |
− | <includeonly>[[Kategorie:Gegenstand]]</includeonly> | + | ! style="background-color:lightblue;" | Typ |
+ | | {{ #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" | ||
+ | ! style="background-color:lightblue;" {{pipe}} Wert | ||
+ | {{pipe}} {{ #if: {{{wert|}}}|{{Kosten|{{{wert}}}}}|Nicht verkaufbar}} | ||
+ | |- valign="top" | ||
+ | ! style="background-color:lightblue;" | [[Kampagne]] | ||
+ | | {{{kampagne|[[Basis]]}}} | ||
+ | |- valign="top" | ||
+ | <!-- Start:Optionale Einträge -->{{ #if: {{{benutzungen|}}} | | ||
+ | ! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">Benutzungen</span> | ||
+ | {{pipe}} {{{benutzungen|}}} | ||
+ | }} | ||
+ | |- valign="top" | ||
+ | {{ #if: {{{dauer|}}} | | ||
+ | ! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">Dauer</span> | ||
+ | {{pipe}} {{{dauer}}} {{ #ifeq: {{{dauer|1}}}|1|Minute|Minuten}} | ||
+ | {{pipe}}- valign="top" | ||
+ | }} | ||
+ | |- valign="top" | ||
+ | {{ #if: {{{normal|}}} | | ||
+ | ! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">[[Gebräuchliches Handwerksmaterial|Normal]]</span> | ||
+ | {{pipe}} {{{normal}}} | ||
+ | }} | ||
+ | |- valign="top" | ||
+ | {{ #if: {{{selten|}}} | | ||
+ | ! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">[[Seltenes Handwerksmaterial|Selten]]</span> | ||
+ | {{pipe}} {{{selten|}}} | ||
+ | }} | ||
+ | |- valign="top" | ||
+ | {{ #if: {{{questgegenstand|}}} | | ||
+ | ! style="background-color:lightblue;" {{pipe}} <span style="white-space:nowrap;">[[Quest-Gegenstand]] for</span> | ||
+ | {{pipe}} {{{questgegenstand|}}} | ||
+ | }} | ||
+ | |||
+ | <!-- 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 der Kategoriesierung --> | ||
+ | </div></includeonly> | ||
<noinclude> | <noinclude> | ||
− | [[ | + | {{clear}} |
− | == | + | ==Benutzung== |
− | + | ||
+ | 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== | ||
+ | ; 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]] | ||
</noinclude> | </noinclude> |
Version vom 7. Mai 2007, 16:37 Uhr
Infobox Gegenstand | |
---|---|
Datei:Infobox Gegenstand.jpg | |
Typ | Nicht angegeben |
Wert | Nicht verkaufbar |
Kampagne | Basis |
Benutzung
Diese Vorlage kann für viele Gegenstände benutzt werden. z.b.
- Trophäe
- Gebräuchliches Handwerksmaterial
- Seltenes Handwerksmaterial
- Quest-Gegenstand
- Wiederverwertbarer Gegenstand
- Werkzeug
- Schriftrolle
- Alkohol
- Essen
- Bündel
{{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]] }}