Template:MTG code by set: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
 
(2 intermediate revisions by the same user not shown)
Line 282: Line 282:
|Release card=pREL
|Release card=pREL
|Magic Arena=pARL3
|Magic Arena=pARL3
|#default='''Error: Unknown set name: {{{1}}}!'''[[Category:Unknown set error]]}}</includeonly><!--Taken from https://mtg.fandom.com/wiki/Template:Code_by_set--><noinclude>This template converts a [[set]] name (the set page name on this wiki) into a set code.
|#default='''Error: Unknown set name: {{{1}}}!'''}}</includeonly><!--Taken from https://mtg.fandom.com/wiki/Template:Code_by_set--><noinclude>This template converts a ''[[Magic: The Gathering]]'' set name (the set page name on [[w:c:MTG|the MTG wiki]]) into a set code.


This is the sister template of {{tl|set by code}}.
This is the sister template of {{tlx|MTG set by code}}.


== Example ==
== Example ==


<pre>
<pre>
{{Code by set|Planechase}}
{{MTG code by set|Planechase}}
</pre>
</pre>


{{MTG code by set|Planechase}}
{{MTG code by set|Planechase}}
</noinclude>
 
[[Category:Coding utility templates]]</noinclude>

Latest revision as of 18:47, 17 October 2023

This template converts a Magic: The Gathering set name (the set page name on the MTG wiki) into a set code.

This is the sister template of {{MTG set by code}}.

Example[[edit source]]

{{MTG code by set|Planechase}}

HOP