සැකිල්ල:hyphenation
Hyphenation: {{{2}}}
- පහත දැක්වෙන උපදෙස්, සැකිල්ල:hyphenation/documentation හි පිහිටා ඇත. [සංස්කරණය]
- ප්රයෝජනවත් සබැඳි: උප පිටු ලැයිස්තුව • සබැඳි • යළි යොමු • transclusions • errors (parser/module) • sandbox
Usage[සංස්කරණය]
This template allows for the display of a word's hyphenation, which is often related to its syllables, but other times more heavily tied to its etymology. To use the template, mark each possible hyphenation location with a vertical bar (a.k.a. a pipe, |
). The template will then display the hyphenation with a hyphenation point (U+2027, "‧") separating each part of the term. Hyphenation information should be placed in the "Pronunciation" section of an entry.
For example on the page for measure the hyphenation is recorded in the form
* {{hyphenation|en|mea|sure}}
which displays as
- Lua දෝෂය in Module:languages at line 690: attempt to index local 'sc' (a nil value).
For cases with more than one possible hyphenation, separate the hyphenations with a blank parameter (two pipe symbols, i.e. ||
). For example, ඉතාලි quieto could be hyphenated as follows:
* {{hyphenation|it|quiè|to||qui|è|to||quié|to||qui|é|to}}
which displays as
- Hyphenation: quiè‧to, qui‧è‧to, quié‧to, qui‧é‧to
The template can be used with the |caption=
parameter to give more detailed usage information. For example, for ඉංග්රීසි knowledge, use:
* {{hyphenation|en|knowl|edge|caption=Hyphenation US}}, {{hyphenation|en|caption=UK|know|ledge}}
which renders as
- Lua දෝෂය in Module:languages at line 690: attempt to index local 'sc' (a nil value)., Lua දෝෂය in Module:languages at line 690: attempt to index local 'sc' (a nil value).
You can also use |nocaption=1
to turn off the caption altogether. For example:
* {{hyphenation|en|knowl|edge|nocaption=1}}
displays as
- Lua දෝෂය in Module:languages at line 690: attempt to index local 'sc' (a nil value).
TemplateData[සංස්කරණය]
TemplateData for hyphenation
Allows for the easy display of a word's hyphenation, which is often related to its syllables but other times more heavily tied to its etymology. Displays the hyphenation with a hyphenation point (U+2027, "‧") separating each part of the term. Hyphenation information should be placed in the "Pronunciation" section of an entry.
Parameter | Description | Type | Status | |
---|---|---|---|---|
language code | 1 | The language code for the term being hyphenated.
| String | required |
syllable 1 | 2 | The first syllable of the word.
| String | required |
syllable 2 | 3 | The second syllable of the word.
| String | suggested |
syllable 3 | 4 | The third syllable of the word.
| String | optional |
syllable 4 | 5 | The fourth syllable of the word.
| String | optional |
syllable 5 | 6 | The fifth syllable of the word.
| String | optional |
syllable 6 | 7 | The sixth syllable of the word. | String | optional |
syllable 7 | 8 | The seventh syllable of the word. | String | optional |
syllable 8 | 9 | The eighth syllable of the word. Additional syllables can be added manually. | String | optional |
caption | caption | Overrides "Hyphenation" as caption if provided.
| Line | optional |
disable caption | nocaption | If "1", the caption "Hyphenation:" is disabled.
| Number | optional |