Szablon:Przedmiot/opis: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
| [wersja nieprzejrzana] | [wersja nieprzejrzana] |
Nie podano opisu zmian |
Nie podano opisu zmian |
||
| Linia 1: | Linia 1: | ||
{{doc/start}} | {{doc/start}} | ||
{{ | {{Item}} | ||
}} | |||
Szablon powinien być użyty w artykułach o przedmiotach. Wyjątek stanowią przedmioty odnawiające życie. Dodaje się do nich [[Szablon:Jedzenie]]. | Szablon powinien być użyty w artykułach o przedmiotach. Wyjątek stanowią przedmioty odnawiające życie. Dodaje się do nich [[Szablon:Jedzenie]]. | ||
<pre width="30px"> | <pre width="30px"> | ||
| Linia 17: | Linia 7: | ||
|wygląd1= | |wygląd1= | ||
|wygląd2= | |wygląd2= | ||
|wygląd3= | |||
|invwygląd= | |||
|invwygląd2= | |||
|invwygląd3= | |||
|invwygląd4= | |||
|invwygląd5= | |||
|invwygląd6= | |||
|invwygląd7= | |||
|invwygląd8= | |||
|invwygląd9= | |||
|invwygląd10= | |||
|invwygląd11= | |||
|typ= | |typ= | ||
|otherosonly= | |||
|wytrzymałość= | |wytrzymałość= | ||
|łączenie= | |łączenie= | ||
|data= | |data= | ||
|firstver= | |||
}}</pre> | }}</pre> | ||
| Linia 26: | Linia 30: | ||
{| class=grid style="background-color: transparent;" | {| class=grid style="background-color: transparent;" | ||
! | ! Parameter | ||
! | ! Function | ||
! | ! Default/Example value | ||
|- | |||
| <code>title</code> || Opcjonalny parametr do użycia innej nazwy niż nazwa artykułu || <code><nowiki>{{BASEPAGENAME}}</nowiki></code> | |||
|- | |||
| <code>image</code> || Obraz przedmiotu (150x150px) || <code><nowiki>{{{title}}}.png</nowiki></code> [[:Plik:No image.png|No image.png]] | |||
|- | |||
| <code>image2</code> || Obraz przedmiotu (150x150px) || ''None'' | |||
|- | |||
| <code>image3</code> || Obraz przedmiotu (150x150px) || ''None'' | |||
|- | |||
| <code>invimage</code> || Obraz dla przedmiotu w ekwipunku. Używa '''None''' by zaznaczyć, że nie ma wyglądu w ekwipunku. Używa [[Template:Grid]]. || <code><nowiki>Grid {{{title}}}.png</nowiki></code> | |||
|- | |||
| <code>invimage2</code> || Second image for two-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | |||
|- | |||
| <code>invimage3</code> || Third image for three-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | |||
|- | |||
| <code>invimage4</code> || Fourth image for four-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | |||
|- | |||
| <code>invimage5</code> || Fifth image for five-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | |||
|- | |||
| <code>invimage6</code> || Sixth image for six-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | |||
|- | |||
| <code>invimage7</code> || Seventh image for seven-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | |||
|- | |||
| <code>invimage8</code> || Eighth image for eight-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | |||
|- | |||
| <code>invimage9</code> || Ninth image for nine-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | |||
|- | |||
| <code>invimage10</code> || Tenth image for ten-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | |||
|- | |- | ||
| <code> | | <code>invimage11</code> || Eleventh image for eleven-state objects in inventory. Uses [[Template:Grid]]. || ''None'' | ||
|- | |- | ||
| <code> | | <code>type</code> || Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) || ? | ||
|- | |- | ||
| <code> | | <code>otherosonly</code> || For use if the item is only available in a specific version of Minecraft. || ''None'' | ||
|- | |- | ||
| <code> | | <code>durability</code> || How durable the item is || N/A | ||
|- | |- | ||
| <code> | | <code>stackable</code> || Stackable || ? | ||
|- | |- | ||
| <code> | | <code>data</code> || Single decimal data value || ''None'' | ||
|- | |- | ||
| <code> | | <code>multipledata</code> || Multiple decimal data values, use {{tl|dv}} || ''None'' | ||
|- | |- | ||
| <code> | | <code>firstver</code> || First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a). || ''None'' | ||
|} | |} | ||
== Zobacz też == | ==Zobacz też== | ||
{{Infobox see also}} | {{Infobox see also}} | ||
{{doc/end}} | {{doc/end}}<noinclude> | ||
[[:en:Template:Item/doc]] | |||
[[:fr:Modèle:Objet/doc]] | |||
</noinclude> | |||
Wersja z 17:48, 12 lis 2011
Szablon powinien być użyty w artykułach o przedmiotach. Wyjątek stanowią przedmioty odnawiające życie. Dodaje się do nich Szablon:Jedzenie.
{{Przedmiot
|nazwa=
|wygląd1=
|wygląd2=
|wygląd3=
|invwygląd=
|invwygląd2=
|invwygląd3=
|invwygląd4=
|invwygląd5=
|invwygląd6=
|invwygląd7=
|invwygląd8=
|invwygląd9=
|invwygląd10=
|invwygląd11=
|typ=
|otherosonly=
|wytrzymałość=
|łączenie=
|data=
|firstver=
}}
Please note that if the item has multiple data values, use |multipledata= instead. See below:
| Parameter | Function | Default/Example value |
|---|---|---|
title |
Opcjonalny parametr do użycia innej nazwy niż nazwa artykułu | {{BASEPAGENAME}}
|
image |
Obraz przedmiotu (150x150px) | {{{title}}}.png No image.png
|
image2 |
Obraz przedmiotu (150x150px) | None |
image3 |
Obraz przedmiotu (150x150px) | None |
invimage |
Obraz dla przedmiotu w ekwipunku. Używa None by zaznaczyć, że nie ma wyglądu w ekwipunku. Używa Template:Grid. | Grid {{{title}}}.png
|
invimage2 |
Second image for two-state objects in inventory. Uses Template:Grid. | None |
invimage3 |
Third image for three-state objects in inventory. Uses Template:Grid. | None |
invimage4 |
Fourth image for four-state objects in inventory. Uses Template:Grid. | None |
invimage5 |
Fifth image for five-state objects in inventory. Uses Template:Grid. | None |
invimage6 |
Sixth image for six-state objects in inventory. Uses Template:Grid. | None |
invimage7 |
Seventh image for seven-state objects in inventory. Uses Template:Grid. | None |
invimage8 |
Eighth image for eight-state objects in inventory. Uses Template:Grid. | None |
invimage9 |
Ninth image for nine-state objects in inventory. Uses Template:Grid. | None |
invimage10 |
Tenth image for ten-state objects in inventory. Uses Template:Grid. | None |
invimage11 |
Eleventh image for eleven-state objects in inventory. Uses Template:Grid. | None |
type |
Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) | ? |
otherosonly |
For use if the item is only available in a specific version of Minecraft. | None |
durability |
How durable the item is | N/A |
stackable |
Stackable | ? |
data |
Single decimal data value | None |
multipledata |
Multiple decimal data values, use {{dv}} |
None |
firstver |
First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a). | None |