Template:New York Times topic/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:New York Times topic. It contains usage information, categories and other content that is not part of the original template page. |
This template is intended for external links. It is not designed for use as a citation template for reliable sources. |
This template generates an external link to a topic page at The New York Times website.
Usage
{{New York Times topic | ID }}
{{New York Times topic | ID | NAME }}
{{New York Times topic | ID | NAME | ACCESS DATE }}
Instructions
- 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.
- Provide the url path portion as the template's first parameter. Do not include the leading or trailing slash.
- 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.
Examples
One parameter
URL:
http://topics.nytimes.com/top/reference/timestopics/people/r/susan_e_rice/index.html
Usage:
{{New York Times topic | people/r/susan_e_rice }}
Output:
Two parameters
URL:
http://topics.nytimes.com/top/reference/timestopics/organizations/t/taylor_paul_dance_co/index.html
Usage:
{{New York Times topic | organizations/t/taylor_paul_dance_co | Paul Taylor Dance Company }}
Output:
Template data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for New York Times topic
This template generates an external link to a topic page at The New York Times website.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | 1 id | ID string used in the URL. | String | required |
Name | 2 | Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |
Access date | 3 access-date | Date when the URL was visited. | String | optional |
See also
- {{Bloomberg topic}} – topic page at Bloomberg News
- {{Guardian topic}} – topic page at The Guardian
- {{Aljazeera topic}} – topic page at Al Jazeera English
- {{WhoRunsGov}} – topic page at The Washington Post