This template should not be substituted. |
This is a wild-card template created based on this Redirects for discussion thread, intended to intuitively adapt to various "use x" templates. It uses the {{#switch:}} parser function.
Usage
edit{{Use|abc|def|date=MM YYYY}}
- abc represents either mdy or dmy. The first parameter controls only the datevar template, but may be left blank.
- def represents a country code from the table below for engvar. The country codes are based on the two-letter ISO country codes.
- MM YYYY represents the full month and year, such as "January 2001".
For example, {{Use|mdy|in|date=January 2001}}
returns {{Use mdy dates|date=January 2001}}{{Use Indian English|date=January 2001}}
.
Code | Outputs | Country |
---|---|---|
mdy | {{Use mdy dates}} | — |
dmy | {{Use dmy dates}} | — |
au | {{Use Australian English}} | Australia |
bd | {{Use Bangladeshi English}} | Bangladesh |
ca | {{Use Canadian English}} | Canada |
gb | {{Use British English}} | United Kingdom |
gh | {{Use Ghanaian English}} | Ghana |
hi, ir | {{Use Hiberno-English}} | Ireland |
hk | {{Use Hong Kong English}} | Hong Kong |
in | {{Use Indian English}} | India |
jm | {{Use Jamaican English}} | Jamaica |
ke | {{Use Kenyan English}} | Kenya |
lr | {{Use Liberian English}} | Liberia |
ng | {{Use Nigerian English}} | Nigeria |
nz | {{Use New Zealand English}} | New Zealand |
pk | {{Use Pakistani English}} | Pakistan |
ph | {{Use Philippine English}} | Philippines |
sg | {{Use Singapore English}} | Singapore |
sa, za | {{Use South African English}} | South Africa |
lk | {{Use Sri Lankan English}} | Sri Lanka |
tt | {{Use Trinidad and Tobago English}} | Trinidad and Tobago |
tz | {{Use Tanzanian English}} | Tanzania |
ug | {{Use Ugandan English}} | Uganda |
us | {{Use American English}} | United States |