Template:Aljazeera topic/doc

< Template:Aljazeera topic

 Info:


This template generates an external link to a topic page at the Al Jazeera English website.

Usage

{{Aljazeera topic | ID }}
{{Aljazeera topic | ID | NAME }}

Instructions

Provide the URL path (after the first level) as the first parameter, and 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:

https://www.aljazeera.com/topics/people/hosni-mubarak.html

Usage:

{{Aljazeera topic | people/hosni-mubarak }}

Output:

Aljazeera topic/doc collected news and commentary at Al Jazeera English

Two parameters

URL:

https://www.aljazeera.com/topics/people/hosni-mubarak.html

Usage:

{{Aljazeera topic | people/hosni-mubarak | Hosni Mubarak }}

Output:

Hosni Mubarak collected news and commentary at Al Jazeera English

Template data

This is the TemplateData documentation for the template used by the new VisualEditor.

Aljazeera topic

<templatedata> {

       "description": "This template generates an external link to a topic page at the Al Jazeera English website.",

"params": { "1": { "label": "ID", "description": "ID string used in the URL.", "type": "string", "required": true }, "2": { "label": "Name", "description": "Name displayed in the link text. If not specified it defaults to the article's Aljazeera topic/doc, without disambiguation.", "type": "string",

                       "required": false

} } } </templatedata>

See also