I see that Ancestry.com external link templates are now live and functional: https://www.wikitree.com/wiki/Help:Links_to_Ancestry. Thank you to those who developed this.
If agreed to, would it be possible to create variations for the Library, Institution, and even HeritageQuest versions of Ancestry? My understanding is that only the initial part of the URL changes, so
https://www.ancestry.com/interactive/1234/5678
becomes
Library: https://www.ancestrylibrary.com/interactive/1234/5678
Institution: https://www.ancestryinstitution.com/interactive/1234/5678
HeritageQuest: https://www.ancestryheritagequest.com/interactive/1234/5678
It seems there would be two ways to do this, a new/different template or a switch; for example
{{Ancestry Image|1234|5678}}
Option 1: {{AncestryLibrary Image|1234|5678}}
Option 2: {{Ancestry Image|1234|5678|version=library}}
Even better, and I don't know how this could be done, give the user clicking the link the option of choosing the repository. Assuming that's not possible, provide an option to generate links to multiple versions. One confounding issue is not every target is available in every version. Some of this is just spitballing, hoping to generate a conversation from others who are interested and have ideas.