User:Ohconfucius/script/flagcruft.js: Difference between revisions

Content deleted Content added
bolding in flagwimbledon
tweak bolding
Line 301:
//rem linking templates
 
regex(/(\'{0,3}){{nowrap\|({{flagicon\|([^}]+)}} [^\n])}}(?=\n)/gi, '$1$2'); //using template with country identifier (for Wimbledon articles)
regex(/(\| RD[2-4]-team\d\d=\'{0,3}){{flagicon\|([^}]+)}} ?/gi, '$1'); //rem flag from table of all but first round
regex(/{{flagicon\|([^}]+)}} ?(\'{0,3}\[\[(?:[^\]]+)\]\])/gi, '{{flagathlete|$2|$1}}'); //using template with country identifier (for Wimbledon articles)