Item Filtering:修订间差异

跳转到导航 跳转到搜索
第225行: 第225行:


== Filter Codes ==
== Filter Codes ==
=== Output Keywords ===
=== 输出 关键字 ===
==== Colors ====
==== 颜色 ====
[[File:Text_Colors.png|thumb|Text Colors:<br>Normal vs Glide]]
[[File:Text_Colors.png|thumb|Text Colors:<br>Normal vs Glide]]
These keywords change the color for subsequent text. If absent, the item's default color will be used instead.
这些关键字改变后续文本的颜色。如果没有,将使用物品名称的默认颜色来代替。
{| class="wikitable"
{| class="wikitable"
! Code !! Color !! Default Use
! Code !! Color !! Default Use
第264行: 第264行:
| %LIGHT_GRAY% || <span class="d2-light-gray">Light Gray</span> || ''custom''
| %LIGHT_GRAY% || <span class="d2-light-gray">Light Gray</span> || ''custom''
|}
|}
* Custom text colors only work with Glide or if HD text is enabled, and will otherwise function the same as '''''%GRAY%'''''
* 自定义文本颜色只适用于Glide或启用HD文本,其他功能与'''''%GRAY%''''' 相同。


Some items have their default color built into '''''%NAME%''''', so their color won't change unless their name is rewritten completely. This is likely [[Bugs|unintended behavior]], and applies to runes, Standard of Heroes, and the PD2-specific non-equipment items other than map/arena scrolls and jewel fragments.
一些物品的默认颜色被内置在'''''%NAME%''''',所以除非它们的名字被完全重写,否则它们的颜色不会改变。这可能是[[Bug|unintended behavior]],适用于符文、英雄旗帜以及除地图/竞技场卷轴和宝石碎片之外的PD2专用非装备物品。


<code>ItemDisplay[wss]: %RED%%NAME%</code> <span class="d2-purple">''Worldstone Shard''</span>
<code>ItemDisplay[wss]: %RED%%NAME%</code> <span class="d2-purple">''Worldstone Shard''</span>