Template:gloss: Difference between revisions
TheNightAvl (talk | contribs) (Redirected page to Template:glossary) Tag: New redirect |
TheNightAvl (talk | contribs) No edit summary Tag: Manual revert |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
# | <noinclude>{{documentation}}</noinclude><includeonly>{{#invoke:gloss|show}}</includeonly><noinclude>[[Category:Templates]]</noinclude> | ||
Latest revision as of 17:00, 17 April 2025
Shortcut
{{gl}} |
| Uses Lua: |
Formats glosses: gloss forms are automatically displayed in small capitals and are provided with hover definitions. Recognised abbreviations in Module:form of/data are also linked to the glossary, negating any styling unless specified. The hover text itself will always remain.
Usage
To use the character =, it must be entered as {{=}}}.
{{gloss|sheep-NOM.SG 3S.ANIM-DAT REL{{=}}3S wool-GEN.SG NEG.PST-DEPERS.SG horse-PL-ACC see.PST-IND-3S}}
Parameters
|noline=1- Force-disables styling of recognised glosses; mutually exclusive with
|style= |nolinks=1- Disabling links means that all recognised abbreviations are now underlined to signal hover text. To disable this as well, use
|noline=1. |style=- Customises the styling of recognised glosses; mutually exclusive with
|noline=
Below are all possible parameter combinations:
{{gloss|sheep-NOM.SG 3S.ANIM-DAT REL{{=}}3S wool-GEN.SG NEG.PST-DEPERS.SG horse-PL-ACC see.PST-IND-3S|noline=1}}
{{gloss|sheep-NOM.SG 3S.ANIM-DAT REL{{=}}3S wool-GEN.SG NEG.PST-DEPERS.SG horse-PL-ACC see.PST-IND-3S|nolinks=1}}
- sheep-nom.sg 3s.anim-dat rel=3s wool-gen.sg neg.pst-depers.sg horse-pl-acc see.pst-ind-3s
{{gloss|sheep-NOM.SG 3S.ANIM-DAT REL{{=}}3S wool-GEN.SG NEG.PST-DEPERS.SG horse-PL-ACC see.PST-IND-3S|noline=1|nolinks=1}}
- sheep-nom.sg 3s.anim-dat rel=3s wool-gen.sg neg.pst-depers.sg horse-pl-acc see.pst-ind-3s
{{gloss|sheep-NOM.SG 3S.ANIM-DAT REL{{=}}3S wool-GEN.SG NEG.PST-DEPERS.SG horse-PL-ACC see.PST-IND-3S|style=border: 1px solid}}
{{gloss|sheep-NOM.SG 3S.ANIM-DAT REL{{=}}3S wool-GEN.SG NEG.PST-DEPERS.SG horse-PL-ACC see.PST-IND-3S|nolinks=1|style=border: 1px solid}}
- sheep-nom.sg 3s.anim-dat rel=3s wool-gen.sg neg.pst-depers.sg horse-pl-acc see.pst-ind-3s