Difference between revisions of "Template:Aljazeera topic/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>777sms
blackwiki>777sms
Line 7: Line 7:
 
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.
 
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.
  
<nowiki>{{Aljazeeratopic|Aljazeeratopic path|path}}</nowiki>
+
<nowiki>{{Aljazeera topic|Aljazeera topic path|path}}</nowiki>
  
 
Example:
 
Example:
<br><nowiki>{{Aljazeeratopic|person/hosni-mubarak|Hosni Mubarak}}</nowiki>
+
<br><nowiki>{{Aljazeera topic|person/hosni-mubarak|Hosni Mubarak}}</nowiki>
 
<br>Appears as:
 
<br>Appears as:
<br>{{Aljazeeratopic|person/hosni-mubarak|Hosni Mubarak}}
+
<br>{{Aljazeera topic|person/hosni-mubarak|Hosni Mubarak}}
  
 
Example using default name:
 
Example using default name:
<br><nowiki>{{Aljazeeratopic|person/hosni-mubarak}</nowiki>
+
<br><nowiki>{{Aljazeera topic|person/hosni-mubarak}</nowiki>
 
<br>Appears as:
 
<br>Appears as:
<br>{{Aljazeeratopic|person/hosni-mubarak}}
+
<br>{{Aljazeera topic|person/hosni-mubarak}}
  
 
<includeonly>
 
<includeonly>

Revision as of 08:25, 4 December 2012

Function

Link to an Al Jazeera English topic page.

Usage

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.

{{Aljazeera topic|Aljazeera topic path|path}}

Example:
{{Aljazeera topic|person/hosni-mubarak|Hosni Mubarak}}
Appears as:
Hosni Mubarak collected news and commentary at Al Jazeera English

Example using default name:
{{Aljazeera topic|person/hosni-mubarak}
Appears as:
Template:PAGENAMEBASE collected news and commentary at Al Jazeera English