Difference between revisions of "Template:TintRare"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> Tint a cell in the color of a rare card (green). ==Example== This usage <pre><nowiki>{| class="wikitable" | {{CellTintRare}} | Text |}</nowiki></pre> produces: {...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Tint a cell in the color of a rare card (green).
+
Produce the tint of a rare card (green/yellow).
  
 
==Example==
 
==Example==
 
This usage
 
This usage
 
<pre><nowiki>{| class="wikitable"
 
<pre><nowiki>{| class="wikitable"
| {{CellTintRare}} | Text
+
| style="{{TintRare}}" | Text
 
|}</nowiki></pre>
 
|}</nowiki></pre>
  
 
produces:
 
produces:
 
{| class="wikitable"
 
{| class="wikitable"
| {{CellTintRare}} | Text
+
| style="{{TintRare}}" | Text
 
|}
 
|}
  
 
[[Category: Cell tint templates]]
 
[[Category: Cell tint templates]]
  
</noinclude><includeonly>style="background: #ece0c0;"</includeonly>
+
</noinclude><includeonly>background: #ece0c0;</includeonly>

Latest revision as of 10:00, 13 March 2019

Produce the tint of a rare card (green/yellow).

Example

This usage

{| class="wikitable"
| style="{{TintRare}}" | Text
|}

produces:

Text