ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:ChicagoTribuneKeyword/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

ਫਰਮਾ: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

[ਸੋਧੋ]
  1. Go to the Keywords in the Chicago Tribune and search for and find the target subject (say, Michael Jordan).
  2. You then reach a page with a URL of the form http://articles.chicagotribune.com/keyword/michael-jordan
  3. 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

[ਸੋਧੋ]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for Template:ChicagoTribuneKeyword based on its TemplateData.

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.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
Chicago Tribune Keyword1

The keyword used by the Chicago Tribune

ਮੂਲ ਰੂਪ
The article title, lower-cased, with spaces replaced with dashes
Example
michael-jordan
Auto value
{{subst:{{urlencode:{{lc:{{#invoke:String|replace|{{BASEPAGENAME}}| |-|plain=true}}}}}}}}
Stringoptional
Anchor Text2

The anchor text of the external link

ਮੂਲ ਰੂਪ
The article title
Example
Michael Jordan
Auto value
{{subst:BASEPAGENAME}}
Stringoptional

See also

[ਸੋਧੋ]