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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja przejrzana]
Utworzył nową stronę „<includeonly>{{nowrap|{{{{{1}}}|{{#if: {{{id|}}} | {{{id}}} | {{lc:{{#replace:{{{2|}}}| |-}}}} }}|link={{{2|}}}}} [[{{{2|}}}|{{ #if: {{{3|}}} | {{{3}}} | {{{2|}}} }}]]}...”
 
KsawiBOT (dyskusja | edycje)
d standaryzacja szablonu dokumentacji
 
(Nie pokazano 1 wersji utworzonej przez jednego użytkownika)
Linia 1: Linia 1:
<includeonly>{{nowrap|{{{{{1}}}|{{#if: {{{id|}}} | {{{id}}} | {{lc:{{#replace:{{{2|}}}| |-}}}} }}|link={{{2|}}}}} [[{{{2|}}}|{{ #if: {{{3|}}} | {{{3}}} | {{{2|}}} }}]]}}</includeonly><noinclude>
<includeonly>{{nowrap|{{{{{1}}}|{{#if: {{{id|}}} | {{{id}}} | {{lc:{{#replace:{{{2|}}}| |-}}}} }}|link={{{2|}}}}} [[{{{2|}}}|{{ #if: {{{3|}}} | {{{3}}} | {{{2|}}} }}]]}}</includeonly><noinclude>
{{/doc}}
{{Dokumentacja}}


[[Kategoria:Szablony|S]]</noinclude>
[[Kategoria:Szablony|S]]</noinclude>

Aktualna wersja na dzień 15:34, 6 wrz 2021

[ podgląd | edytuj | historia | odśwież ]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