User:Chris314542: Difference between revisions
Jump to navigation
Jump to search
>Chris314542 (Updated test conditions for gatherer template) |
>Chris314542 mNo edit summary |
||
Line 1: | Line 1: | ||
== Gatherer Search Template == | == Gatherer Search Template == | ||
Updated to fix broken and functionality. Added optional display parameter to change text displayed in link. | |||
=== Test cases === | === Test cases === | ||
* | * <big><span style=color:green>Yes</span></big> '''New - ''' Artifact enchantments from Theros: {{Gatherer search|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}} | ||
* | * <big><span style=color:green>Yes</span></big> '''New - ''' Cards that are all five colors: {{Gatherer search|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 search|set|Kaladesh|name|Gearhulk}} | ||
* | * <big><span style=color:green>Yes</span></big> '''Old - ''' Kaladesh Gearhulks: {{Gatherer search|set|Kaladesh|name|Gearhulk}} | ||
* <big><span style=color:red>No</span></big> '''New - ''' Bolt (as only parameter): {{Gatherer search|bolt}} | |||
* <big><span style=color:red>No</span></big> '''Old - ''' Bolt (as only parameter): {{Gatherer search|bolt}} | |||
* <big><span style=color:green>Yes</span></big> '''New - ''' Bolt (in rules text): {{Gatherer search|text|bolt}} | |||
* <big><span style=color:green>Yes</span></big> '''Old - ''' Bolt (in rules text): {{Gatherer search|text|bolt}} | |||
==== Inline display text ==== | ==== 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:red>No</span></big> '''New - ''' {{Gatherer search2|set|Alara|color|W|display=Display text between two arguments for a single search criteria|color|U}} |
Revision as of 21:06, 29 April 2019
Gatherer Search Template
Updated to fix broken and functionality. Added optional display parameter to change text displayed in link.
Test cases
- Yes New - Artifact enchantments from Theros: Gatherer search for "Theros" (set) and "Artifact" (type) and "Enchantment" (type), Gatherer — Wizards of the Coast
- No Old - Artifact enchantments from Theros: Gatherer search for "Theros" (set) and "Artifact" (type) and "Enchantment" (type), Gatherer — Wizards of the Coast
- Yes New - Cards that are all five colors: Gatherer search for "W" (color) and "U" (color) and "B" (color) and "R" (color) and "G" (color), Gatherer — Wizards of the Coast
- No Old - Cards that are all five colors: Gatherer search for "W" (color) and "U" (color) and "B" (color) and "R" (color) and "G" (color), Gatherer — Wizards of the Coast
- Yes New - Kaladesh Gearhulks: Gatherer search for "Kaladesh" (set) and "Gearhulk" (name), Gatherer — Wizards of the Coast
- Yes Old - Kaladesh Gearhulks: Gatherer search for "Kaladesh" (set) and "Gearhulk" (name), Gatherer — Wizards of the Coast
- No New - Bolt (as only parameter): Gatherer search for "{{{2}}}" (bolt), Gatherer — Wizards of the Coast
- No Old - Bolt (as only parameter): Gatherer search for "{{{2}}}" (bolt), Gatherer — Wizards of the Coast
- Yes New - Bolt (in rules text): Gatherer search for "bolt" (text), Gatherer — Wizards of the Coast
- Yes Old - Bolt (in rules text): Gatherer search for "bolt" (text), Gatherer — Wizards of the Coast