Template:w: Difference between revisions

From Lexicon Leponticum
Jump to navigationJump to search
No edit summary
 
(No difference)

Latest revision as of 07:58, 8 May 2020

Usage

This template serves to display words. For each word, the template must be included separately. For example, in order to render the word pal.):

{{w|pala|pal.}}

has to be written. The individual fields have the following functions:

w name of the template
pala citation form of the word, i.e. the name of the page
pal. actually attested form of the word, display form of the word; it can be omitted if it is identical with the citation form, e.g.:
{{w|pala}}

If no property value is to be defined (for example, outside of inscriptions), the field for the citation form is to be left blank and only the display form is to be specified. In the following examples, these are pal. and pala:

{{w||pal.}}
{{w||pala}}

Additionally, if such a word is to be indexed and linked differently than it is to be displayed, a third parameter can be given as display form. E.g.

{{w||pala|pal.}}

will produce "pal.", i.e. indexing and linking to "pala" but displaying "pal.".


Results

  • The attested form will be displayed in translation with a link to the citation form of the word.
  • If the citation form is specified, the following properties will be defined:

Example

In order to code and display the words ualaunal ranen. for an inscription, assuming that the form ranen. is actually attested and that its citation form is raneni, the following has to be coded:

{{w|ualaunal}} {{w|raneni|ranen.}}