แม่แบบ:R:Macmillan
หน้าตา
“R:Macmillan” (US) / “R:Macmillan” (UK) in Macmillan English Dictionary.
- The following documentation is located at แม่แบบ:R:Macmillan/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox (diff)
Usage
[แก้ไข]This template may be used in "References" and "Further reading" sections, and on talk pages, to provide a citation to the Macmillan English Dictionary website.
Parameters
[แก้ไข]|lang=
– mandatory in some cases: to cite only the American version or the British version of the Dictionary, specify|lang=US
or|lang=UK
respectively.|1=
or|entry=
, and|entry_uk=
– use these parameters as follows:- If citing both the American and British versions of the Dictionary, or only one version, use
|1=
or|entry=
to specify the entry. If the parameter is not specifed, the template uses the name of the Wiktionary entry. - If citing both the American and British versions of the Dictionary and the entry names in the versions are spelled differently, use
|entry_uk=
to specify the entry in the British version.
- If citing both the American and British versions of the Dictionary, or only one version, use
|2=
or|url=
– if the default URL is not linking to the correct webpage in the American version of the Dictionary, use this parameter to indicate the URL of the webpage to be linked to.|3=
or|url_uk=
– if the default URL is not linking to the correct webpage in the British version of the Dictionary, use this parameter to indicate the URL of the webpage to be linked to.|4=
,|text=
, or|passage=
– a passage quoted from the website.|nodot=
– by default, the template adds a full stop (period) at the end of the citation. To suppress this punctuation, use|nodot=1
or|nodot=yes
.
Examples
[แก้ไข]General
[แก้ไข]- Wikitext:
{{R:Macmillan}}
(assuming the template is used on the chameleon page); or{{R:Macmillan|entry=chameleon}}
; or{{R:Macmillan|chameleon}}
- Result: “chameleon” (US) / “chameleon” (UK) in Macmillan English Dictionary.
- Wikitext:
{{R:Macmillan|entry=I'll show you/him/them etc.|url=https://www.macmillandictionary.com/dictionary/american/i-ll-show-you-him-them-etc|url_uk=https://www.macmillandictionary.com/dictionary/british/i-ll-show-you-him-them-etc}}
; or{{R:Macmillan|I'll show you/him/them etc.|https://www.macmillandictionary.com/dictionary/american/i-ll-show-you-him-them-etc|https://www.macmillandictionary.com/dictionary/british/i-ll-show-you-him-them-etc}}
- Result: “I'll show you/him/them etc.” (US) / “I'll show you/him/them etc.” (UK) in Macmillan English Dictionary.
Citing an entry spelled differently in the American and British versions of the Dictionary
[แก้ไข]- Wikitext:
{{R:Macmillan|entry=labor the point|entry_uk=labour the point}}
- Result: “labor the point” (US) / “labour the point” (UK) in Macmillan English Dictionary.
Citing either the American version or the British version only
[แก้ไข]- Wikitext:
{{R:Macmillan|lang=US|entry=color}}
- Result: “color” (US) in Macmillan English Dictionary.
- Wikitext:
{{R:Macmillan|lang=UK|entry=colour}}
- Result: “colour” (UK) in Macmillan English Dictionary.
- Wikitext:
{{R:Macmillan|lang=UK|entry=(I) can't say fairer than that|url_uk=https://www.macmillandictionary.com/dictionary/british/i-can-t-say-fairer-than-that}}
- Result: “(I) can't say fairer than that” (UK) in Macmillan English Dictionary.