টেমপ্লেট:inh-lite/documentation
{{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:
- {{inh-lite}}: লাতিন tabula
- {{der-lite}}: লাতিন tabula
- {{inh-lite}}: লাতিন tabula (“tablet”)
- {{der-lite}}: লাতিন tabula (“tablet”)
- {{inh-lite}}: লাতিন tabula (“tablet”)
- {{inh-lite}}: লাতিন tabula (“tablet”)
- {{inh-lite}}: লাতিন
- {{der-lite}}: লাতিন
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ō}}
- Automatic normalisation of entry names (for example, the removal of macrons in Latin) is not provided. Use parameter 4 in these cases:
Additional parameters such as pos=
are not currently supported, although it would be easy to add them to the template code.