Template:Mana: Difference between revisions
Jump to navigation
Jump to search
>Yandere-sliver No edit summary |
>Yandere-sliver No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#switch:{{#if: {{#pos:{{{1|}}}|W}} |W|-}}{{#if: {{#pos:{{{1|}}}|U}} |U|-}}{{#if: {{#pos:{{{1|}}}|B}} |B|-}}{{#if: {{#pos:{{{1|}}}|R}} |R|-}}{{#if: {{#pos:{{{1|}}}|G}} |G|-}} | ||
|-----={{C}} | |-----={{C}} | ||
|W----={{W}} | |W----={{W}} | ||
Line 17: | Line 17: | ||
|-U--G={{G}}{{U}} | |-U--G={{G}}{{U}} | ||
|WU--G={{G}}{{W}}{{U}} | |WU--G={{G}}{{W}}{{U}} | ||
|WUB--={{W}}{{U}}{{B}} | |WUB--={{nowrap|{{W}}{{U}}{{B}}}} | ||
|-UBR-={{U}}{{B}}{{R}} | |-UBR-={{U}}{{B}}{{R}} | ||
|--BRG={{B}}{{R}}{{G}} | |--BRG={{B}}{{R}}{{G}} | ||
Line 32: | Line 32: | ||
|WUB-G={{G}}{{W}}{{U}}{{B}} | |WUB-G={{G}}{{W}}{{U}}{{B}} | ||
|WUBRG={{W}}{{U}}{{B}}{{R}}{{G}} | |WUBRG={{W}}{{U}}{{B}}{{R}}{{G}} | ||
#default='''Error in {{tl|mana}}''' | #default='''Error in {{tl|mana}}'''}}</includeonly><noinclude>This template can be used to convert colors formatted like <code><nowiki>{{mana|UBW}}</nowiki></code> into mana icons like {{W}}{{U}}{{B}}. The colors are reordered to match convention. | ||
[[Category:Mana templates]] | [[Category:Mana templates]] |
Revision as of 13:03, 15 March 2019
This template can be used to convert colors formatted like {{mana|UBW}}
into mana icons like . The colors are reordered to match convention.