Difference between revisions of "Template:ChicagoTribuneKeyword/doc"
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
Line 59: | Line 59: | ||
*''[[Chicago Tribune]]'' | *''[[Chicago Tribune]]'' | ||
− | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. --> | <!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. --> | ||
[[Category:External link templates]] | [[Category:External link templates]] | ||
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. --> | <!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. --> | ||
− | </includeonly> | + | }}</includeonly> |
Latest revision as of 04:35, 24 April 2020
![]() | This is a documentation subpage for Template:ChicagoTribuneKeyword. It contains usage information, categories and other content that is not part of the original template page. |
Template:Underused external link template This external link template generates an external link from the "External links" section of a Wikipedia article to the archive of related articles from the Chicago Tribune.
Options
When invoke without parameters, the keyword and the anchor text default to the current article title:
* {{ChicagoTribuneKeyword}}
The first positional parameter is the Chicago Tribune keyword, and defaults to the current article title, lower-cased, with spaces replaced with dashes:
* {{ChicagoTribuneKeyword|Keyword}}
The second positional parameter is the link anchor text, and defaults to the current article title:
* {{ChicagoTribuneKeyword|Keyword|AnchorText}}
Note that these example usages show a leading asterisk "*" for a bulleted list since this template is most likely to be used in an "External links" section.
Detailed instructions
- Go to the Keywords in the Chicago Tribune and search for and find the target subject (say, Michael Jordan).
- You then reach a page with a URL of the form http://articles.chicagotribune.com/keyword/michael-jordan
- In most cases, the Chicago Tribune keyword will be the article title, lower cased, with spaces replaced with dashes, in which case this template may simply be invoked with no parameters. Otherwise, the first positional parameter offers control over the Chicago Tribune keyword, and the second positional parameter offers control over the anchor text. See the test cases for more usage examples.
Template data
TemplateData for ChicagoTribuneKeyword
This external link template generates an external link from the 'External links' section of a Wikipedia article to the archive of related articles from the Chicago Tribune.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Chicago Tribune Keyword | 1 | The keyword used by the Chicago Tribune
| String | optional |
Anchor Text | 2 | The anchor text of the external link
| String | optional |
See also