Template:URAA-date/doc: Difference between revisions
Template page
More actions
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 |
(Examples) Extension of the given list of examples (for the 3 countries with the currently last dates - note: this displays here the large range of the resulting dates from this template) + Notes added to 5 examples in the list (these are the 3 new countries and the 2 examples with an empty result - note: the 5 others needs no note) |
||
| Line 22: | Line 22: | ||
==Examples== | ==Examples== | ||
*{{tlx|URAA-date|Uzbekistan}} gives "{{URAA-date|Uzbekistan}}" | * {{tlx|URAA-date|Uzbekistan}} gives "{{URAA-date|Uzbekistan}}" | ||
*{{tlx|URAA-date|germany}} gives "{{URAA-date|germany}}" | * {{tlx|URAA-date|germany}} gives "{{URAA-date|germany}}" | ||
*{{tlx|URAA-date|FRANCE}} gives "{{URAA-date|FRANCE}}" | * {{tlx|URAA-date|FRANCE}} gives "{{URAA-date|FRANCE}}" | ||
*{{tlx|URAA-date|DE}} gives "{{URAA-date|DE}}" | * {{tlx|URAA-date|DE}} gives "{{URAA-date|DE}}" | ||
*{{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}}" ... note: error, not a country | ||
*{{tlx|URAA-date|Iran}} gives "{{URAA-date|Iran}}" | * {{tlx|URAA-date|Iran}} gives "{{URAA-date|Iran}}" ... note: no URAA with Iran | ||
* {{tlx|URAA-date|Tuvalu}} gives "{{URAA-date|Tuvalu}}" ... note: 3rd last date | |||
* {{tlx|URAA-date|Kiribati}} gives "{{URAA-date|Kiribati}}" ... note: 2nd last date | |||
* {{tlx|URAA-date|Nauru}} gives "{{URAA-date|Nauru}}" ... note: the last date ... all 5 notes valid at 2021-02-12 | |||
<includeonly> | <includeonly> | ||
Revision as of 18:48, 13 February 2021
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 "" ... note: error, not a country
- {{URAA-date|Iran}} gives "" ... note: no URAA with Iran
- {{URAA-date|Tuvalu}} gives "2017-06-02" ... note: 3rd last date
- {{URAA-date|Kiribati}} gives "2018-01-02" ... note: 2nd last date
- {{URAA-date|Nauru}} gives "2020-05-11" ... note: the last date ... all 5 notes valid at 2021-02-12