User:Chris314542: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Chris314542
mNo edit summary
>Chris314542
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Template testing ===
== Gatherer Search Template ==
Updated to fix broken and functionality. Added optional display parameter to change text displayed in link.


==== Original template ====
* Kaladesh colored artifacts: a cycle of colored artifact creatures {{Gatherer search|set|Kaladesh|name|Gearhulk}}
* Red and green cards from Theros: {{Gatherer search|set|Theros|color|R|color|G}}
* Artifact enchantments from Theros: {{Gatherer search|set|Theros|type|Artifact|type|Enchantment}}
* Bolt (single param): {{Gatherer search|bolt}}
* Bolt (text): {{Gatherer search|text|bolt}}
* Alara (single param): {{Gatherer search|Alara}}
* Alara (block): {{Gatherer search|block|Alara}}


=== Test cases ===
* <big><span style=color:green>Yes</span></big> '''New - ''' Artifact enchantments from Theros: {{Gatherer search2|set|Theros|type|Artifact|type|Enchantment}}
* <big><span style=color:red>No</span></big> '''Old - ''' Artifact enchantments from Theros: {{Gatherer search|set|Theros|type|Artifact|type|Enchantment}}


==== New template ====
* Kaladesh colored artifacts: a cycle of colored artifact creatures {{Gatherer search2|set|Kaladesh|name|Gearhulk}}
* Red and green cards from Theros: {{Gatherer search2|set|Theros|color|R|color|G}}
* Artifact enchantments from Theros: {{Gatherer search2|set|Theros|type|Artifact|type|Enchantment}}
* Bolt (single param): {{Gatherer search2|bolt}}
* Bolt (text): {{Gatherer search2|text|bolt}}
* Alara (single param): {{Gatherer search2|Alara}}
* Alara (block): {{Gatherer search2|block|Alara}}


* <big><span style=color:green>Yes</span></big> '''New - ''' Cards that are all five colors: {{Gatherer search2|color|W|color|U|color|B|color|R|color|G}}
* <big><span style=color:red>No</span></big> '''Old - ''' Cards that are all five colors: {{Gatherer search|color|W|color|U|color|B|color|R|color|G}}




* <big><span style=color:green>Yes</span></big> '''New - ''' Kaladesh Gearhulks: {{Gatherer search2|set|Kaladesh|name|Gearhulk}}
* <big><span style=color:green>Yes</span></big> '''Old - ''' Kaladesh Gearhulks: {{Gatherer search|set|Kaladesh|name|Gearhulk}}




==== Other ====
* <big><span style=color:green>Yes</span></big> '''New - ''' Bolt (in rules text): {{Gatherer search2|text|bolt}}
* https://gatherer.wizards.com/Pages/Search/Default.aspx?action=advanced&color=+![C]&type=+[artifact]
* <big><span style=color:green>Yes</span></big> '''Old - ''' Bolt (in rules text): {{Gatherer search|text|bolt}}
* {{Gatherer search|type|Artifact|color|!C}}
 
* {{Gatherer search|set|Theros|type|Artifact|type|Enchantment}}
 
* {{Gatherer search|set|Theros|color|Red|color|Green}}
* <big><span style=color:red>No</span></big> '''New - ''' Bolt (as only parameter): {{Gatherer search2|bolt}}
* {{Gatherer search|set|Theros|color|R|color|W}}
* <big><span style=color:red>No</span></big> '''Old - ''' Bolt (as only parameter): {{Gatherer search|bolt}}
 
 
* <big><span style=color:red>No</span></big> '''New - ''' CMC 5: {{Gatherer search2|cmc|5}}
* <big><span style=color:red>No</span></big> '''Old - ''' CMC 5: {{Gatherer search|cmc|5}}
 
 
==== Inline display text ====
* <big><span style=color:green>Yes</span></big> '''New - ''' {{Gatherer search2|display=Display text as the first parameter|set|Alara|color|W|color|U}}
* <big><span style=color:green>Yes</span></big> '''New - ''' {{Gatherer search2|set|Alara|color|W|color|U|display=Display text as the last parameter}}
* <big><span style=color:green>Yes</span></big> '''New - ''' {{Gatherer search2|set|Alara|display=Display text between two different search criteria|color|W|color|U}}
* <big><span style=color:green>Yes</span></big> '''New - ''' {{Gatherer search2|set|Alara|color|W|display=Display text between two arguments for a single search criteria|color|U}}

Latest revision as of 21:58, 29 April 2019

Gatherer Search Template

Updated to fix broken and functionality. Added optional display parameter to change text displayed in link.


Test cases







Inline display text