Template:Guardian topic

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

"Guardian topic collected news and commentary". The Guardian.

Template documentation[view] [edit] [history] [purge]

This template generates an external link to a topic page at The Guardian website.

Usage[change source]

{{Guardian topic | ID }}
{{Guardian topic | ID | NAME }}

Instructions[change source]

Provide the URL path (after the first level) as the first parameter, and an optional name as the second parameter. If no ID is provided, the template will attempt to fetch the value from Wikidata. If no name is provided for the second parameter, the template will use the name of the Wikipedia article.

Examples[change source]

One parameter[change source]

URL: http://www.theguardian.com/music/aretha-franklin

Usage: {{Guardian topic | music/aretha-franklin }}

Output: "Guardian topic collected news and commentary". The Guardian.

Two parameters[change source]

URL: http://www.theguardian.com/technology/billgates

Usage: {{Guardian topic | technology/billgates | Bill Gates }}

Output: "Bill Gates collected news and commentary". The Guardian.

Template data[change source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Guardian topic

This template generates an external link to a topic page at The Guardian website.

Template parameters

ParameterDescriptionTypeStatus
ID1

ID string used in the URL.

Stringoptional
Name2

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

Stringoptional

Tracking categories[change source]

See also[change source]