Template:head/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{uses lua|Module:head|Module:head/templates|Module:languages|Module:parameters|Module:formatting|Module:gender and number}}
{{uses lua|Module:head|Module:head/templates|Module:languages|Module:parameters|Module:formatting|Module:gender and number}}
This is a base implementation of the headword part of a dictionary entry.
It is recommended that instead of using this directly, you make a custom template for a language that is better suited to the inflections of the language. For example, whilst this template could very well be used for a Kilitic adjective, there is a specific template {{temp|kil-adj}}.
==Usage==
For example, on the Radestrian entry {{m|rad|aleșa}}:
{{tempn|head|rad|noun|g=in|genitive singular|aleșesk}}
Generates:
: {{head|rad|noun|g=in|genitive singular|aleșesk|head=aleșa|nocat=1}}

Revision as of 16:58, 6 August 2023

This is a base implementation of the headword part of a dictionary entry.

It is recommended that instead of using this directly, you make a custom template for a language that is better suited to the inflections of the language. For example, whilst this template could very well be used for a Kilitic adjective, there is a specific template {{kil-adj}}.

Usage

For example, on the Radestrian entry aleșa:

{{head|rad|noun|genitive singular|aleșesk|g=in}}

Generates:

aleșa inan (genitive singular aleșesk)