Difference between revisions of "Template:Aljazeera topic/doc"
Jump to navigation
Jump to search
blackwiki>777sms m (777sms moved page Template:Aljazeeratopic/doc to Template:Aljazeera topic/doc) |
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>{{ | + | <nowiki>{{Aljazeera topic|Aljazeera topic path|path}}</nowiki> |
Example: | Example: | ||
| − | <br><nowiki>{{ | + | <br><nowiki>{{Aljazeera topic|person/hosni-mubarak|Hosni Mubarak}}</nowiki> |
<br>Appears as: | <br>Appears as: | ||
| − | <br>{{ | + | <br>{{Aljazeera topic|person/hosni-mubarak|Hosni Mubarak}} |
Example using default name: | Example using default name: | ||
| − | <br><nowiki>{{ | + | <br><nowiki>{{Aljazeera topic|person/hosni-mubarak}</nowiki> |
<br>Appears as: | <br>Appears as: | ||
| − | <br>{{ | + | <br>{{Aljazeera topic|person/hosni-mubarak}} |
<includeonly> | <includeonly> | ||
Revision as of 08:25, 4 December 2012
| 40px | This is a documentation subpage for Template:Aljazeera topic. It contains usage information, categories and other content that is not part of the original template page. |
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