Änderungen

Wechseln zu: Navigation, Suche

Vorlage:Item infobox/infoboxView

309 Bytes hinzugefügt, vor 3 Monaten
keine Bearbeitungszusammenfassung
<includeonly><!--
 
-->{{item/options/snap|smallicons=yitem|for_item_infobox_infoboxView}}{{eicons/options/set|smallitem|smallicons=y}}<!--
-->{{item/options|reset}}{{eicons/options|resetsmall=y}}<!--
 
--><div class="infobox item {{#if:{{#var:ii:ext:float}}|float-{{#var:ii:ext:float}}}}" style="{{#if:{{#var:ii:ext:boxwidth}}|width:{{#var:ii:ext:boxwidth}};}}{{#var:ii:ext:css}};{{#var:ii:ext:style}}"><!--
-->{{#if:{{#var:ii:hammer}}{{#var:ii:pick}}{{#var:ii:axe}}|<!--
--><ul class="toolpower"><!--
--><li title="{{l10n|item_infobox|pickaxe_power}}" class="{{#if:{{#var:ii:pick}}||class="zero"}} pickaxe">[[File:Pickaxe iconmask.png|16px|link=]] {{percent|{{#iferror:{{#expr:{{#var:ii:pick}}+1}}|{{inline block|css=text-align:left;|{{#var:ii:pick}}}}|{{#var:ii:pick|0}}%}}}}</li><!--
--><li title="{{l10n|item_infobox|hammer_power}}" class="{{#if:{{#var:ii:hammer}}||class="zero"}} hammer">[[File:Hammer iconmask.png|16px|link=]] {{percent|{{#iferror:{{#expr:{{#var:ii:hammer}}+1}}|{{inline block|css=text-align:left;|{{#var:ii:hammer}}}}|{{#var:ii:hammer|0}}%}}}}</li><!--
--><li title="{{l10n|item_infobox|axe_power}}" class="{{#if:{{#var:ii:axe}}||class="zero"}} axe">[[File:Axe iconmask.png|16px|link=]] {{percent|{{#iferror:{{#expr:{{#var:ii:axe}}+1}}|{{inline block|css=text-align:left;|{{#var:ii:axe}}}}|{{#var:ii:axe|0}}%}}}}</li><!--
--></ul><!--
-->}}<!--
-->{{#if:{{#var:ii:pickreq}}|<!--
--><ul class="toolpower"><!--
--><li title="{{l10n|item_infobox|pickreq}}">[[File:Pickaxe icon.png|16px|link=]] {{percent|{{#iferror:{{#expr:{{#var:ii:pickreq}}+1}}|{{inline block|css=text-align:left;|{{#var:ii:pickreq}}}}|{{#var:ii:pickreq|0}}%}}}}</li><!--
--></ul><!--
-->}}<!--
-->{{#if:{{#var:ii:hammerreq}}|<!--
--><ul class="toolpower"><!--
--><li title="{{l10n|item_infobox|hammerreq}}">[[File:Hammer icon.png|16px|link=]] {{percent|{{#iferror:{{#expr:{{#var:ii:hammerreq}}+1}}|{{inline block|css=text-align:left;|{{#var:ii:hammerreq}}}}|{{#var:ii:hammerreq|0}}%}}}} {{note|small=y|{{l10n|item_infobox|hammerreq_note}}}}</li><!--
--></ul><!--
-->}}<!--
--><td><div class="tags">{{#lstmap:{{#var:ii:types}}|/|@@@@|<!--
--><esc><!--
-->{{#vardefine:_typepage|{{#or:{{l10n|item_infobox|typepage:{{lcfirst:@@@@}}}}|{{tr|{{ucfirst:@@@@}}|de|link=y}}}}}}<!--
-->{{#vardefine:_typetext|{{#or:{{l10n|item_infobox|type:{{lcfirst:@@@@}}}}|{{tr|{{ucfirst:@@@@}}|de}}}}}}<!--
-->{{nowrap|class=tag|{{ifexists|{{#var:_typepage}}|[[{{#var:_typepage}}|{{#var:_typetext}}]]|{{#var:_typetext}}}}}}<!--
--></esc><!--
--><tr><!--
--><th>{{l10n|item_infobox|th:velocity}}</th><!--
--><td>{{formatnum:{{#var:ii:velocity}}}}<!--
-->{{#ifeqformatnum:{{#var:ii:velocity}}|{{#var:ii:rawVelocity}}||<!-- if there is extraUpdates
-->{{#ifexpr:{{#var:ii:extraUpdates|0}}>0|<!--
-->{{#if:{{#var:ii:useammo}}|<!--
--><small>&#32;{{l10n|item_infobox|velocityignoreammo}}</small><!--
--><td>{{buff|id={{#var:ii:mobilebuff}}{{#var:ii:idbuff}}|class=break}}</td><!--
-->|<!--
--><td>{{item|{{#var:ii:bufflink|{{#var:ii:buff}}}}|{{tr|{{#var:ii:buff}}|de}}|class=break}}</td><!--
-->}}<!--
--></tr><!--
--><ul class="infobox-{{#if:{{#var:ii:ext:projectileblock}}|block|inline}}"><!--
-->{{#lstmap:{{#var:ii:idprojectile}}|,|@@@@|<esc><li><!--
--><div class="name">{{#vardefineecho:_pname|{{tr|{{getProjectileInfoProjectileNameFromId|@@@@|name}}}}}}</div><!-- //ProjectileNameFromId is i18nready, so no {{tr}} here.
--><div class="image">[[File:{{getProjectileInfo|@@@@|image}}|{{#var:_pname}}|link=]]</div><!--
--></li></esc>|}}<!--
--></div><!--END div.infobox
 
-->{{options/restore|item|for_item_infobox_infoboxView}}<!--
-->{{item/options|reset}}{{eicons/options|reset}}<!--
-->{{eicons/options|reset}}<!--
 
--></includeonly><!--
5.120

Bearbeitungen