قالب:Britannica/doc
This is a documentation subpage for قالب:Britannica. It may contain usage information, categories and other content that is not part of the original قالب page. |
This template can be used to provide a link to the Encyclopædia Britannica's article on a given subject.
Usage
تعديلThis template may be used as an inline reference, or in the "External links" section of an article.
Unnamed parameters:
{{Britannica | ID }}
{{Britannica | ID | TITLE }}
{{Britannica | ID | TITLE | AUTHOR }}
Named parameters:
{{Britannica | id=ID }}
{{Britannica | id=ID | title=TITLE }}
{{Britannica | id=ID | title=TITLE | author=AUTHOR }}
Combination:
{{Britannica | ID | author=AUTHOR }}
ID is a numerical value given in the html source of the Britannica article in question. It can be seen at "topicId":
around line 70. See for example How to view the HTML source code of a web page if you need help with this. The source of https://www.britannica.com/science/pancreas says "topicId": 440971
so it would use:
{{Britannica|440971}}
It produces a link with the url https://www.britannica.com/EBchecked/topic/440971/pancreas. It currently redirects to https://www.britannica.com/science/pancreas but that url may be less stable and cannot be produced by this template. When the template was originally made, britannica.com included the ID in the normal url.
TITLE provides an optional title for the link in place of the name of the Wikipedia article, in case the Britannica article has a different name for some reason (i.e. a Latin rather than a common name): For example, the Wikipedia article for the common Daffodil is titled Narcissus pseudonarcissus, while Britannica uses Daffodil and says "topicId": 149590
in the source. As such, the link would be formatted as follows:
{{Britannica|149590|Daffodil}}
result:
- Daffodil at the Encyclopædia Britannica
AUTHOR adds an optional author at the beginning of the output.
{{Britannica|440971|Pancreas|Robert D. Utiger}}
result:
- Robert D. Utiger, Pancreas at the Encyclopædia Britannica
This template places articles in Category:Articles with Encyclopædia Britannica links.
See also
تعديل- {{Cite OED}} which generates citation code for the third edition of the Oxford English Dictionary, another British resource
- {{Cite OED1}} which generates citation code for the first edition
- {{Cite OED2}} which generates citation code for the second edition