Template:translations/documentation: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Usage== {{tempn|translations|eye (organ) |ryn={{tempn|l|ryn|vaiţ}} |lfv={{tempn|l|ryn|vaiţ|t=smelly}} |rad={{tempn|l|rad|huoș}} }} Produces: {{translations|eye (organ)|ryn={{l|ryn|vaiţ}}|lfv={{l|ryn|vaiţ|t=smelly}}|rad={{l|rad|huoș}}}}") |
TheNightAvl (talk | contribs) (→Usage) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{uses lua|Module:translations}} | |||
{{shortcut|Template:t}} | |||
==Usage== | ==Usage== | ||
Each language can be specified as such: | |||
{{tempn|translations|kil|eye (organ) | |||
|bal={{tempn|l|bal|ota}}<br> | |||
|ryn={{tempn|l|ryn|vah}}<br> | |||
|lfv={{tempn|l|lfv|vat}}<br> | |||
|rad={{tempn|l|rad|vas}}<br> | |||
|lus={{tempn|l|lus|va}}<br> | |||
}} | |||
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}} | |||
Note that all languages are alphabetised. | |||
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|kil|to see | |||
|lfv=*lad*, *dalad*<br> | |||
|rad=*vardt*<br> | |||
|lus=*lirt*<br> | |||
}} | |||
Produces: | |||
{{translations|kil|to see | |||
|lfv=*lad*, *dalad* | |||
|rad=*vardt* | |||
|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| | {{tempn|translations|rad|Plantae | ||
|lfv=*þaorþir:þaorþ*<br> | |||
|lfv= | |||
}} | }} | ||
Produces: | Produces: | ||
{{translations| | {{translations|rad|Plantae | ||
|lfv=*þaorþir:þaorþ* | |||
|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
|