Template:NYTtopic/doc

This template generates an external link to a topic page at The New York Times website.

Instructions

 * 1) Find a New York Times topic page. The URL will need to look like http://topics.nytimes.com/top/reference/timestopics/XXXXXX/index.html where "XXXXXX" is the url directory path portion to be used.
 * 2) Provide the url path portion as the template's first parameter. Do not include the leading or trailing slash.
 * 3) Provide an optional name as the second parameter. If no name is provided for the second parameter, the template will use the name of the Wikipedia article.

One parameter
URL:

Usage:

Output:

Two parameters
URL:

Usage:

Output:

Template data
{       "description": "This template generates an external link to a topic page at The New York Times website.", "params": { "1": {			"label": "ID", "description": "ID string used in the URL.", "type": "string", "required": true },		"2": {			"label": "Name", "description": "Name displayed in the link text. If not specified it defaults to the article's, without disambiguation.", "type": "string", "required": false }	} }