模板:卡池卡面图标:修订间差异
无编辑摘要 标签:已被回退 |
无编辑摘要 标签:手工回退 |
||
第1行: | 第1行: | ||
{{#ifexist: {{{卡面图标|}}} | <a link="{{{卡面名称}}}"> | {{#ifexist: {{{卡面图标|}}} | <a link="{{{卡面名称}}}"> | ||
<span style="display:inline-block;position:relative;"><!-- | <span style="display:inline-block;position:relative;"><!-- | ||
-->[[File:{{{ | -->[[File:{{{卡面ID}}}-卡面图标.webp|64px|link=]]<!-- | ||
--><span class="kc-badge" style="background: rgba(0, 0, 0, 0.72); border-radius: 10px; color: #fff; font-size: 12px; letter-spacing: 0; min-width: 20px; padding: 4px 6px; pointer-events: auto; position: absolute; text-align: center; text-indent: 0; top: auto; bottom: -.15rem; right: -.15rem; height: 20px; line-height: 1;">{{{概率|}}}%</span><span style="width: 32px; height: 32px; position: absolute; top: 0; left: 50%; margin-left: -16px; | --><span class="kc-badge" style="background: rgba(0, 0, 0, 0.72); border-radius: 10px; color: #fff; font-size: 12px; letter-spacing: 0; min-width: 20px; padding: 4px 6px; pointer-events: auto; position: absolute; text-align: center; text-indent: 0; top: auto; bottom: -.15rem; right: -.15rem; height: 20px; line-height: 1;">{{{概率|}}}%</span><span style="width: 32px; height: 32px; position: absolute; top: 0; left: 50%; margin-left: -16px; | ||
">[[File:评级图标-{{#switch: {{{稀有度|0}}} | 3 = SS | 2 = S | A }}.webp|64px|link=]]</span><!-- | ">[[File:评级图标-{{#switch: {{{稀有度|0}}} | 3 = SS | 2 = S | A }}.webp|64px|link=]]</span><!-- | ||
--></span> | --></span> | ||
</a>|}} | </a>|}} |