Szablon:SpriteLink/opis: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
| [wersja przejrzana] | [wersja przejrzana] |
d standaryzacja szablonu dokumentacji |
dNie podano opisu zmian |
||
| Linia 5: | Linia 5: | ||
* {{tl|EnvSprite}} | * {{tl|EnvSprite}} | ||
* {{tl|ItemSprite}} | * {{tl|ItemSprite}} | ||
* {{tl| | * {{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| | | <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| | * {{tl|EntityLink}} | ||
* {{tl|SpriteLink}} | * {{tl|SpriteLink}} | ||
Aktualna wersja na dzień 20:22, 19 lut 2025
[odśwież]
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:
{{BlockSprite}}{{EnvSprite}}{{ItemSprite}}{{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 id if it's not recognized correctly.
Examples
| Code | Result |
|---|---|
{{SpriteLink|EntitySprite|Creeper}} |
Creeper |
{{SpriteLink|ItemSprite|Ryba|id=cooked-fish}} |
Ryba |
{{SpriteLink|BlockSprite|Kamień}} |
Kamień |
{{SpriteLink|EnvSprite|Słońce|Shiny!}} |
Shiny! |
See also
{{BlockLink}}{{EnvLink}}{{ItemLink}}{{EntityLink}}{{SpriteLink}}



