Template:Get farm from URL

This template is used to automatically add wiki sites to their farm based on a standard pattern in their URL. It is best to pass the API URL for a given wiki into this template.

Examples:

More farm patterns can easily be added with additional conditionals in this template.