টেমপ্লেট:inh-lite/documentation

উইকিঅভিধান, মুক্ত অভিধান থেকে
টেমপ্লেট:inh-lite. [edit] জন্য নথির পাতা।
এখানে টেমপ্লেট-এ ব্যবহার সংক্রান্ত তথ্য, বিষয়শ্রেণী, আন্তউইকি সংযোগসমূহ এবং অন্যান্য বিষয়বস্তু বর্ণনা করা হয়েছে।

{{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.