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