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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja nieprzejrzana]
do spolszczenia :/
 
Slawko97 (dyskusja | edycje)
Nie podano opisu zmian
Linia 29: Linia 29:
| <code>title</code> || Optional value to use a different name instead of the page name || <code><nowiki>{{BASEPAGENAME}}</nowiki></code>
| <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 [[:File:No image.svg|No image.svg]]
| <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 [[Template:Grid/Available images]] || <code><nowiki>Grid {{BASEPAGENAME}}.png</nowiki></code> if it exists, otherwise ''None''
| <code>invimage</code> || Image for object in inventory. Can use '''None''' to force no invimage.  Uses styling and images from [[Template:Grid/Available images]] || <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 [[Template:Grid/Available images]] || ''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>type</code> || Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) || ?
Linia 52: Linia 52:
|}
|}


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

Wersja z 14:25, 26 kwi 2012

Szablon:Doc/start

This template provides a uniform design for items that create an in-game Entity, but are not mobs. For mobs, use Template:Mob instead.

{{Entity
|base=
|title=
|image=
|invimage=
|invimage2=
|type=
|durability=
|stackable=
|data=
|firstver=
|id=
|entityid=
}}

Please note that if the item has multiple data values, use |multipledata= instead. See below:

Parameter Function Default/Example value
base Selects whether to base template off of Block or Item. Item
title Optional value to use a different name instead of the page name {{BASEPAGENAME}}
image Image of the block (should be approx. 150x150px) {{BASEPAGENAME}}.png if it exists, otherwise No image.svg
invimage Image for object in inventory. Can use None to force no invimage. Uses styling and images from Template:Grid/Available images Grid {{BASEPAGENAME}}.png if it exists, otherwise None
invimage2 Second image for two-state objects in inventory. Uses styling and images from Szablon:Grid/Dostępne pliki None
type Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) ?
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 (eg. Alpha 1.0.17, classic 0.0.23a). None
id Entity's ID number as seen in network traffic ?
entityid Entity's EntityID as seen in saved games ?

Zobacz też

Szablon:Doc/end