This is the template test cases page for the sandbox of Template:NYT ext link. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
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