Template:translations/documentation: Difference between revisions
Jump to navigation
Jump to search
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) (→Usage) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
Produces: | Produces: | ||
{{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 | {{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 32: | Line 32: | ||
|rad=*vardt* | |rad=*vardt* | ||
|lus=*lirt* | |lus=*lirt* | ||
|nocat=1 | |||
}} | |||
If you use <code>*words:word*</code>, the link will display '''words''', but link to '''word'''. In other words: <code>*alt:link*</code>. | |||
{{tempn|translations|rad|Plantae | |||
|lfv=*þaorþir:þaorþ*<br> | |||
}} | |||
Produces: | |||
{{translations|rad|Plantae | |||
|lfv=*þaorþir:þaorþ* | |||
|nocat=1 | |nocat=1 | ||
}} | }} |
Latest revision as of 19:35, 26 July 2024
Uses Lua: |
Shortcut
{{t}} |
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:
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:
If you use *words:word*
, the link will display words, but link to word. In other words: *alt:link*
.
{{translations|rad|Plantae |lfv=*þaorþir:þaorþ*
}}
Produces:
Plantae
|