Template:hyphenation
Hyphenation: {{{2}}}
- The following documentation is located at Template:hyphenation/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox (diff)
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
- Hyphenation: mea‧sure
For cases with more than one possible hyphenation, separate the hyphenations with a blank parameter (two pipe symbols, i.e. ||
). For example, Italian 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 English knowledge, use:
* {{hyphenation|en|knowl|edge|caption=Hyphenation US}}, {{hyphenation|en|caption=UK|know|ledge}}
which renders as
- Hyphenation US: knowl‧edge, UK: know‧ledge
You can also use |nocaption=1
to turn off the caption altogether. For example:
* {{hyphenation|en|knowl|edge|nocaption=1}}
displays as
- knowl‧edge
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 |