Template:translations/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{uses lua|Module:translations}}
{{shortcut|Template:t}}
{{shortcut|Template:t}}
==Usage==
==Usage==

Revision as of 17:42, 2 March 2024

Usage

Each language can be specified as such:

{{translations|kil|eye (organ)
|bal={{l|bal|ota}}
|lfv={{l|lfv|vat}}
|lus={{l|lus|va}}
|rad={{l|rad|vas}}
|ryn={{l|ryn|vah}}
}}

Produces:

eye (organ)
  • Balavic: ota
  • Laefevian: vat
  • Lusetian: Lua error in Module:links/templates at line 26: The parameter "nocat" is not used by this template..
  • Radestrian: vas
  • Riyan: vah

Note that all languages are alphabetised.


A shortcut to typing out the links is to use *asterisks*, which will replace whatever is inside each occurrence with a wordlink in the language.

{{translations|kil|to see
|lfv=*lad*, *dalad*
|lus=*lirt*
|rad=*vardt*
}}

Produces:

to see