Template:Get farm from URL

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

Example:



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