Template:label/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
(Created page with "{{uses lua|Module:labels}} This template can be used to add labels to a language's definition of a term. It will automatically handle the addition of categories relating to the labels. You can add labels that are pre-defined and many include extra formatting (e.g. linking to the glossary) or auto-categorisation, or you can add your own free-form labels. The full list of available labels is located in code at Module:labels/data. ==Usage== {{tempn|label|kil|intran...")
 
No edit summary
Line 12: Line 12:
Generates:
Generates:
: {{label|kil|intrans|with preposition {{m|kil|le}}|nocat=1}}
: {{label|kil|intrans|with preposition {{m|kil|le}}|nocat=1}}
and automatically adds the category [[:Kilitic intransitive verbs]].


===Parameters===
===Parameters===

Revision as of 14:48, 6 August 2023

This template can be used to add labels to a language's definition of a term. It will automatically handle the addition of categories relating to the labels.

You can add labels that are pre-defined and many include extra formatting (e.g. linking to the glossary) or auto-categorisation, or you can add your own free-form labels.

The full list of available labels is located in code at Module:labels/data.

Usage

{{label|kil|intrans|with preposition le}}

Generates:

(intransitive with preposition <i class=mention lang=kil>le)

and automatically adds the category Kilitic intransitive verbs.

Parameters

|1=
The language code of the language whose definition you are applying this label to.
|2=, |3=, etc.
You can put as many label identifiers as you'd like and they will be automatically added.
|nocat=
When specified as true (e.g. |nocat=1) then no categories will be automatically added to the page.