跳转到内容
打开/关闭菜单
  • 451 条目
  • 808 文件
  • 22 用户
  • 9259 编辑
Blockland Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:汇率卡片:修订间差异

来自Blockland Wiki
无编辑摘要
无编辑摘要
 
第1行: 第1行:
<includeonly>{{#get_db_data:|db=wp_db|from=wp_owmc_currency_rates|where=currency_code='{{{1}}}'|order by=year DESC, month DESC|limit=1|data=rate_tgt=rate, year_tgt=year, month_tgt=month}}{{#get_db_data:|db=wp_db|from=wp_owmc_currency_rates|where=currency_code='WMC'|order by=year DESC, month DESC|limit=1|data=rate_wmc=rate}}{{#get_db_data:|db=wp_db|from=wp_owmc_currency_rates|where=currency_code='KCK'|order by=year DESC, month DESC|limit=1|data=rate_kck=rate}}{{#get_db_data:|db=wp_db|from=wp_owmc_currency_rates|where=currency_code='SKV'|order by=year DESC, month DESC|limit=1|data=rate_skv=rate}}{{#get_db_data:|db=wp_db|from=wp_owmc_currency_rates|where=currency_code='COS'|order by=year DESC, month DESC|limit=1|data=rate_cos=rate}}<table class="infobox" style="width: 22em; float: right; clear: right; margin: 0 0 1em 1em; background: #f8fafc; border: 1px solid #e2e8f0; border-collapse: collapse; font-size: 90%; box-shadow: 0 1px 3px rgba(0,0,0,0.04);">
<includeonly>{{#get_db_data:|db=wp_db|from=wp_owmc_currency_rates|where=currency_code='{{{1}}}'|order by=year DESC, month DESC|limit=1|data=rate_tgt=rate, year_tgt=year, month_tgt=month}}{{#get_db_data:|db=wp_db|from=wp_owmc_currency_rates|where=currency_code='WMC'|order by=year DESC, month DESC|limit=1|data=rate_wmc=rate}}{{#get_db_data:|db=wp_db|from=wp_owmc_currency_rates|where=currency_code='KCK'|order by=year DESC, month DESC|limit=1|data=rate_kck=rate}}{{#get_db_data:|db=wp_db|from=wp_owmc_currency_rates|where=currency_code='SKV'|order by=year DESC, month DESC|limit=1|data=rate_skv=rate}}{{#get_db_data:|db=wp_db|from=wp_owmc_currency_rates|where=currency_code='COS'|order by=year DESC, month DESC|limit=1|data=rate_cos=rate}}{{Infobox
<tr>
| title      = {{{1}}} 兑换基准
    <th colspan="2" style="background: #0ea5e9; color: white; text-align: center; font-size: 1.2em; padding: 0.4em; border-bottom: 2px solid #0369a1;">
| headerstyle = background-color: #e0f2fe; color: #0369a1; border-bottom: 1px solid #e2e8f0;
        {{{1}}} 兑换基准
| header1    = 清算期: Y{{#external_value:year_tgt}} P{{#external_value:month_tgt}}
    </th>
 
</tr>
| label2      = 1 WMC
<tr>
| data2      = ≈ {{#expr: {{#external_value:rate_tgt}} / {{#external_value:rate_wmc}} round 4 }} {{{1}}}
    <td colspan="2" style="background: #e0f2fe; color: #0369a1; text-align: center; padding: 0.3em; font-weight: bold; font-size: 0.9em; border-bottom: 1px solid #e2e8f0;">
 
        清算期: Y{{#external_value:year_tgt}} P{{#external_value:month_tgt}}
| label3      = 1 KCK
    </td>
| data3      = ≈ {{#expr: {{#external_value:rate_tgt}} / {{#external_value:rate_kck}} round 4 }} {{{1}}}
</tr>
 
<tr>
| label4      = 1 SKV
    <th style="text-align: left; padding: 0.4em 0.8em; border-bottom: 1px solid #e2e8f0; color: #475569; width: 35%;">1 WMC</th>
| data4      = ≈ {{#expr: {{#external_value:rate_tgt}} / {{#external_value:rate_skv}} round 4 }} {{{1}}}
    <td style="text-align: right; padding: 0.4em 0.8em; border-bottom: 1px solid #e2e8f0; font-family: 'Courier New', monospace; font-size: 1.1em; font-weight: bold;">
 
        ≈ {{#expr: {{#external_value:rate_tgt}} / {{#external_value:rate_wmc}} round 4 }} {{{1}}}
| label5      = 1 COS
    </td>
| data5      = ≈ {{#expr: {{#external_value:rate_tgt}} / {{#external_value:rate_cos}} round 4 }} {{{1}}}
</tr>
 
<tr>
| belowstyle  = border-top: 1px solid #e2e8f0; font-size: 85%; color: #64748b; line-height: 1.5;
    <th style="text-align: left; padding: 0.4em 0.8em; border-bottom: 1px solid #e2e8f0; color: #475569;">1 KCK</th>
| below      = 汇率会波动。您可以在<br>[https://blkl.fun/omoo OWMO 官方大盘]<br>查询这些货币及其他货币的当前汇率。
    <td style="text-align: right; padding: 0.4em 0.8em; border-bottom: 1px solid #e2e8f0; font-family: 'Courier New', monospace; font-size: 1.1em; font-weight: bold;">
}}</includeonly>
        ≈ {{#expr: {{#external_value:rate_tgt}} / {{#external_value:rate_kck}} round 4 }} {{{1}}}
    </td>
</tr>
<tr>
    <th style="text-align: left; padding: 0.4em 0.8em; border-bottom: 1px solid #e2e8f0; color: #475569;">1 SKV</th>
    <td style="text-align: right; padding: 0.4em 0.8em; border-bottom: 1px solid #e2e8f0; font-family: 'Courier New', monospace; font-size: 1.1em; font-weight: bold;">
        ≈ {{#expr: {{#external_value:rate_tgt}} / {{#external_value:rate_skv}} round 4 }} {{{1}}}
    </td>
</tr>
<tr>
    <th style="text-align: left; padding: 0.4em 0.8em; border-bottom: 1px solid #e2e8f0; color: #475569;">1 COS</th>
    <td style="text-align: right; padding: 0.4em 0.8em; border-bottom: 1px solid #e2e8f0; font-family: 'Courier New', monospace; font-size: 1.1em; font-weight: bold;">
        ≈ {{#expr: {{#external_value:rate_tgt}} / {{#external_value:rate_cos}} round 4 }} {{{1}}}
    </td>
</tr>
<tr>
    <td colspan="2" style="text-align: center; padding: 0.8em; font-size: 0.85em; color: #64748b; line-height: 1.5;">
        汇率会波动。您可以在<br>[https://blkl.fun/omoo OWMO 官方大盘]<br>查询这些货币及其他货币的当前汇率。
    </td>
</tr>
</table></includeonly>

2026年5月8日 (五) 17:41的最新版本