Template:Donate redirect/doc

Template documentation
This template uses javascript to redirect a user to a fundraising page on https://donate.wikimedia.org

More than that, it makes sure that certain tracking parameters (such as utm_medium, utm_source, utm_campaign) are also forwarded if they were included in the present URL. It will also forward country and uselang URL parameters.

There are two optional template parameters which can be set to affect the redirect:
 * language
 * A valid language code.


 * country
 * An ISO 3166-1 alpha-2 country code

(These will both be overridden by URL parameters if present).

Example
- Leads to a United Kingdom fundraising page, in Welsh