Template:hu-digraph/documentation

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

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

Examples:
 * returns ccs
 * returns nny
 * returns nny

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