This is the current revision of this page, as edited by Gary600 (talk | contribs) at 04:22, 16 September 2024 (Remove stray newline from before lead of transcluding articles). The present address (URL) is a permanent link to this version.
Revision as of 04:22, 16 September 2024 by Gary600 (talk | contribs) (Remove stray newline from before lead of transcluding articles)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff) Template documentation[view] [edit] [history] [purge]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
{{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 |
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: