Template:Etymology/testcases

From blackwiki
Jump to navigation Jump to search

Valid input

This table lists transclusions that are valid according to the documentation, and the output that they produce.

Transclusion Result
{{Etymology|english|example|instance}} from English example 'instance'
{{Etymology|la|exempli gratia}} from Latin exempli gratia
{{Etymology|la|exempli gratia|for example}} from Latin exempli gratia 'for example'
{{Etymology|grc|tele-|far off|la|visio}} from Ancient Greek tele- 'far off', and Latin visio
{{Etymology|grc|tele-|far off|la|visio|vision}} from Ancient Greek tele- 'far off', and Latin visio 'vision'
{{Etymology|en}} from English
{{Etymology|en|example|instance|fr|exemple}} from English example 'instance', and French exemple
{{Etymology|grc|tele-||la|visio}} from Ancient Greek tele- and Latin visio
{{Etymology|grc|tele-||la|visio|vision}} from Ancient Greek tele- and Latin visio 'vision'
{{Etymology|en|||de}} from English and German
{{Etymology||example}} from example
{{Etymology|grc|tele-|far off||vision}} from Ancient Greek tele- 'far off', and vision
{{Etymology||tele-|far off||vision}} from tele- 'far off', and vision

Invalid input

This table lists intentionally erroneous input to see what kind of output the template produces. Ideally it should produce output that gives the transcluder some clue what they may have done wrong.

Transclusion Result
{{ety}} {{etymology}} requires 1st or 2nd parameter in each triplet!
{{Etymology|english}} from english
{{Etymology|english|example}} from english example
{{Etymology|english|example|instance}} from english example 'instance'
{{Etymology|english|example|instance|french}} from english example 'instance', and french
{{Etymology|english|example|instance|french|exemple}} from english example 'instance', and french exemple
{{Etymology|english|example|instance|french|exemple}} from english example 'instance', and french exemple
{{Etymology|la|tele-|far off|grc|vision|vision|toomany}} from Latin tele- 'far off', Ancient Greek vision 'vision', and toomany