mAucun résumé des modifications |
Aucun résumé des modifications |
||
(3 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<includeonly><!-- |
<includeonly><!-- |
||
− | -->{{item |
+ | -->{{#vardefine:_npcinfobox_infoview_item_small|{{options|item|small}}}}{{options/set|item|smallicons=y}}<!-- |
-->{{eicons/options|small=y}}<!-- |
-->{{eicons/options|small=y}}<!-- |
||
Ligne 74 : | Ligne 74 : | ||
--><th>{{l10n|npc_infobox|th_environment}}</th><!-- |
--><th>{{l10n|npc_infobox|th_environment}}</th><!-- |
||
--><td><div class="tags"><!-- |
--><td><div class="tags"><!-- |
||
− | + | {{#lstmaptemp:{{#var:ni:environment}}|npc_infobox/environment|/|}} //#lstmaptemp and #listmap is broken after migrated to UCP. |
|
+ | -->{{#arraydefine:env|{{#var:ni:environment}}|/}}{{#arrayprint:env||@@@|{{npc_infobox/environment|@@@}}}}<!-- |
||
--></div></td><!-- |
--></div></td><!-- |
||
--></tr><!-- |
--></tr><!-- |
||
Ligne 111 : | Ligne 112 : | ||
--><tr><!-- |
--><tr><!-- |
||
--><th>{{l10n|npc_infobox|th_banner}}</th><!-- |
--><th>{{l10n|npc_infobox|th_banner}}</th><!-- |
||
⚫ | |||
⚫ | |||
+ | // Note: The display width of a character varies in different languages, therefore the length limit varies accordingly. |
||
+ | -->{{#ifexpr:{{#len:{{tr|{{#var:ni:banner}}}}}}>{{l10n|npc_infobox|banner_length_break_limit}}|<!-- |
||
⚫ | |||
⚫ | |||
+ | -->{{item|{{#var:ni:banner}}|wrap=y}}<!-- |
||
⚫ | |||
+ | --></td><!-- |
||
--></tr><!-- |
--></tr><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{#var:ni:immunities}}|<!-- |
-->{{#if:{{#var:ni:immunities}}|<!-- |
||
− | --> |
+ | --><tr><!-- |
− | + | --><th>{{l10n|npc_infobox|th_immune_to}}</th><!-- |
|
− | + | -->{{#switch:{{#var:ni:immunities}}<!-- |
|
+ | -->|ALL=<!-- |
||
− | --><td>'''{{l10n|npc_infobox|all_debuffs}}'''{{#var:ni: |
+ | --><td>'''{{l10n|npc_infobox|all_debuffs}}'''{{#var:ni:immunenote}}</td><!-- |
⚫ | |||
− | -->|<!-- |
+ | -->|NOTWHIPS=<!-- |
+ | --><td>'''{{l10n|npc_infobox|all_debuffs_not_whips}}'''{{#var:ni:immunenote}}</td><!-- |
||
⚫ | |||
− | + | -->|#default=<!-- |
|
− | + | --><td class="immunities"><span><!-- |
|
− | + | -->{{#arraydefine:__buffs|{{#var:ni:immunities}}|,}}<!-- |
|
− | + | -->{{#arrayprint:__buffs||@@@@|<!-- |
|
− | + | -->{{buff|mode=image|id=@@@@}}<!-- |
|
− | + | -->}}<!-- |
|
− | + | --></span></td><!-- |
|
⚫ | |||
-->}}<!-- |
-->}}<!-- |
||
+ | --></tr><!-- |
||
-->}}<!-- |
-->}}<!-- |
||
--></table><!-- |
--></table><!-- |
||
Ligne 330 : | Ligne 338 : | ||
-->}}<!-- |
-->}}<!-- |
||
--></div><!--END div.infobox |
--></div><!--END div.infobox |
||
− | -->{{ |
+ | -->{{options/set|item|small={{#var:_npcinfobox_infoview_item_small}}}}<!-- |
-->{{eicons/options|reset}}<!-- |
-->{{eicons/options|reset}}<!-- |
||
Version du 15 octobre 2020 à 02:25
Internal subtemplate. Handles the output of the default "infobox" view of {{npc infobox}}.