Template:CInfo
Jump to navigation
Jump to search
This function parses the collectorinfo field to return one of its three parts.
Usage: {{CInfo|collectorinfo|ERN}}
Where ERN is ONE of E, R or N (Returns: Expansion number, Rarity code, or card Number). IF ERN is blank or undefined, Rarity code will be returned. IF the length of collectorinfo is less than 3 nothing is returned.
This function assumes that Expansion number will be 1 or 2 characters, that Rarity code will be 1 character (Unless it is a loot card, where it will be 2 or 4 characters), and that card Number will be 1 to 3 characters in length.