Template:URAA-date/doc: Difference between revisions
Template page
More actions
No edit summary |
Afghanistan has a URAA date now, and the template returns a proper date. Let's give an example that does not have a URAA date, so that the template returns a blank output |
||
| Line 28: | Line 28: | ||
*{{tlx|URAA-date|2=country=Peru}} gives "{{URAA-date|country=Peru}}" | *{{tlx|URAA-date|2=country=Peru}} gives "{{URAA-date|country=Peru}}" | ||
*{{tlx|URAA-date|Paris}} gives "{{URAA-date|Paris}}" | *{{tlx|URAA-date|Paris}} gives "{{URAA-date|Paris}}" | ||
*{{tlx|URAA-date| | *{{tlx|URAA-date|Iran}} gives "{{URAA-date|Iran}}" | ||
Revision as of 04:46, 9 July 2018
Provides date at which the URAA copyright restoration applies. Non-handled cases need to be looked up manually at en:Wikipedia:Non-U.S._copyrights#Dates_of_restoration_and_terms_of_protection (the data source for this template), and should be added here if possible.
Usage
{{URAA-date/doc |country= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
country | Country name in English language only or two letter Country code according to ISO 3166-1 alpha-2 | empty | required | |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
Localization
This template is not intended to be localized.
Examples
- {{URAA-date|Uzbekistan}} gives "2005-04-19"
- {{URAA-date|germany}} gives "1996-01-01"
- {{URAA-date|FRANCE}} gives "1996-01-01"
- {{URAA-date|DE}} gives "1996-01-01"
- {{URAA-date|country=Peru}} gives "1996-01-01"
- {{URAA-date|Paris}} gives ""
- {{URAA-date|Iran}} gives ""