Edge Rewrite
Jump to content

Template:Etymology/testcases

From Wikipedia, the free encyclopedia

Valid input

[edit]

This sections lists uses of the template that are valid according to the documentation, and the output that they produce.

  • {{Etymology|english|example|instance}} → from english example 'instance'
  • {{Etymology/sandbox|english|example|instance}} → from english example 'instance'

  • {{Etymology|la|exempli gratia}} → from Latin exempli gratia
  • {{Etymology/sandbox|la|exempli gratia}} → from Latin exempli gratia

  • {{Etymology|la|exempli gratia|for example}} → from Latin exempli gratia 'for example'
  • {{Etymology/sandbox|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/sandbox|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/sandbox|grc|tele-|far off|la|visio|vision}} → from Ancient Greek tele- 'far off' and Latin visio 'vision'

  • {{Etymology|en}} → from English
  • {{Etymology/sandbox|en}} → from English

  • {{Etymology|en|example|instance|fr|exemple}} → from English example 'instance' and French exemple
  • {{Etymology/sandbox|en|example|instance|fr|exemple}} → from English example 'instance' and French exemple


  • {{Etymology|grc|tele-|far off||vision}} → from Ancient Greek tele- 'far off' and vision
  • {{Etymology/sandbox|grc|tele-|far off||vision}} → from Ancient Greek tele- 'far off' and vision

  • {{Etymology||tele-|far off||vision}} → from tele- 'far off' and vision
  • {{Etymology/sandbox||tele-|far off||vision}} → from tele- 'far off' and vision




Invalid input

[edit]

This section 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.

  • {{Etymology|english}} → from english
  • {{Etymology/sandbox|english}} → from english

  • {{Etymology|english|example}} → from english example
  • {{Etymology/sandbox|english|example}} → from english example

  • {{Etymology|english|example|instance}} → from english example 'instance'
  • {{Etymology/sandbox|english|example|instance}} → from english example 'instance'

  • {{Etymology|english|example|instance|french}} → from english example 'instance' and french
  • {{Etymology/sandbox|english|example|instance|french}} → from english example 'instance' and french

  • {{Etymology|english|example|instance|french|exemple}} → from english example 'instance' and french exemple
  • {{Etymology/sandbox|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
  • {{Etymology/sandbox|la|tele-|far off|grc|vision|vision|toomany}} → from Latin tele- 'far off', Ancient Greek vision 'vision' and toomany