mAucun résumé des modifications |
Aucun résumé des modifications |
||
(17 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<includeonly><!-- |
<includeonly><!-- |
||
− | -->{{ |
+ | -->{{options/snap|item|for_item_infobox_infoboxView}}{{options/set|item|smallicons=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}}"><!-- |
--><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}}"><!-- |
||
Ligne 16 : | Ligne 17 : | ||
//images area (images, autoswing, stack) |
//images area (images, autoswing, stack) |
||
--><div class="section images"><!-- |
--><div class="section images"><!-- |
||
− | -->{{#if:{{#var:ii: |
+ | --><ul class="infobox-{{#if:{{#var:ii:ext:imagebreak}}|block|inline}}"><!-- |
− | -- |
+ | -->{{#if:{{#var:ii:imagealt}}|<!-- |
+ | --><li>{{#var:ii:imagealt}}</li><!-- |
||
− | + | -->|<!-- |
|
− | --><ul class="{{#if:{{#var:ii:ext:imagebreak}}|block|inline}}"><!-- |
||
//main image |
//main image |
||
-->{{#if:{{#var:ii:image}}|<li>{{#var:ii:image}}{{#if:{{#var:ii:imageold}}| {{#var:ii:imageold}}}}</li>}}<!-- |
-->{{#if:{{#var:ii:image}}|<li>{{#var:ii:image}}{{#if:{{#var:ii:imageold}}| {{#var:ii:imageold}}}}</li>}}<!-- |
||
Ligne 28 : | Ligne 29 : | ||
//female image |
//female image |
||
-->{{#if:{{#var:ii:imagefemale}}|<li>{{#var:ii:imagefemale}}</li>}}<!-- |
-->{{#if:{{#var:ii:imagefemale}}|<li>{{#var:ii:imagefemale}}</li>}}<!-- |
||
− | --> |
+ | -->}}<!-- |
− | --> |
+ | --></ul><!-- |
//autoswing |
//autoswing |
||
-->{{#if:{{#var:ii:autoswing}}|<!-- |
-->{{#if:{{#var:ii:autoswing}}|<!-- |
||
Ligne 49 : | Ligne 50 : | ||
--><div class="section statistics"><!-- |
--><div class="section statistics"><!-- |
||
--><div class="title">{{l10n|item_infobox|Statistics}}</div><!-- use: last-child to hide when this section is empty. |
--><div class="title">{{l10n|item_infobox|Statistics}}</div><!-- use: last-child to hide when this section is empty. |
||
− | -->{{# |
+ | -->{{#if:{{#var:ii:hammer}}{{#var:ii:pick}}{{#var:ii:axe}}|<!-- |
--><ul class="toolpower"><!-- |
--><ul class="toolpower"><!-- |
||
− | --><li title="{{l10n|item_infobox|pickaxe_power}}">[[File:Pickaxe |
+ | --><li title="{{l10n|item_infobox|pickaxe_power}}" class="{{#if:{{#var:ii:pick}}||zero}} pickaxe">[[File:Pickaxe mask.png|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}}">[[File:Hammer |
+ | --><li title="{{l10n|item_infobox|hammer_power}}" class="{{#if:{{#var:ii:hammer}}||zero}} hammer">[[File:Hammer mask.png|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}}">[[File:Axe |
+ | --><li title="{{l10n|item_infobox|axe_power}}" class="{{#if:{{#var:ii:axe}}||zero}} axe">[[File:Axe mask.png|link=]] {{percent|{{#iferror:{{#expr:{{#var:ii:axe}}+1}}|{{inline block|css=text-align:left;|{{#var:ii:axe}}}}|{{#var:ii:axe|0}}%}}}}</li><!-- |
--></ul><!-- |
--></ul><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{#var:ii:pickreq}}|<!-- |
-->{{#if:{{#var:ii:pickreq}}|<!-- |
||
--><ul class="toolpower"><!-- |
--><ul class="toolpower"><!-- |
||
− | --><li title="{{l10n|item_infobox|pickreq}}">[[File:Pickaxe icon.png|16px|link=]] {{percent|{{#var:ii:pickreq}}%}}</li><!-- |
+ | --><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><!-- |
--></ul><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{#var:ii:hammerreq}}|<!-- |
-->{{#if:{{#var:ii:hammerreq}}|<!-- |
||
--><ul class="toolpower"><!-- |
--><ul class="toolpower"><!-- |
||
− | --><li title="{{l10n|item_infobox|hammerreq}}">[[File:Hammer icon.png|16px|link=]] {{percent|{{#var:ii:hammerreq}}%}} {{note|small=y|{{l10n|item_infobox|hammerreq_note}}}}</li><!-- |
+ | --><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><!-- |
--></ul><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
--><table class="stat"><!-- |
--><table class="stat"><!-- |
||
− | -->{{# |
+ | -->{{#if:{{#var:ii:types}}|<!-- |
--><tr><!-- |
--><tr><!-- |
||
--><th>{{l10n|item_infobox|th:type}}</th><!-- |
--><th>{{l10n|item_infobox|th:type}}</th><!-- |
||
− | --><td><div class="tags">{{# |
+ | --><td><div class="tags">{{#lstmap:{{#var:ii:types}}|/|@@@@|<!-- |
− | --> |
+ | --><esc><!-- |
− | -->{{ |
+ | -->{{#vardefine:_typepage|{{#or:{{l10n|item_infobox|typepage:@@@@}}|{{tr|{{ucfirst:@@@@}}|link=y}}}}}}<!-- |
− | + | -->{{#vardefine:_typetext|{{#or:{{l10n|item_infobox|type:@@@@}}|{{tr|{{ucfirst:@@@@}}}}}}}}<!-- |
|
− | + | -->{{nowrap|class=tag|{{ifexists|{{#var:_typepage}}|[[{{#var:_typepage}}|{{#var:_typetext}}]]|{{#var:_typetext}}}}}}<!-- |
|
− | + | --></esc><!-- |
|
⚫ | |||
− | -->{{#if:{{l10n|item_infobox|type:@@@@}}|{{l10n|item_infobox|type:@@@@}}|{{tr|{{ucfirst:@@@@}}}}}}<!-- |
||
⚫ | |||
⚫ | |||
⚫ | |||
--></tr><!-- |
--></tr><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Ligne 99 : | Ligne 97 : | ||
--><td><!-- |
--><td><!-- |
||
-->{{#var:ii:damage}}<!-- |
-->{{#var:ii:damage}}<!-- |
||
− | -->{{#if:{{#var:ii:damagetype}}| <span class="small-bold"> |
+ | -->{{#if:{{#var:ii:damagetype}}| <span class="small-bold"><!-- |
⚫ | |||
⚫ | |||
⚫ | |||
+ | --></span>}}<!-- |
||
--></td><!-- |
--></td><!-- |
||
--></tr><!-- |
--></tr><!-- |
||
Ligne 135 : | Ligne 137 : | ||
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{#var:ii:placeable}}|<!-- |
-->{{#if:{{#var:ii:placeable}}|<!-- |
||
⚫ | |||
− | {{#arraysearch:ii:types|block|0||<!-- don't display for blocks. ? |
||
− | -->< |
+ | --><th>{{l10n|item_infobox|th:placeable}}</th><!-- |
⚫ | |||
⚫ | |||
− | -- |
+ | -->{{#ifeq:{{#if:{{#var:ii:width}}|y}}{{#if:{{#var:ii:height}}|y}}|y<!-- |
⚫ | |||
⚫ | |||
+ | -->{{#if:{{#var:ii:width}}|<!-- |
||
⚫ | |||
− | -->{{ |
+ | -->{{l10n|item_infobox|wide|$width$={{#var:ii:width}}}}<!-- |
− | + | -->|<!-- |
|
− | -->|<!-- |
+ | -->{{l10n|item_infobox|high|$height$={{#var:ii:height}}}}<!-- |
− | + | -->}}<!-- |
|
− | + | -->|<!-- both exist |
|
− | -->|<!-- |
+ | -->{{l10n|item_infobox|dimensions:format<!-- |
− | -->{{l10n|item_infobox| |
+ | -->|$wide$={{l10n|item_infobox|wide|$width$={{#var:ii:width}}}}<!-- |
− | + | -->|$high$={{l10n|item_infobox|high|$height$={{#var:ii:height}}}}<!-- |
|
⚫ | |||
⚫ | |||
− | + | -->}}<!-- end of ifeq |
|
− | + | --></span>}}</td><!-- |
|
− | + | --></tr><!-- |
|
⚫ | |||
⚫ | |||
-->|{{#if:{{#var:ii:ammo}}||<!-- "place" will consume item, so only needed when not placeable. And not is ammo |
-->|{{#if:{{#var:ii:ammo}}||<!-- "place" will consume item, so only needed when not placeable. And not is ammo |
||
-->{{#if:{{#var:ii:consumable}}|<!-- |
-->{{#if:{{#var:ii:consumable}}|<!-- |
||
Ligne 212 : | Ligne 212 : | ||
--><tr><!-- |
--><tr><!-- |
||
--><th>{{l10n|item_infobox|th:velocity}}</th><!-- |
--><th>{{l10n|item_infobox|th:velocity}}</th><!-- |
||
− | --><td> |
+ | --><td><!-- |
− | -->{{ |
+ | -->{{formatnum:{{#var:ii:velocity}}}}<!-- |
+ | -->{{#ifexpr:{{#var:ii:extraUpdates|0}}>0|<!-- |
||
-->{{#if:{{#var:ii:useammo}}|<!-- |
-->{{#if:{{#var:ii:useammo}}|<!-- |
||
--><small> {{l10n|item_infobox|velocityignoreammo}}</small><!-- |
--><small> {{l10n|item_infobox|velocityignoreammo}}</small><!-- |
||
Ligne 246 : | Ligne 247 : | ||
--><tr><!-- |
--><tr><!-- |
||
--><th>{{l10n|item_infobox|th:rarity}}</th><!-- |
--><th>{{l10n|item_infobox|th:rarity}}</th><!-- |
||
+ | --><td>{{#var:ii:rare}}</td><!-- |
||
− | --><td>{{#iferror:{{#expr:{{#var:ii:rare}}+1}}|{{#switch:{{lc:{{#var:ii:rare}}}}|rainbow|q|quest={{rare|{{#var:ii:rare}}}}|#default={{#var:ii:rare}}}}|{{rare|{{#var:ii:rare}}}}}}</td><!-- |
||
--></tr><!-- |
--></tr><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Ligne 264 : | Ligne 265 : | ||
--><tr><!-- |
--><tr><!-- |
||
--><th>{{l10n|item_infobox|th:sacrifices}}</th><!-- |
--><th>{{l10n|item_infobox|th:sacrifices}}</th><!-- |
||
− | --><td>{{ |
+ | --><td>{{journey|nolink=y|{{l10n|item_infobox|sacrifices|$amount$={{#var:ii:sacrifices}}}}}}</td><!-- |
--></tr><!-- |
--></tr><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Ligne 270 : | Ligne 271 : | ||
--></div><!-- div.section.statistics |
--></div><!-- div.section.statistics |
||
− | -->{{#if:{{#var:ii: |
+ | -->{{#if:{{#var:ii:buffs}}|<!-- |
--><div class="section buff"><!-- |
--><div class="section buff"><!-- |
||
− | --><div class="title">{{l10n|item_infobox|{{# |
+ | --><div class="title">{{l10n|item_infobox|buffcreated|$buff_count$={{#lstcnt:{{#var:ii:buffs}}|₪}}}}</div><!-- |
− | --><table class="stat"><!-- |
+ | -->{{#lstmap:{{#var:ii:buffs}}|₪|@@@@|<esc><table class="stat"><!-- |
--><tr><!-- |
--><tr><!-- |
||
− | --><th>{{l10n|item_infobox |
+ | --><th>{{l10n|item_infobox|th:buff}}</th><!-- |
− | -->{{#if:{{#var:ii: |
+ | -->{{#if:{{#var:ii:buff@@@@:id}}|<!-- |
− | --><td>{{buff|id={{#var:ii: |
+ | --><td>{{buff|id={{#var:ii:buff@@@@:mobile}}{{#var:ii:buff@@@@:id}}|class=break}}</td><!-- |
-->|<!-- |
-->|<!-- |
||
− | --><td>{{item|{{#var:ii: |
+ | --><td>{{item|{{#var:ii:buff@@@@:link|{{#var:ii:buff@@@@:name}}}}|{{tr|{{#var:ii:buff@@@@:name}}}}|image={{#var:ii:buff@@@@:name}}.png|class=break}}</td><!-- |
-->}}<!-- |
-->}}<!-- |
||
--></tr><!-- |
--></tr><!-- |
||
− | -->{{#if:{{#var:ii: |
+ | -->{{#if:{{#var:ii:buff@@@@:tooltip}}|<!-- |
--><tr><!-- |
--><tr><!-- |
||
− | --><th>{{l10n|item_infobox |
+ | --><th>{{l10n|item_infobox|th:bufftip}}</th><!-- |
− | --><td><i>{{#var:ii: |
+ | --><td><i>{{#var:ii:buff@@@@:tooltip}}</i></td><!-- |
--></tr><!-- |
--></tr><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | -->{{#if:{{#var:ii: |
+ | -->{{#if:{{#var:ii:buff@@@@:chance}}|<!-- |
--><tr><!-- |
--><tr><!-- |
||
--><th>{{l10n|item_infobox|th:buffchance}}</th><!-- |
--><th>{{l10n|item_infobox|th:buffchance}}</th><!-- |
||
− | --><td |
+ | --><td>{{percent|{{#var:ii:buff@@@@:chance}}}}</td><!-- |
--></tr><!-- |
--></tr><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | -->{{#if:{{#var:ii: |
+ | -->{{#if:{{#var:ii:buff@@@@:duration}}|<!-- |
--><tr><!-- |
--><tr><!-- |
||
− | --><th>{{l10n|item_infobox|th: |
+ | --><th>{{l10n|item_infobox|th:buffduration}}</th><!-- |
− | --><td>{{ |
+ | --><td>{{#iferror:{{#expr:1+{{#var:ii:buff@@@@:duration}}}}|{{#var:ii:buff@@@@:duration}}|{{duration|{{#var:ii:buff@@@@:duration}}}}}}</td><!-- |
--></tr><!-- |
--></tr><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | + | --></table></esc>|}}<!-- |
|
+ | --></div><!-- div.section.buff |
||
⚫ | |||
+ | -->{{#if:{{#var:ii:debuffs}}|<!-- |
||
+ | --><div class="section debuff"><!-- |
||
+ | --><div class="title">{{l10n|item_infobox|debuffcreated|$debuff_count$={{#lstcnt:{{#var:ii:debuffs}}|₪}}}}</div><!-- |
||
+ | -->{{#lstmap:{{#var:ii:debuffs}}|₪|@@@@|<esc><table class="stat"><!-- |
||
+ | --><tr><!-- |
||
+ | --><th>{{l10n|item_infobox|th:debuff}}</th><!-- |
||
+ | -->{{#if:{{#var:ii:debuff@@@@:id}}|<!-- |
||
+ | --><td>{{buff|id={{#var:ii:debuff@@@@:mobile}}{{#var:ii:debuff@@@@:id}}|class=break}}</td><!-- |
||
+ | -->|<!-- |
||
+ | --><td>{{item|{{#var:ii:debuff@@@@:link|{{#var:ii:debuff@@@@:name}}}}|{{tr|{{#var:ii:debuff@@@@:name}}}}|class=break}}</td><!-- |
||
+ | -->}}<!-- |
||
+ | --></tr><!-- |
||
+ | -->{{#if:{{#var:ii:debuff@@@@:tooltip}}|<!-- |
||
+ | --><tr><!-- |
||
⚫ | |||
+ | --><td><i>{{#var:ii:debuff@@@@:tooltip}}</i></td><!-- |
||
+ | --></tr><!-- |
||
⚫ | |||
+ | -->{{#if:{{#var:ii:debuff@@@@:chance}}|<!-- |
||
+ | --><tr><!-- |
||
+ | --><th>{{l10n|item_infobox|th:buffchance}}</th><!-- |
||
+ | --><td>{{percent|{{#var:ii:debuff@@@@:chance}}}}</td><!-- |
||
+ | --></tr><!-- |
||
+ | -->}}<!-- |
||
+ | -->{{#if:{{#var:ii:debuff@@@@:duration}}|<!-- |
||
--><tr><!-- |
--><tr><!-- |
||
--><th>{{l10n|item_infobox|th:buffduration}}</th><!-- |
--><th>{{l10n|item_infobox|th:buffduration}}</th><!-- |
||
− | --><td>{{#iferror:{{#expr:1+{{#var:ii: |
+ | --><td>{{#iferror:{{#expr:1+{{#var:ii:debuff@@@@:duration}}}}|{{#var:ii:debuff@@@@:duration}}|{{duration|{{#var:ii:debuff@@@@:duration}}}}}}</td><!-- |
--></tr><!-- |
--></tr><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | --></table><!-- |
+ | --></table></esc>|}}<!-- |
− | --></div><!-- div.section. |
+ | --></div><!-- div.section.debuff |
-->}}<!-- |
-->}}<!-- |
||
Ligne 321 : | Ligne 349 : | ||
--><div class="section projectile"><!-- div.section.projectile |
--><div class="section projectile"><!-- div.section.projectile |
||
--><div class="title"><!-- |
--><div class="title"><!-- |
||
− | -->{{# |
+ | -->{{#if:{{#lstind:pet summon|{{#var:ii:types}}|/}}|<!-- |
-->{{l10n|item_infobox|petsummoned}}<!-- |
-->{{l10n|item_infobox|petsummoned}}<!-- |
||
− | -->|{{# |
+ | -->|{{#if:{{#lstind:light pet|{{#var:ii:types}}|/}}|<!-- |
-->{{l10n|item_infobox|lightpetsummoned}}<!-- |
-->{{l10n|item_infobox|lightpetsummoned}}<!-- |
||
− | -->|{{# |
+ | -->|{{#if:{{#lstind:minion|{{#var:ii:types}}|/}}|<!-- |
-->{{l10n|item_infobox|minionsummoned}}<!-- |
-->{{l10n|item_infobox|minionsummoned}}<!-- |
||
− | -->|{{# |
+ | -->|{{#if:{{#lstind:sentry|{{#var:ii:types}}|/}}|<!-- |
-->{{l10n|item_infobox|sentrysummoned}}<!-- |
-->{{l10n|item_infobox|sentrysummoned}}<!-- |
||
-->|<!-- |
-->|<!-- |
||
Ligne 333 : | Ligne 361 : | ||
-->}}}}}}}}<!-- |
-->}}}}}}}}<!-- |
||
--></div><!-- |
--></div><!-- |
||
− | --><ul class="{{#if:{{#var:ii:ext:projectileblock}}|block|inline}}"><!-- |
+ | --><ul class="infobox-{{#if:{{#var:ii:ext:projectileblock}}|block|inline}}"><!-- |
− | -->{{# |
+ | -->{{#lstmap:{{#var:ii:idprojectile}}|,|@@@@|<esc><li><!-- |
− | --><div class="name">{{ |
+ | --><div class="name">{{#vardefineecho:_pname|{{ProjectileNameFromId|@@@@}}}}</div><!-- //ProjectileNameFromId is i18nready, so no {{tr}} here. |
− | --><div class="image">[[File:{{getProjectileInfo|@@@@|image}}|{{ |
+ | --><div class="image">[[File:{{getProjectileInfo|@@@@|image}}|{{#var:_pname}}|link=]]</div><!-- |
− | --></li>}}<!-- |
+ | --></li></esc>|}}<!-- |
-->{{#if:{{#var:ii:ext:projectilename}}{{#var:ii:ext:projectileimage}}|<li><!-- |
-->{{#if:{{#var:ii:ext:projectilename}}{{#var:ii:ext:projectileimage}}|<li><!-- |
||
--><div class="name">{{tr|{{#var:ii:ext:projectilename}}}}</div><!-- |
--><div class="name">{{tr|{{#var:ii:ext:projectilename}}}}</div><!-- |
||
Ligne 346 : | Ligne 374 : | ||
-->}}<!-- |
-->}}<!-- |
||
− | -->{{#if:{{# |
+ | -->{{#if:{{#var:ii:sounds}}|<!-- |
--><div class="section statistics"><!-- |
--><div class="section statistics"><!-- |
||
--><div class="title">{{l10n|item_infobox|sounds}}</div><!-- |
--><div class="title">{{l10n|item_infobox|sounds}}</div><!-- |
||
--><table class="stat"><!-- |
--><table class="stat"><!-- |
||
− | -->{{# |
+ | -->{{#listmap:|list={{#var:ii:sounds}}|insep=;|outsep=|fieldsep=:|token=$1,$2|pattern=<!-- |
--><tr><!-- |
--><tr><!-- |
||
− | --><th> |
+ | --><th>$1</th><!-- "@@" is the delimiter between caption and sound file |
− | -->{{#vardefine:ii:sounds|{{#explode:@@@@|@@|1}}}}<!-- |
||
--><td><!-- |
--><td><!-- |
||
− | -->{{#lstmap: |
+ | --><esc>{{#lstmap:$2|,|%%%%|<span style="margin-left:2px;">{{sound||{{trim|%%%%}}}}</span>|}}</esc><!-- print sounds |
--></td><!-- |
--></td><!-- |
||
--></tr><!-- |
--></tr><!-- |
||
Ligne 363 : | Ligne 390 : | ||
-->}}<!-- |
-->}}<!-- |
||
− | -->{{#ifeq:{{#var:ii:ext:showids}}|no||{{#if:{{#var:ii:id}}{{#var:ii: |
+ | -->{{#ifeq:{{#var:ii:ext:showids}}|no||{{#if:{{#var:ii:id}}{{#var:ii:idtile}}{{#var:ii:idwall}}{{#var:ii:idmount}}{{#var:ii:idbuff}}{{#var:ii:idprojectile}}|<!-- |
--><div class="section ids"><ul><!-- |
--><div class="section ids"><ul><!-- |
||
-->{{#if:{{#var:ii:id}}|<!-- |
-->{{#if:{{#var:ii:id}}|<!-- |
||
− | --><li>{{l10n|item_infobox|id:item}} |
+ | --><li>{{l10n|item_infobox|id:item}}<b>{{#var:ii:ext:idshow|{{#var:ii:id}}}}</b> {{eicons|errorcate=n|{{#var:ii:name}}}}</li><!-- |
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{#var:ii:idtile}}|<!-- |
-->{{#if:{{#var:ii:idtile}}|<!-- |
||
− | --><li>{{l10n|item_infobox|id:tile}} |
+ | --><li>{{l10n|item_infobox|id:tile}}<b>{{#var:ii:ext:idtileshow|{{#var:ii:idtile}} {{#if:{{#var:ii:idtilesub}}|({{#var:ii:idtilesub}})}}}}</b></li><!-- |
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{#var:ii:idwall}}|<!-- |
-->{{#if:{{#var:ii:idwall}}|<!-- |
||
− | --><li>{{l10n|item_infobox|id:wall}} |
+ | --><li>{{l10n|item_infobox|id:wall}}<b>{{#var:ii:idwall}}</b></li><!-- |
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{#var:ii:idarmor}}|<!-- |
-->{{#if:{{#var:ii:idarmor}}|<!-- |
||
− | --><li>{{l10n|item_infobox|id:armor}} |
+ | --><li>{{l10n|item_infobox|id:armor}}<b>{{#var:ii:idarmor}}</b></li><!-- |
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{#var:ii:idmount}}|<!-- |
-->{{#if:{{#var:ii:idmount}}|<!-- |
||
− | --><li>{{l10n|item_infobox|id:mount}} |
+ | --><li>{{l10n|item_infobox|id:mount}}<b>{{#var:ii:idmount}}</b></li><!-- |
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{#var:ii:idbuff}}|<!-- |
-->{{#if:{{#var:ii:idbuff}}|<!-- |
||
− | -->{{ |
+ | --><li>{{l10n|item_infobox|id:buff}}<b>{{#var:ii:ext:idbuffshow|<!-- |
− | -- |
+ | -->{{#lstmap:{{#lstrm:₰₰|{{#var:ii:idbuff}}|₪|₪}}|₪|@@@@|<esc>{{#or:<!-- remove empty elements |
− | -->|<!-- |
+ | -->{{#explode:@@@@|₰|2}}<!-- custom vanity id |
+ | -->|<!-- |
||
⚫ | |||
+ | -->{{#explode:@@@@|₰|1}} {{eicons|errorcate=n|{{pagename2en|{{getBuffInfo|{{#explode:@@@@|₰|0}}{{#explode:@@@@|₰|1}}|page}}}}}}<!-- |
||
⚫ | |||
+ | -->}}</esc>|{{l10n|comma|sep1}}}}<!-- comma-separated |
||
+ | -->}}</b></li><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{#var:ii:idprojectile}}|<!-- |
-->{{#if:{{#var:ii:idprojectile}}|<!-- |
||
− | -->{{# |
+ | --><li>{{l10n|item_infobox|id:projectile}}<b>{{#lstsep:{{#var:ii:idprojectile}}|,|,\_}}</b></li><!-- |
− | --><li>{{l10n|item_infobox|id:projectile}}'''{{#arrayprint:projectile_ids|, }}'''</li><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
--></ul></div><!-- div.section.ids |
--></ul></div><!-- div.section.ids |
||
Ligne 396 : | Ligne 424 : | ||
--></div><!--END div.infobox |
--></div><!--END div.infobox |
||
+ | -->{{options/restore|item|for_item_infobox_infoboxView}}<!-- |
||
⚫ | |||
+ | -->{{eicons/options|reset}}<!-- |
||
--></includeonly><!-- |
--></includeonly><!-- |
Version du 26 octobre 2020 à 22:09
Internal subtemplate. Handles the output of the default "infobox" view of {{item infobox}}.