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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja przejrzana][wersja przejrzana]
KsawiBOT (dyskusja | edycje)
d standaryzacja szablonu dokumentacji
dNie podano opisu zmian
 
Linia 5: Linia 5:
* {{tl|EnvSprite}}
* {{tl|EnvSprite}}
* {{tl|ItemSprite}}
* {{tl|ItemSprite}}
* {{tl|MobSprite}}
* {{tl|EntitySprite}}


The first parameter must specify one of the sprite templates mentioned above, the second one contains the desired link, which can optionally be named with the third parameter. The sprite can be customized with the parameter <code>id</code> if it's not recognized correctly.
The first parameter must specify one of the sprite templates mentioned above, the second one contains the desired link, which can optionally be named with the third parameter. The sprite can be customized with the parameter <code>id</code> if it's not recognized correctly.
Linia 15: Linia 15:
! Result
! Result
|-
|-
| <code><nowiki>{{SpriteLink|MobSprite|Creeper}}</nowiki></code> || {{SpriteLink|MobSprite|Creeper}}
| <code><nowiki>{{SpriteLink|EntitySprite|Creeper}}</nowiki></code> || {{SpriteLink|EntitySprite|Creeper}}
|-
|-
| <code><nowiki>{{SpriteLink|ItemSprite|Ryba|id=cooked-fish}}</nowiki></code> || {{SpriteLink|ItemSprite|Ryba|id=cooked-fish}}
| <code><nowiki>{{SpriteLink|ItemSprite|Ryba|id=cooked-fish}}</nowiki></code> || {{SpriteLink|ItemSprite|Ryba|id=cooked-fish}}
Linia 30: Linia 30:
* {{tl|EnvLink}}
* {{tl|EnvLink}}
* {{tl|ItemLink}}
* {{tl|ItemLink}}
* {{tl|MobLink}}
* {{tl|EntityLink}}
* {{tl|SpriteLink}}
* {{tl|SpriteLink}}

Aktualna wersja na dzień 20:22, 19 lut 2025

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

This templates creates a page link with an associated sprite image on the left side using the IDs from one of these templates:

The first parameter must specify one of the sprite templates mentioned above, the second one contains the desired link, which can optionally be named with the third parameter. The sprite can be customized with the parameter id if it's not recognized correctly.

Examples

Code Result
{{SpriteLink|EntitySprite|Creeper}} EntityCSS.png/14 Creeper
{{SpriteLink|ItemSprite|Ryba|id=cooked-fish}} ItemCSS.png/384 Ryba
{{SpriteLink|BlockSprite|Kamień}} BlockCSS_new.png/1132 Kamień
{{SpriteLink|EnvSprite|Słońce|Shiny!}} EnvCSS.png/15 Shiny!

See also