Template:der-lite

From Wiktionary, the free dictionary
Jump to navigation Jump to search

{{inh-lite}} and {{der-lite}} are intended to be very lightweight replacements for {{inh}} and {{der}} on pages that exceed the Lua memory limit. They display a basic Latin-script etymological link without calling into Lua.

Usage:

{{inh-lite|CHILD LANGUAGE CODE|PARENT LANGUAGE CODE|PAGE NAME|optional DISPLAY TEXT|optional GLOSS}}
{{inh-lite|CHILD LANGUAGE CODE|PARENT LANGUAGE CODE|PAGE NAME|t=optional GLOSS}}
{{inh-lite|CHILD LANGUAGE CODE|PARENT LANGUAGE CODE|-}}
{{der-lite|CHILD LANGUAGE CODE|PARENT LANGUAGE CODE|PAGE NAME|optional DISPLAY TEXT|optional GLOSS}}
{{der-lite|CHILD LANGUAGE CODE|PARENT LANGUAGE CODE|PAGE NAME|t=optional GLOSS}}
{{der-lite|CHILD LANGUAGE CODE|PARENT LANGUAGE CODE|-}}

Examples:

These templates are intended to be very simple. Therefore, the scope of the templates has been defined as follows:

  • The templates do not call into Lua, ever.
  • These templates use {{m-lite}}, so all limitations that apply there also apply here. In particular:
    • Automatic normalisation of entry names (for example, the removal of macrons in Latin) is not provided. Use parameter 4 in these cases: {{inh-lite|fr|la|apposco|appōscō}}

Additional parameters such as pos= are not currently supported, although it would be easy to add them to the template code.

See also

[edit]