Template:Copyright-until/doc

Usage
This template is intended to be used on Author: pages to display the first parameter as a Wikipedia link until the year of the second parameter, when it is shown as a red link because its copyright has expired.

e.g. on Author:Thorne Smith

Parameters

 * 1st unnamed param (optional)
 * Name to use for this work's link. Optional.


 * until (or 2nd unnamed param) (optional)
 * Year when the U.S. copyright is believed to expire. If not given, this will categorise into Category:Pages claiming copyright without date. This is usually the publication date, plus 96.
 * This can be an expression like.


 * display (optional)
 * Text to display instead of work link.


 * author (optional)
 * Author name, will create link to author page if work is specified.


 * extra (optional)
 * Extra information about the work (e.g. film by Joe Bloggs). This will go in parentheses after the title.


 * pubyear (optional)
 * Year of publication. This will go in parentheses after the title and extra data, if there is any.


 * renewal (optional)
 * If the copyright was extended by a renewal of U.S. copyright, use this to include the renewal number ("R" followed by digits)


 * wikipedia (optional)
 * Name of corresponding article on Wikipedia, if the article exists

Example 1
appears as:


 * Topper — Copyrighted in the United States until 2022

In the year 2022, it will appear as:


 * Topper

Example 2
appears as:


 * Topper (1926) — Copyrighted in the United States until 2022

In the year 2022, it will appear as:
 * Topper (1926)

Note that because "Topper" has a Wikipedia entry, it can be linked to with:

which appears as
 * Topper — Copyrighted in the United States until 2022

Example 3 (no title parameter)
This example doesn't have a title parameter, so the generated content starts at "Copyrighted in..."
 * Copyrighted in the United States until 2021

After 2021, nothing will be shown, but the page will still be categorised as above.

Example 4 (extra data)


This is useful when some versions of a work are still copyrighted but others aren't.

Example 5 (author)


This is useful when the template is used on non-Author pages, such as portals and versions/translations pages.

Example 6 (display)




This is useful for disambiguated pages.

Categories
Listing work using this template will automatically list work in Category:Pages listing works with possibly expired copyrights allowing confirmation of copyright status and possible addition to Wikisource.

{	"params": { "1": {			"description": "Name for the work's link", "example": "Prelude to a Million Years", "type": "wiki-page-name", "suggested": true },		"until": { "aliases": [ "2"			],			"description": "Year when the U.S. copyright is believed to expire (on 1st Jan). This is usually the publication date plus 96.", "example": "2029", "suggested": true },		"display": { "description": "Text to display instead of work link." },		"wikipedia": { "description": "Link to Wikipedia" },		"author": { "label": "author", "description": "Author name, will create link to author page if work is specified.", "type": "line" },		"pubyear": { "description": "Year of publication", "example": "1933", "type": "line", "suggested": true },		"extra": { "description": "Extra information about the work (e.g. film by Joe Bloggs). This will go in parentheses after the title.", "type": "string" },		"renewal": { "description": "If the copyright was extended by a renewal of U.S. copyright, use this to include the renewal number (\"R\" followed by digits)", "example": "R337002", "type": "line", "suggested": true }	},	"description": "List a work on an Author or Portal page where the copyright has not yet expired", "paramOrder": [ "1",		"until", "renewal", "pubyear", "display", "author", "extra", "wikipedia" ],	"format": "inline" }