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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja nieprzejrzana]
d Utworzył nową stronę „{{doc/start}} This template creates a health bar. {| class="wikitable" ! Parameter ! Function ! Default value |- | <code>1</code> || Integer health value between 0 and...”
 
Tomciu2 (dyskusja | edycje)
Nie podano opisu zmian
Linia 1: Linia 1:
{{doc/start}}
{{doc/start}}
This template creates a health bar.
Ten szablon wyświetla pasek życia.


{| class="wikitable"
{| class="wikitable"
! Parameter
! Parametr
! Function
! Funkcja
! Default value
! Wartość domyślna
|-
|-
| <code>1</code> || Integer health value between 0 and 32. Empty heart = 0, half heart = 1, full heart = 2, see examples below. || 0
| <code>1</code> || Wartość całkowita punktów życia. Puste serduszko = 0, pół serduszka = 1, całe serduszko = 2 (przykłady poniżej). || 0
|-
| <code>2</code> || Szerokość każdej ikony. || 18px
|-
| <code>zatruty</code> || Wyświetla żółto-zielony pasek zatrutych serduszek. || 0
|-
| <code>hardcore</code> || Wyświetla wersję serduszek, z trybu hardcore. || 0
|-
|-
| <code>2</code> || Width of each icon in CSS units like "px" or "em". || 18px
|}
|}


{| class="wikitable"
{| class="wikitable"
! Code
! Kode
! Result
! Rezultat
|-
|-
| <nowiki>{{healthbar}}</nowiki> || {{healthbar}}
| <nowiki>{{healthbar}}</nowiki> || {{healthbar}}
Linia 21: Linia 26:
|-
|-
| <nowiki>{{healthbar|1}}</nowiki> || {{healthbar|1}}
| <nowiki>{{healthbar|1}}</nowiki> || {{healthbar|1}}
|-
| <nowiki>{{healthbar|1|zatruty=1}}</nowiki> || {{healthbar|1|zatruty=1}}
|-
| <nowiki>{{healthbar|1|hardcore=1}}</nowiki> || {{healthbar|1|hardcore=1}}
|-
| <nowiki>{{healthbar|1|zatruty=1|hardcore=1}}</nowiki> || {{healthbar|1|zatruty=1|hardcore=1}}
|-
|-
| <nowiki>{{healthbar|2}}</nowiki> || {{healthbar|2}}
| <nowiki>{{healthbar|2}}</nowiki> || {{healthbar|2}}
|-
| <nowiki>{{healthbar|2|zatruty=1}}</nowiki> || {{healthbar|2|zatruty=1}}
|-
| <nowiki>{{healthbar|2|hardcore=1}}</nowiki> || {{healthbar|2|hardcore=1}}
|-
| <nowiki>{{healthbar|2|zatruty=1|hardcore=1}}</nowiki> || {{healthbar|2|zatruty=1|hardcore=1}}
|-
|-
| <nowiki>{{healthbar|5}}</nowiki> || {{healthbar|5}}
| <nowiki>{{healthbar|5}}</nowiki> || {{healthbar|5}}
|-
| <nowiki>{{healthbar|5|zatruty=1}}</nowiki> || {{healthbar|5|zatruty=1}}
|-
| <nowiki>{{healthbar|5|hardcore=1}}</nowiki> || {{healthbar|5|hardcore=1}}
|-
| <nowiki>{{healthbar|5|zatruty=1|hardcore=1}}</nowiki> || {{healthbar|5|zatruty=1|hardcore=1}}
|-
|-
| <nowiki>{{healthbar|20}}</nowiki> || {{healthbar|20}}
| <nowiki>{{healthbar|20}}</nowiki> || {{healthbar|20}}
|-
|-
| <nowiki>{{healthbar|10|10px}}</nowiki> || {{healthbar|10|10px}}
| <nowiki>{{healthbar|20|zatruty=1}}</nowiki> || {{healthbar|20|zatruty=1}}
|-
| <nowiki>{{healthbar|20|hardcore=1}}</nowiki> || {{healthbar|20|hardcore=1}}
|-
| <nowiki>{{healthbar|20|zatruty=1|hardcore=1}}</nowiki> || {{healthbar|20|zatruty=1|hardcore=1}}
|-
| <nowiki>{{healthbar|10|9px}}</nowiki> || {{healthbar|10|9px}}
|-
|-
| <nowiki>{{healthbar|6|48px}}</nowiki> || {{healthbar|6|48px}}
| <nowiki>{{healthbar|10|9px|zatruty=1}}</nowiki> || {{healthbar|10|9px||zatruty=1}}
|-
| <nowiki>{{healthbar|10|9px||hardcore=1}}</nowiki> || {{healthbar|10|9px||hardcore=1}}
|-
| <nowiki>{{healthbar|10|9px||zatruty=1|hardcore=1}}</nowiki> || {{healthbar|10|9px||zatruty=1|hardcore=1}}
|-
| <nowiki>{{healthbar|6|45px}}</nowiki> || {{healthbar|6|45px}}
|-
| <nowiki>{{healthbar|6|45px|zatruty=1}}</nowiki> || {{healthbar|6|45px|zatruty=1}}
|-
| <nowiki>{{healthbar|6|45px|hardcore=1}}</nowiki> || {{healthbar|6|45px|hardcore=1}}
|-
| <nowiki>{{healthbar|6|45px|zatruty=1|hardcore=1}}</nowiki> || {{healthbar|6|45px|zatruty=1|hardcore=1}}
|}
|}
{{doc/end}}
 
== See also ==
{{Iconbar see also}}
{{doc/end}}<noinclude>
[[en:Template:Healthbar/doc]]
[[fr:Modèle:Cœurs/doc]]
</noinclude>

Wersja z 16:46, 24 lut 2012

Szablon:Doc/start Ten szablon wyświetla pasek życia.

Parametr Funkcja Wartość domyślna
1 Wartość całkowita punktów życia. Puste serduszko = 0, pół serduszka = 1, całe serduszko = 2 (przykłady poniżej). 0
2 Szerokość każdej ikony. 18px
zatruty Wyświetla żółto-zielony pasek zatrutych serduszek. 0
hardcore Wyświetla wersję serduszek, z trybu hardcore. 0
Kode Rezultat
{{healthbar}}
{{healthbar|0|9px}}
{{healthbar|1}}
{{healthbar|1|zatruty=1}}
{{healthbar|1|hardcore=1}}
{{healthbar|1|zatruty=1|hardcore=1}}
{{healthbar|2}}
{{healthbar|2|zatruty=1}}
{{healthbar|2|hardcore=1}}
{{healthbar|2|zatruty=1|hardcore=1}}
{{healthbar|5}}
{{healthbar|5|zatruty=1}}
{{healthbar|5|hardcore=1}}
{{healthbar|5|zatruty=1|hardcore=1}}
{{healthbar|20}}
{{healthbar|20|zatruty=1}}
{{healthbar|20|hardcore=1}}
{{healthbar|20|zatruty=1|hardcore=1}}
{{healthbar|10|9px}}
{{healthbar|10|9px|zatruty=1}}
{{healthbar|10|9px||hardcore=1}}
{{healthbar|10|9px||zatruty=1|hardcore=1}}
{{healthbar|6|45px}}
{{healthbar|6|45px|zatruty=1}}
{{healthbar|6|45px|hardcore=1}}
{{healthbar|6|45px|zatruty=1|hardcore=1}}

See also

Szablon:Iconbar see also Szablon:Doc/end