Tests edit

unnamed parameters edit

Current edit

Homepage at The New York Times

Sandbox edit

Homepage Template:NYT link/sandbox/genat

inline edit

Current edit

inline=true: Homepage
inline=false: Homepage at The New York Times

Sandbox edit

inline=true: Homepage
inline=false: Homepage Template:NYT link/sandbox/genat

topic link edit

The following should link to the topic page for Susan E. Rice.

Current edit

Susan E. Rice collected news and commentary at The New York Times

Sandbox edit

Susan E. Rice Template:NYT link/sandbox/genat

archive link edit

The following should link to an article entitled "The State Department's Record of Dulles' News Conference" from May 30, 1957.

Current edit

The State Department's Record of Dulles' News Conference at The New York Times

Sandbox edit

The State Department's Record of Dulles' News Conference Template:NYT link/sandbox/genat

with year edit

Current edit

ROOSEVELT; Sweeps North and West and Is Elected President. (1904) at The New York Times

Sandbox edit

ROOSEVELT; Sweeps North and West and Is Elected President. Template:NYT link/sandbox/genat

with year and author edit

Current edit

ROOSEVELT; Sweeps North and West and Is Elected President. (1904) by T. Herman Zweibel at The New York Times

Sandbox edit

ROOSEVELT; Sweeps North and West and Is Elected President. Template:NYT link/sandbox/genat

errors test edit

The following code SHOULD return error messages.

Current edit

Error from Template:NYT link - If you are using the {{{topic}}} parameter you must also set the {{{linkname}}} parameter, i.e. you have to explicitly say linkname=name, you can't leave it as an unnamed parameter.NYT ext link/testcases collected news and commentary at The New York Times
Error from Template:NYT link - If you are using the {{{archiveid}}} parameter you must also set the {{{linkname}}} parameter, i.e. you have to explicitly say linkname=name, you can't leave it as an unnamed parameter.NYT ext link/testcases at The New York Times

Sandbox edit

Error from Template:NYT link - If you are using the {{{topic}}} parameter you must also set the {{{linkname}}} parameter, i.e. you have to explicitly say linkname=name, you can't leave it as an unnamed parameter.NYT ext link/testcases Template:NYT link/sandbox/genat
Error from Template:NYT link - If you are using the {{{archiveid}}} parameter you must also set the {{{linkname}}} parameter, i.e. you have to explicitly say linkname=name, you can't leave it as an unnamed parameter.NYT ext link/testcases Template:NYT link/sandbox/genat