Szablon:Byty/opis: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja przejrzana]
Slawko97 (dyskusja | edycje)
Nie podano opisu zmian
KsawiBOT (dyskusja | edycje)
d standaryzacja szablonu dokumentacji
 
(Nie pokazano 4 wersji utworzonych przez 3 użytkowników)
Linia 1: Linia 1:
{{doc/start}}
{{Dokumentacja/Nagłówek}}
{{Entity}}
{{Entity}}
This template provides a uniform design for items that create an in-game Entity, but are not mobs. For mobs, use [[Template:Mob]] instead.
Szablon pokazuje w formie tabeli wszystkie dostępne byty w grze. Dla szablonu opisującego konkretnego moba w formie infoboxu, zobacz [[Szablon:Mob]].
<pre width="30px">
{{Entity
|base=
|title=
|image=
|invimage=
|invimage2=
|type=
|durability=
|stackable=
|data=
|firstver=
|id=
|entityid=
}}</pre>
 
Please note that if the item has multiple data values, use <code><nowiki>|multipledata=</nowiki></code> instead. See below:
 
{| class=grid style="background-color: transparent;"
! Parameter
! Function
! Default/Example value
|-
| <code>base</code> || Selects whether to base template off of Block or Item. || Item
|-
| <code>title</code> || Optional value to use a different name instead of the page name || <code><nowiki>{{BASEPAGENAME}}</nowiki></code>
|-
| <code>image</code> || Image of the block (should be approx. 150x150px) || <code><nowiki>{{BASEPAGENAME}}.png</nowiki></code> if it exists, otherwise [[:Plik:No image.svg|No image.svg]]
|-
| <code>invimage</code> || Image for object in inventory. Can use '''None''' to force no invimage.  Uses styling and images from [[Szablon:Grid/Dostępne pliki]] || <code><nowiki>Grid {{BASEPAGENAME}}.png</nowiki></code> if it exists, otherwise ''None''
|-
| <code>invimage2</code> || Second image for two-state objects in inventory. Uses styling and images from [[Szablon:Grid/Dostępne pliki]] || ''None''
|-
| <code>type</code> || Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) || ?
|-
| <code>durability</code> || How durable the item is || N/A
|-
| <code>stackable</code> || Stackable || ?
|-
| <code>data</code> || Single decimal data value || ''None''
|-
| <code>multipledata</code> || Multiple decimal data values, use {{tl|dv}} || ''None''
|-
| <code>firstver</code> || First version that it was seen in (eg. Alpha 1.0.17, classic 0.0.23a). || ''None''
|-
| <code>id</code> || Entity's ID number as seen in network traffic || ?
|-
| <code>entityid</code> || Entity's EntityID as seen in saved games || ?
|}


== Zobacz też ==
== Zobacz też ==
{{Infobox see also}}
{{Infobox see also}}
{{doc/end}}

Aktualna wersja na dzień 20:42, 5 wrz 2021

To jest strona dokumentacji, powinna ona być dołączona na stronie głównej. Aby uzyskać więcej informacji sprawdź Szablon:Dokumentacja.

Szablon pokazuje w formie tabeli wszystkie dostępne byty w grze. Dla szablonu opisującego konkretnego moba w formie infoboxu, zobacz Szablon:Mob.

Zobacz też