Template:translations/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
==Usage==
==Usage==
Each language can be specified as such:
Each language can be specified as such:
  {{tempn|translations|eye (organ)
  {{tempn|translations|kil|eye (organ)
  |bal={{tempn|l|bal|ota}}<br>
  |bal={{tempn|l|bal|ota}}<br>
  |ryn={{tempn|l|ryn|vah}}<br>
  |ryn={{tempn|l|ryn|vah}}<br>
Line 12: Line 12:
Produces:
Produces:


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


Note that all languages are alphabetised.
Note that all languages are alphabetised.
Line 19: Line 19:
A shortcut to typing out the links is to use <code>*asterisks*</code>, which will replace whatever is inside each occurrence with a wordlink in the language.
A shortcut to typing out the links is to use <code>*asterisks*</code>, which will replace whatever is inside each occurrence with a wordlink in the language.


  {{tempn|translations|to see
  {{tempn|translations|kil|to see
  |lfv=*lad*, *dalad*<br>
  |lfv=*lad*, *dalad*<br>
  |rad=*vardt*<br>
  |rad=*vardt*<br>
Line 27: Line 27:
Produces:
Produces:


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

Revision as of 17:41, 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