टेम्पलेट:New York Times topic

विकिपीडिया से

"New York Times topic collected news and commentary". The New York Times.


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[संपादन करीं]

  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.

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:

"New York Times topic collected news and commentary". The New York Times.

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:

"Paul Taylor Dance Company collected news and commentary". The New York Times.

Template data[संपादन करीं]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for New York Times topic

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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
ID1 id

ID string used in the URL.

Stringrequired
Name2

Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional
Access date3 access-date

Date when the URL was visited.

Stringoptional

See also[संपादन करीं]