Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:NewsBank/doc

From Wikipedia, the free encyclopedia

Used for linking to articles on NewsBank that are formatted as text. (There is not yet a template for links to page images.) Primarily designed for use in |id= parameters of CS1 citation templates.

The unnamed first parameter is the ID of the article. The ID is a string of numbers and letters (specifically, 16 hexadecimal digits) that appears in the URL, usually after news/, and is either before a symbol such as & or % or is at the end of the URL. In the case of a URL of the format https://docs.newsbank.com/s/InfoWeb/aggdocs/AWNB/<short string>/<long string>, the ID is the short string.

The optional |subdomain= parameter is the subdomain of newsbank.com used to provide paid access to the article to individuals, rather than libraries and other institutions. (It seems that this may not always exist, depending on the publisher's licensing agreement with NewsBank.) It appears in the URL after https:// and before .newsbank.com. Certain subdomains, such as "infoweb" and "docs", are used to provide institutional access, and so should not be included here.

For example, the URLs https://infoweb.newsbank.com/apps/news/document-view?p=AWNB&t=&sort=YMD_date%3AD&hide_duplicates=0&fld-base-0=alltext&maxresults=20&val-base-0=Wikipedia&docref=news/19EF63E32F8924C8 and https://infoweb.newsbank.com/apps/news/openurl?ctx_ver=z39.88-2004&rft_id=info%3Asid/infoweb.newsbank.com&svc_dat=AWNB&req_dat=<long string of hex digits redacted>&rft_val_format=info%3Aofi/fmt%3Akev%3Amtx%3Actx&rft_dat=document_id%3Anews/19EF63E32F8924C8 can be replaced with the template {{NewsBank text|19EF63E32F8924C8}}, which renders as: NewsBank 19EF63E32F8924C8

As another example, the URLs https://washingtontimes.newsbank.com/doc/news/17199E9557E391F0?search_terms=wikipedia&text=wikipedia&pub%255B0%255D=WSTB&pdate=2019-02-15 and https://washingtontimes.newsbank.com/sign-up?docref=doc/news/17199E9557E391F0%3Fsearch_terms%3Dwikipedia%26text%3Dwikipedia%26pub%25255B0%25255D%3DWSTB%26pdate%3D2019-02-15 can be replaced with the template {{NewsBank text|17199E9557E391F0|subdomain=washingtontimes}}, which renders as: NewsBank 17199E9557E391F0 (paid access, library access)

The "plainlink" parameter can be used to hide the word "NewsBank" at the start, such as if linking to multiple NewsBank items in a row (e.g. multiple editions of the same article, multiple parts of a large story, etc.). For example, {{NewsBank text|19EF63E32F8924C8}}, {{NewsBank text|plainlink=yes|17199E9557E391F0}} renders as: NewsBank 19EF63E32F8924C8, 17199E9557E391F0.

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Plain link?plainlink

Should this output just the external link, without stating "NewsBank" first?

Suggested values
yes
Default
yes
Unknownoptional
ID1

The ID after "news/" in the URL

Stringrequired
Subdomainsubdomain

The subdomain of newsbank.com providing paid access to the news source's articles

Stringsuggested