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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja przejrzana]
KsawiBOT (dyskusja | edycje)
d KsawiBOT przeniósł stronę Szablon:Iconbar/doc na Szablon:Iconbar/opis, bez pozostawienia przekierowania pod starym tytułem: Przeniesienie dokumentacji z "/doc" do "/opis"
KsawiBOT (dyskusja | edycje)
d standaryzacja szablonu dokumentacji
 
Linia 1: Linia 1:
{{doc/start}}
{{Dokumentacja/Nagłówek}}
This template creates a bar made of icons.
This template creates a bar made of icons.


Linia 30: Linia 30:
| <code>reverse</code> || Set to 1 to display half images on the left instead of the right || 0
| <code>reverse</code> || Set to 1 to display half images on the left instead of the right || 0
|}
|}
{{doc/end}}

Aktualna wersja na dzień 20:56, 5 wrz 2021

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

This template creates a bar made of icons.

{{iconbar
|value=
|size=
|icon_full=
|icon_half=
|icon_empty=
|reverse=
}}
Parameter Function Default value
value Integer value between 0 and 20. Half icon = 1, full icon = 2, full icon + half icon = 3 and so on. 0
size Width of each icon in CSS units like "px" or "em". None
icon_full Icon used for even values like 2, 4, 6, etc. None
icon_half Icon used at the end of the bar for uneven values like 1, 3, 5, etc. None
icon_empty Icon used if value is 0 None
reverse Set to 1 to display half images on the left instead of the right 0