Template:PD-US/doc

Usage
{	"params": { "deathyear": { "aliases": [ "1"			],			"description": "The year of death of the author (or the last author to die in the case of multiple authors).", "example": "1945", "type": "number", "required": false },		"pubyear": { "aliases": [ "2"			],			"description": "The year when the work was first published.", "example": "1945", "type": "number", "required": false },		"film": { "description": "Whether the work is a film.", "example": "yes", "type": "boolean", "suggestedvalues": [ "yes", "no" ],			"default": "false" }	},	"description": "Adds licence information for works published over 95 years ago. Also can be used on author pages.", "format": "inline", "paramOrder": [ "deathyear", "pubyear", "film" ] }

Please consider using the parameter to automatically enhance the template to show how many years ago the authors died and  to show how when the work was published, or using  for anonymous and pseudonymous works.

Examples
Basic usage:

For an author who died in 1980:

You can also write the parameter like this:

If the author died more than 100 years ago, the template will automatically call PD-old:

For a film where the last author died in 1983:

To show a publication year:

You can include both a death year and a publication year:

All parameters together:

An error will be shown for post-cutoff publication dates: