跳转到内容

Template:L&S/doc

本页使用了标题或全文手工转换
维基百科,自由的百科全书

Generates a link to the online Latin entry of a word in A Latin Dictionary, by Charlton T. Lewis and Charles Short (L&S), often called Lewis and Short, or in An Elementary Latin Dictionary, often called Elementary Lewis, an abridged, by Lewis, edition of the former, both hosted on the Perseus Project.

用法

[编辑]
Syntax
{{L&S|headword|latin_text|ref_parameter|ed_parameter}}

where:

headword (required) is the entry name, the lemma.
latin_text (optional) is the text to display in the link.
ref_parameter (optional) is the parameter for citing. Valid value: ref.
ed_parameter (optional) is the option to select the abridged edition/version. The regular edition is used by default; the only valid value is lL&S which is the necessary option in order to use the abridged edition.

All parameters are order of input specific. All optional parameters are case sensitive.

例子

[编辑]

A Latin Dictionary

[编辑]

Link on the Perseus Project to entries in A Latin Dictionary (Lewis and Short; L&S).

WikiCode Result
{{L&S|entry name|link text}}
{{L&S|abacus}} abacus
{{L&S|abacus|ăbăcus}} ăbăcus

Citations

[编辑]

For citations, place ref as the second or third parameter.

WikiCode Result
{{L&S|entry name|link text|reference parameter}}
{{L&S|abacus|ref}} abacus. 初级拉丁语词典英语A Latin Dictionary,查尔顿·托马斯·刘易斯和查尔斯·肖特,珀修斯项目英语Perseus Digital Library
{{L&S|abacus|ăbăcus|ref}} ăbăcus. 初级拉丁语词典英语A Latin Dictionary,查尔顿·托马斯·刘易斯和查尔斯·肖特,珀修斯项目英语Perseus Digital Library

An Elementary Latin Dictionary

[编辑]

Link on the Perseus Project to entries in An Elementary Latin Dictionary (Elementary Lewis).

WikiCode Result
{{L&S|entry name|link text|edition parameter}}
{{L&S|abacus|lL&S}} abacus
{{L&S|abacus|ăbăcus|lL&S}} ăbăcus

Citations

[编辑]

For citations, place ref as the second or third parameter, but always preceding the lL&S parameter.

WikiCode Result
{{L&S|entry name|link text|reference parameter|edition parameter}}
{{L&S|abacus|ref|lL&S}} abacus. 初级拉丁语词典英语A Latin Dictionary,查尔顿·托马斯·刘易斯,珀修斯项目英语Perseus Digital Library
{{L&S|abacus|ăbăcus|ref|lL&S}} ăbăcus. 初级拉丁语词典英语A Latin Dictionary查尔顿·托马斯·刘易斯英语Charlton Thomas Lewis珀修斯项目英语Perseus Digital Library

Template Data

[编辑]

A template to generate a link to the online Latin entry in ''A Latin Dictionary'' by Charlton T. Lewis and Charles Short (L&S), hosted on the Perseus Project.

模板参数

参数描述类型状态
Headword1

Entry name, lemma.

字符串必需
Latin text2

The text to display in the link.

字符串可选
Reference type3

Desired reference format. Valid value is: 'ref'.

字符串可选
Use of Elementary4

Selection of elementary edition of the dictionary. Valid value is: 'lL&S'.

字符串可选