Template:Etymology/testcases
Appearance
This is the template test cases page for the sandbox of Template:Etymology. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Valid input
[edit]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
[edit]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 |