Difference between revisions of "Template:Color expand"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Usage== Expands a one-letter color abbreviation into the corresponding word. ==Example== The following shorthand: <pre><nowiki> {{Color expand|U}} </nowiki></pr...")
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Expands a one-letter color abbreviation into the corresponding word.
+
Expands a single one-letter color abbreviation, or a pair of them, into the corresponding color or guild word.
  
 
==Example==
 
==Example==
Line 7: Line 7:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Color expand|U}}
 
{{Color expand|U}}
 +
 +
{{Color expand|WB}}
 
</nowiki></pre>
 
</nowiki></pre>
  
Line 12: Line 14:
  
 
{{Color expand|U}}
 
{{Color expand|U}}
 +
 +
{{Color expand|WB}}
 +
  
 
</noinclude><includeonly>{{#switch: {{{1}}}
 
</noinclude><includeonly>{{#switch: {{{1}}}
Line 20: Line 25:
 
| G = Green
 
| G = Green
 
| C = Colorless
 
| C = Colorless
 +
| BG|GB = Golgari
 +
| WG|GW = Selesnya
 +
| WR|RW = Boros
 +
| UR|RU = Izzet
 +
| UB|BU = Dimir
 +
| WB|BW = Orzhov
 +
| BR|RB = Rakdos
 +
| RG|GR = Gruul
 +
| WU|UW = Azorius
 +
| UG|GU = Simic
 
| {{{1}}}}}</includeonly>
 
| {{{1}}}}}</includeonly>

Latest revision as of 09:12, 27 March 2019

Usage

Expands a single one-letter color abbreviation, or a pair of them, into the corresponding color or guild word.

Example

The following shorthand:

{{Color expand|U}}

{{Color expand|WB}}

Produces:

Blue

Orzhov