Template:IS link

From QBWiki
Revision as of 21:24, 7 April 2022 by Kevin Wang (talk | contribs)
Jump to navigation Jump to search

Given the name of an IS set as /^(IS-)[0-9]{0,2}([24680]|[13579]A)$/ (either the full name or just the number), return a link to the NAQT page for that set. The mechanism by which this is accomplished is terrible and hacky and relies on retrieving "packet_set_id" values from Template:IS map, which is manually populated.

Input Output

{{IS link|203A}} {{IS link|IS-203A}}

IS-203A IS-203A