Template:hu-digraph/documentation

Documentation for Template:hu-digraph. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Use within templates to double Hungarian letters, including digraphs or trigraphs. Use within templates to halve long consonants.

Parameters

edit

The template takes a single unnamed parameter {{{1}}}. This is compared against a list of Hungarian digraphs, and the doubled form is returned.

Examples:

{{hu-digraph|cs}} returns ccs
{{hu-digraph|ny}} returns nny
{{hu-digraph|nny}} returns nny

The template defaults to doubling the entered parameter as given : {{{1}}} returns {{{1}}}{{{1}}}.