Template:translations/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
 
Line 34: Line 34:
|nocat=1
|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>.
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
}}

Latest revision as of 19:35, 26 July 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)

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


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