Шаблон:Coin — различия между версиями
м (1 версия) |
Blinnna (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
<onlyinclude><b><!-- | <onlyinclude><b><!-- | ||
− | -->{{#if: {{{1|}}}|<span class="coin-platinum">{{{1}}} | + | -->{{#if: {{{1|}}}|<span class="coin-platinum">{{{1}}}п</span>|}}<!-- |
− | -->{{#if: {{{2|}}}|{{#if:{{{1|}}}| }}<span class="coin-gold">{{{2}}} | + | -->{{#if: {{{2|}}}|{{#if:{{{1|}}}| }}<span class="coin-gold">{{{2}}}з</span>|}}<!-- |
− | -->{{#if: {{{3|}}}|{{#if:{{{1|}}}{{{2|}}}| }}<span class="coin-silver">{{{3}}} | + | -->{{#if: {{{3|}}}|{{#if:{{{1|}}}{{{2|}}}| }}<span class="coin-silver">{{{3}}}с</span>|}}<!-- |
− | -->{{#if: {{{4|}}}|{{#if:{{{1|}}}{{{2|}}}{{{3|}}}| }}<span class="coin-copper">{{{4}}} | + | -->{{#if: {{{4|}}}|{{#if:{{{1|}}}{{{2|}}}{{{3|}}}| }}<span class="coin-copper">{{{4}}}м</span>|}}<!-- |
− | -->{{#if: {{{5|}}}|{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}|<nowiki> </nowiki>}}<span class="coin-status">{{{5}}} [[ | + | -->{{#if: {{{5|}}}|{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}|<nowiki> </nowiki>}}<span class="coin-status">{{{5}}} [[Очки статуса|ОС]]</span>|}}<!-- |
− | -->{{#if: {{{6|}}}|{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|<nowiki> + </nowiki>}}<span class="coin-guild">[[ | + | -->{{#if: {{{6|}}}|{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|<nowiki> + </nowiki>}}<span class="coin-guild">[[Уровень гильдии|УГ]] {{{6}}}</span>|}}<!-- |
--></b></onlyinclude> | --></b></onlyinclude> | ||
When you are reporting a coin amount, such as in a Rewards section, you can use this template to keep the output consistent. It will also put the amounts in the same colors used in-game, which looks real nice. | When you are reporting a coin amount, such as in a Rewards section, you can use this template to keep the output consistent. It will also put the amounts in the same colors used in-game, which looks real nice. |
Версия 09:42, 17 мая 2008
When you are reporting a coin amount, such as in a Rewards section, you can use this template to keep the output consistent. It will also put the amounts in the same colors used in-game, which looks real nice.
Содержание
Parameters
This template uses numerical parameters, thus simplifying the call.
- (Optional) Platinum Amount
- (Optional) Gold Amount
- (Optional) Silver Amount
- (Optional) Copper Amount
- (Optional) Status Amount
- (Optional) Guild Level (used for status merchant purchases)
Calling Format
{{Coin|Platinum|Gold|Silver|Copper|Status}}
Examples
- Example:
{{Coin|||5|2}}
- outputs: 5с 2м
- Example:
{{Coin|2|73||12}}
- outputs: 2п 73з 12м
- Example:
{{Coin||14|61|60|22000}}
- outputs: 14з 61с 60м 22000 ОС
- Example:
{{Coin|1|80|5|13|800k|30}}
Note
If you are using coin for JUST status (ie, HQs/writs), you can instead use {{status|####}}
Right now, it is just a wrapper for this template, but it saves you from having to remember how many |'s to put in to just show status.
Полезные ссылки по шаблонам: | Все шаблоны | Информация о шаблонах | |
---|---|---|---|