User:Surjection/Template:rhymes/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for User:Surjection/Template:rhymes. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template is to be used for the rhymes link of a word in the pronunciation section.

Usage[edit]

On the page for listen:

* {{rhymes|en|ɪsən}}

resulting in


On the page for do, in the Dutch section:

* {{rhymes|nl|oː}}

resulting in


For words with multiple pronunciations, more rhymes can be noted in the template with additional parameters.

On the page for Asia:

* {{rhymes|en|eɪʃə|eɪʒə}}

resulting in


You can also specify the number of syllables in the word for automatic categorization. The number of syllables is provided with the |s= parameter, or if they only apply to one of the rhymes, use |s1= for the first rhyme, etc. If there are multiple values, separate them with commas. For example, with Asia:

* {{rhymes|en|eɪʃə|eɪʒə|s=2}}


TemplateData[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Surjection/Template:rhymes

marks words that rhyme with the term in a given language

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
language code1

the language code for the language the term is in

Example
en
Linerequired
rhyme2

the syllables needed to form a rhyme with the word, in IPA

Example
ɪdz
Stringrequired
alternate rhyme3

the syllables needed to form a rhyme with the word, in IPA

Example
ɛdz
Stringoptional