Difference between revisions of "Template:Rules"

From MTG Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#invoke:CR|FormatRaw|{{{1|}}}|{{{2|}}}|{{{3|}}} |{{{4|}}}}}</includeonly><noinclude> This template is meant to provide consistent output for rules text which be...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:CR|FormatRaw|{{{1|}}}|{{{2|}}}|{{{3|}}}
+
<includeonly>{{#ifeq:{{lc:{{{1|}}}}}|glossary
  +
|{{#invoke:CR|FormatRaw|{{{2|}}}|{{{3|}}}|{{{4|}}}
|{{{4|}}}}}</includeonly><noinclude>
 
  +
|glossary}}
This template is meant to provide consistent output for rules text which became [[obsolete]] and is no longer covered in the [[Comprehensive Rules]], but can also be used for fan formats like [[Oathbreaker]] by leaving the 4th parameter blank.
 
  +
|{{#invoke:CR|FormatRaw|{{{1|}}}|{{{2|}}}|{{{3|}}}
 
 
}}}}</includeonly><noinclude>{{Documentation}}
==Code==
 
<pre>{{rules|''[[Comprehensive Rules]]''|February 1, 2009—''[[Conflux]]'')|502.34. Imprint
 
502.34a Imprint is an activated or triggered ability, written “Imprint — [text],” where “[text]” is a triggered or activated ability. Cards that are in the removed-from-the-game zone because they were removed from the game by an imprint ability are imprinted on the source of that ability.
 
502.34b The phrase “imprinted [quality] card” means the card with that quality that’s imprinted on the permanent. If a permanent has more than one card with that quality imprinted on it, each of those cards is an “imprinted [quality] card.”|obsolete}}</pre>
 
==Output==
 
{{rules|''[[Comprehensive Rules]]''|February 1, 2009—''[[Conflux]]'')|502.34. Imprint
 
502.34a Imprint is an activated or triggered ability, written “Imprint — [text],” where “[text]” is a triggered or activated ability. Cards that are in the removed-from-the-game zone because they were removed from the game by an imprint ability are imprinted on the source of that ability.
 
502.34b The phrase “imprinted [quality] card” means the card with that quality that’s imprinted on the permanent. If a permanent has more than one card with that quality imprinted on it, each of those cards is an “imprinted [quality] card.”|obsolete}}
 
 
==See also==
 
*{{tl|CR}}
 
*{{tl|examples}}
 
 
 
[[Category:Magic product templates]]</noinclude>
 
[[Category:Magic product templates]]</noinclude>

Latest revision as of 13:48, 20 June 2019

Template documentation[view] [edit] [history] [purge]

This template is meant to provide consistent output for rules text which became obsolete and is no longer covered in the Comprehensive Rules, but can also be used for fan formats like Oathbreaker.

  • The phrase "(Obsolete)" in the rules text decides which behavior this template chooses.
  • The second parameter can be set to "glossary" to utilize the glossary layout instead.

Code

{{rules|''[[Comprehensive Rules]]''|February 1, 2009—''[[Conflux]]'')|502.34. Imprint (Obsolete)
502.34a Imprint is an activated or triggered ability, written “Imprint — [text],” where “[text]” is a triggered or activated ability. Cards that are in the removed-from-the-game zone because they were removed from the game by an imprint ability are imprinted on the source of that ability.
502.34b The phrase “imprinted [quality] card” means the card with that quality that’s imprinted on the permanent. If a permanent has more than one card with that quality imprinted on it, each of those cards is an “imprinted [quality] card.”}}

Output

From the Comprehensive Rules (February 1, 2009—Conflux))

  • 502.34. Imprint (Obsolete)
    • 502.34a Imprint is an activated or triggered ability, written “Imprint — [text],” where “[text]” is a triggered or activated ability. Cards that are in the removed-from-the-game zone because they were removed from the game by an imprint ability are imprinted on the source of that ability.
    • 502.34b The phrase “imprinted [quality] card” means the card with that quality that’s imprinted on the permanent. If a permanent has more than one card with that quality imprinted on it, each of those cards is an “imprinted [quality] card.”

See also