Template:LSJ/doc

Generates a link to the online Ancient Greek entry of a word in A Greek–English Lexicon by Liddell/Scott/Jones (LSJ) or in An Intermediate Greek–English Lexicon (Middle Liddell Scott), a condensed edition of the former, both hosted on the Perseus Project. The two editions generally overlap, as far as entries are concerned, but not fully. For instance, ἀΐσσω occurs, but not  due to an error in the Perseus edition.

Usage

 * Syntax

where:
 * beta_code (required) is the Beta Code transliteration for the entry name.
 * greek_text (optional; preferable for reference readability) is the text to display in the link, typically written using a polytonic Greek character set with full Ancient Greek diacritics.
 * ref_type (optional) is the desired format of the reference text to be created, if any. Valid values are: ref (or cite), shortref, longref.
 * use_intermediate (optional) is the option to select the intermediate edition. The regular edition is used by default; the only valid value is mLSJ which is the necessary option in order to use the intermediate edition.

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

Simple examples
For an equals sign (=), the Beta Code symbol for circumflex, use the template  =  instead of the equals sign itself. The template will place the equals sign into the link. (A parameter with a bare "=" is invalid, since that symbol has meaning in template code: value.) Similarly for a vertical bar (|), the Beta Code for iota subscript, use the template  |  instead of the vertical bar itself.

Citing as a reference
For a citation, place ref (or its equivalent cite) as the second or third parameter. For a long citation, use longref, and for a very short citation (suitable for subsequent references), use shortref. Multiple entries might be cited by leaving the parameters of all, except of the last one, empty.

Note: If a footnote at the bottom of the page is desired, you must manually place  tags around this template.

A full example where multiple references might be generated might be coded thus:
 * The genus name Nycticebus derives from the+
 * "monkey"...   ← Note the "=" !

Which displays as the following text (including references):
 * The genus name Nycticebus derives from the νύξ + κῆβος kêbos "monkey".


 * References

Complex example
For some words, finding a Perseus entry can be difficult, because of dialectal variants, non-conventional Beta Code, letter case and numbers marking homographs. Perseus can be unforgiving in this regard. If you have difficulty, try searching with Beta Code (with or without accents) using the Dictionary Entry Lookup on the Perseus Search Tools page (be sure to select "Greek" in the drop-down list).

Non-traditional Beta Code sometimes used in Perseus entry names includes using an underscore _ for a macron and a Latin circumflex ^ for a brachy or a breve. A macron or a brachy that appears on its own is sometimes marked in the entry form. A macron or a brachy that appears on the same vowel as an acute or breathing is noted in brackets after the entry, and doesn't have to be bothered with: a)rgu/rion [u^].

TemplateData
{ "description": "A template to generate a link to the online Ancient Greek entry in A Greek-English Lexicon by Liddell/Scott/Jones (LSJ), hosted on the Perseus Project.", "params": { "1": {   "label": "Beta code", "description": "The Beta Code transliteration for the entry name.", "type": "string", "required": true }, "2": {    "label": "Greek text", "description": "The text to display in the link, typically written using a polytonic Greek character set with full Ancient Greek diacritics.", "type": "string", "required": false }, "3": {    "label": "Reference type", "description": "Desired reference format. Valid values are: 'ref' (or 'cite'), 'shortref', 'longref'.", "type": "string", "required": false }, "4": {    "label": "Use of Intermediate", "description": "Selection of intermediate edition of the dictionary. Valid value is: 'mLSJ'.", "type": "string", "required": false } }}