Szablon:Blok: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
| [wersja nieprzejrzana] | [wersja nieprzejrzana] |
d Zabezpieczył Szablon:Block ([edit=sysop] (na zawsze) [move=sysop] (na zawsze)) |
Nie podano opisu zmian |
||
| Linia 9: | Linia 9: | ||
{{#if:{{{invimage|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{invimage}}}|36px|center]]</td></tr>}} | {{#if:{{{invimage|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{invimage}}}|36px|center]]</td></tr>}} | ||
{{#if:{{{invimage2|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{invimage2}}}|36px|center]]</td></tr>}} | {{#if:{{{invimage2|}}}|<tr valign="top"><td align="center" colspan="2">[[File:{{{invimage2}}}|36px|center]]</td></tr>}} | ||
{{Block/row2|label= | {{Block/row2|label=Typ|field={{{type|?}}}}} | ||
{{#switch:{{lc:{{{type}}}}}|solid block|solid|block = | {{#switch:{{lc:{{{type}}}}}|solid block|solid|block = | ||
{{Block/row|label=Requirements|field={{#switch:{{lc:{{{dirt}}}}}|yes=Sunlight and dirt|no=None|sand=Sunlight and sand|#default={{{dirt|?}}}}}}}}} | {{Block/row|label=Requirements|field={{#switch:{{lc:{{{dirt}}}}}|yes=Sunlight and dirt|no=None|sand=Sunlight and sand|#default={{{dirt|?}}}}}}}}} | ||
{{Block/row2|label= | {{Block/row2|label=Fizyka|field={{{gravity|?}}}}} | ||
{{Block/row|label= | {{Block/row|label=Przezroczystość|field={{{transparent|?}}}}} | ||
{{Block/row2|label=Luminance|field={{{light|?}}}}} | {{Block/row2|label=Luminance|field={{{light|?}}}}} | ||
{{Block/row|label=[[TNT# | {{Block/row|label=[[TNT#Odporności|Odporność TNT]]|field={{{tntres|? blocks}}}}} | ||
{{Block/row2|label= | {{Block/row2|label=Narzędzia{{#if:{{{tool2|}}}|s}}|field={{#switch:{{lc:{{{tool|{{{Tool}}}}}}}}<!-- | ||
-->|pick|pickaxe=[[File:Use-pickaxe.png|32px|link=Tools#Pickaxe|Pickaxe]]<!-- | -->|pick|pickaxe|kilof=[[File:Use-pickaxe.png|32px|link=Tools#Pickaxe|Pickaxe]]<!-- | ||
-->|spade|shovel=[[File:Use-spade.png|32px|link=Tools#Shovel|Shovel]]<!-- | -->|spade|shovel|łopata|szpadel=[[File:Use-spade.png|32px|link=Tools#Shovel|Shovel]]<!-- | ||
-->|axe=[[File:Use-axe.png|32px|link=Tools#Axe|Axe]]<!-- | -->|axe|topór=[[File:Use-axe.png|32px|link=Tools#Axe|Axe]]<!-- | ||
-->|hoe=[[File:Use-hoe.png|32px|link=Tools#Hoe|Hoe]]<!-- | -->|hoe|motyka=[[File:Use-hoe.png|32px|link=Tools#Hoe|Hoe]]<!-- | ||
-->|bucket|pail=[[File:Use-bucket.png|32px|link=Tools#Bucket|Bucket]]<!-- | -->|bucket|pail|wiadro=[[File:Use-bucket.png|32px|link=Tools#Bucket|Bucket]]<!-- | ||
-->|sword=[[File:Use-sword.png|32px|link=Tools#Sword|Sword]]<!-- | -->|sword|miecz=[[File:Use-sword.png|32px|link=Tools#Sword|Sword]]<!-- | ||
-->|n/a|none=None<!-- | -->|n/a|none|brak|-=None<!-- | ||
-->|all|alltools|any|anytool=Any tool<!-- | -->|all|alltools|any|anytool|wszystko=Any tool<!-- | ||
-->|#default=?}}<!-- | -->|#default=?}}<!-- | ||
-->{{#if:{{{tool2|}}}|{{#switch:{{lc:{{{tool2}}}}}<!-- | -->{{#if:{{{tool2|}}}|{{#switch:{{lc:{{{tool2}}}}}<!-- | ||
-->|pick|pickaxe=[[File:Use-pickaxe.png|32px|link=Tools#Pickaxe|Pickaxe]]<!-- | -->|kilof|pick|pickaxe=[[File:Use-pickaxe.png|32px|link=Tools#Pickaxe|Pickaxe]]<!-- | ||
-->|spade|shovel=[[File:Use-spade.png|32px|link=Tools#Shovel|Shovel]]<!-- | -->|łopata|szpadel|spade|shovel=[[File:Use-spade.png|32px|link=Tools#Shovel|Shovel]]<!-- | ||
-->|axe=[[File:Use-axe.png|32px|link=Tools#Axe|Axe]]<!-- | -->|topór|axe=[[File:Use-axe.png|32px|link=Tools#Axe|Axe]]<!-- | ||
-->|hoe=[[File:Use-hoe.png|32px|link=Tools#Hoe|Hoe]]}}}}}} | -->|motyka|hoe=[[File:Use-hoe.png|32px|link=Tools#Hoe|Hoe]]}}}}}} | ||
{{Block/row|label=Stackable|field={{{stackable|?}}}}} | {{Block/row|label=Stackable(wiezowy)|field={{{stackable|?}}}}} | ||
{{#switch:{{lc:{{{type}}}}}|fluid = | {{#switch:{{lc:{{{type}}}}}|fluid = | ||
{{Block/row2|label= | {{Block/row2|label=Prędkość przepływu cieczy|field={{{fluidspeed|?}}}}} | ||
{{Block/row|label= | {{Block/row|label=Prędkość przepływu wzdłóż|field={{{movespeed|?}}}}}}} | ||
{{Block/row2|label=[[ | {{Block/row2|label=[[Identyfikatory|Identyfikator]]{{#if:{{{data2|}}}|s|}}|field={{{data|{{#if:{{{datadec|}}}|<!-- | ||
---->|{{#if:{{{data1name|}}}|'''{{{data1name|}}}'''<br />| }}<!-- | ---->|{{#if:{{{data1name|}}}|'''{{{data1name|}}}'''<br />| }}<!-- | ||
Wersja z 17:55, 9 gru 2010
| Blok | |
![]() |
|
| Typ | ? |
| Fizyka | ? |
| Przezroczystość | ? |
| Luminance | ? |
| Odporność TNT | ? blocks |
| Narzędzia | ? |
| Stackable(wiezowy) | ? |
| Identyfikator | dec: 00 hex: 00 |
Documentation
These usage notes will not be included in articles bearing this template.
This template provides a uniform design for block pages.
{{Block
|image
|image2=
|invimage=
|invimage2=
|type=
|gravity=
|dirt=
|transparent=
|light=
|tntres=
|tool=
|stackable=
|data1name=
|data1=
|data2name=
|data2=
|fluidspeed=
|movespeed=
}}
| Parameter | Function | Default value |
|---|---|---|
name |
Only needed to change the name from the page name | {{BASEPAGENAME}}
|
image |
Image of the block (should be approx. 150x150px) | No block image.png |
image2 |
Second image for two-state blocks (also approx. 150x150px) | None |
invimage |
Image for object in inventory (should be approx. 36x36px) | None |
invimage2 |
Second image for two-state objects in inventory (should be approx. 36x36px) | None |
type |
Type (solid block, solid, block, or fluid) | ? |
gravity |
Affected by gravity? | ? |
dirt |
Requires sunlight/dirt? | ? |
transparent |
Allows light to pass through? | ? |
light |
Emits Light? | ? |
tntres |
How many blocks in any direction will a TNT explosion pass through? | ? |
tool |
Tool to use | ? |
stackable |
Stackable | ? |
data1name |
If using multiple data values, specify a name | None |
data1 |
Decimal Data Value 1 | 00 |
data2name |
Data 2's name | None |
data2 |
Decimal Data Value 2 | None |
