模板:Currency
出自Meshal Lite
第1行: | 第1行: | ||
<includeonly>{{#ifeq:{{{value|{{{1|}}}}}}| | <includeonly>{{#ifeq:{{{value|{{{1|}}}}}}| | ||
|♾ 无价 | |♾ 无价 | ||
− | |{{#switch:{{{2|{{{unit|gsc}}}}}} | + | |<span class="currencyInfo"> |
− | |fer= | + | {{#switch:{{{2|{{{unit|gsc}}}}}} |
+ | |fer=<font style="color: rgb(101, 37, 14);">{{{value|{{{1|}}}}}} 🜞</font> | ||
|#default=<span class="currencyInfo">{{#ifexpr: {{{value|{{{1|}}}}}} < 10000| | |#default=<span class="currencyInfo">{{#ifexpr: {{{value|{{{1|}}}}}} < 10000| | ||
|<font style="color: rgb(255, 225, 62); text-shadow:0 0 3px black;">{{#expr: trunc({{{value|{{{1|}}}}}}/10000)}}◉</font> | |<font style="color: rgb(255, 225, 62); text-shadow:0 0 3px black;">{{#expr: trunc({{{value|{{{1|}}}}}}/10000)}}◉</font> | ||
第13行: | 第14行: | ||
{{#ifexpr: {{{value|{{{1|}}}}}}mod100=0| | {{#ifexpr: {{{value|{{{1|}}}}}}mod100=0| | ||
|<font style="color: rgb(249, 169, 132); text-shadow:0 0 3px black;">{{#expr: {{{value|{{{1|}}}}}}mod100}}◉</font> | |<font style="color: rgb(249, 169, 132); text-shadow:0 0 3px black;">{{#expr: {{{value|{{{1|}}}}}}mod100}}◉</font> | ||
− | |||
}} | }} | ||
+ | }} | ||
+ | <div class="bg-blur">939239123912391239</div> | ||
+ | </span> | ||
}}</includeonly><noinclude>[[category:模板]] | }}</includeonly><noinclude>[[category:模板]] | ||
根据输入的数字和货币制式,生成对应的价值文本。 | 根据输入的数字和货币制式,生成对应的价值文本。 |