Template:IS link

From QBWiki
Revision as of 12:25, 8 May 2022 by Kevin Wang (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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