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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja nieprzejrzana]
Tomciu2 (dyskusja | edycje)
Nie podano opisu zmian
aktualizacja na bazie angielskiej wiki
Linia 1: Linia 1:
<includeonly>{{iconbar
<includeonly>{{#invoke: Iconbar | bar
|icon_full={{ #if: {{{zatruty|}}} | Poisoned }} {{ #if: {{{hardcore|}}} | Hardcore }} Heart.png
| full = {{
|icon_half={{ #if: {{{zatruty|}}} | Poisoned }} {{ #if: {{{hardcore|}}} | Hardcore }} Half Heart.png
#if: {{{mob|}}}
|icon_empty=Empty_Heart.png
| Mob
|size={{ #if: {{{2|}}} | {{{2}}} | 18px }}
| {{#if: {{{poisoned|}}}
|value={{ #if: {{{1|}}} | {{{1}}} | 0 }}
  | Poisoned
  | {{#if: {{{withered|}}}
    | Withered
    | {{#if: {{{absorption|}}} | Absorption }}
    }}
  }} {{#if: {{{hardcore|}}} | Hardcore }}
}} Heart.svg
| half = {{
#if: {{{mob|}}}
| Mob
| {{#if: {{{poisoned|}}}
  | Poisoned
  | {{#if: {{{withered|}}}
    | Withered
    | {{#if: {{{absorption|}}} | Absorption }}
    }}
  }} {{#if: {{{hardcore|}}} | Hardcore }}
}} Half Heart.svg
| empty = Empty Heart.svg
| size = {{#if: {{{2|}}} | {{{2}}} | 18px }}
| value = {{{1|}}}
| title = {{#if: {{{1|}}} | {{{1}}} | 0 }} {{
#if: {{{poisoned|}}}{{{withered|}}}{{{hardcore|}}}{{{mob|}}}{{{absorption|}}}
| ({{#if: {{{mob|}}}
  | mob
  | {{#if: {{{poisoned|}}}
    | poisoned{{#if: {{{hardcore|}}} | ,&#32; }}
    | {{#if: {{{withered|}}}
      | withered{{#if: {{{hardcore|}}} | ,&#32; }}
      | {{#if: {{{absorption|}}} | absorption{{#if: {{{hardcore|}}} | ,&#32; }} }}
      }}
    }}{{#if: {{{hardcore|}}} | hardcore }}
  }})
}}
| reverse = {{#if: {{{mob|}}} | 1 }}
| min = {{{total|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Szablon:Healthbar/doc}}
{{documentation}}
 
<!-- Put categories/interwiki on the documentation page -->
[[Kategoria:Szablony|H]]</noinclude>
</noinclude>

Wersja z 11:01, 16 mar 2018