Module:Sandbox/Perryprog/xlink/doc explained

Background

Eventually I want the loose equivalent of a for all the different special-link-templates I use (I tend to avoid the external link syntax). The end goal is to be able to say something like, and depending on the pattern the URL matches it would emit wikitext (assuming substitution works out well—I wouldn't be surprised if it's impossible) for either,,, and others as time goes on.

Small shorter-term TODO:

Longer-term TODO: