Jump to content

Template:derived terms/sandbox

From Wiktionary, the free dictionary

Usage example

[edit]

Simple example

[edit]

Note how the template sorts the list and automatically removes repeated items.

Code:

{{derived terms/sandbox|en
| code golf
| miniature golf
| golf ball
| golf cart
| golf club
| golf club
| golf course
| golf hole
| golf pencil
| golf umbrella
| golf widow
}}

Result:

Lua error in Module:term_list/sandbox at line 43: attempt to call field 'memoize' (a nil value)

Small example

[edit]

Code:

{{derived terms|en|title=Terms derived from the noun “golf”
| code golf
| golf ball
| golf cart
| golf club
}}

Result:

Lua error in Module:term_list/sandbox at line 43: attempt to call field 'memoize' (a nil value)

Example with nested items

[edit]

Code:

{{derived terms|de
| {{l|de|Tennisarm}}
| {{l|de|Tennisball}}
|* {{l|de|Tennisballherstellung}}
|* {{l|de|Tennisballmetapher}}
| {{l|de|Tennisclub}}
| {{l|de|Tennisklub}}
| {{l|de|Tennislehrer}}
| {{l|de|Tennisnetz}}
| {{l|de|Tennisplatz}}
| {{l|de|Tennisschläger}}
|* {{l|de|Tischtennisschläger}}
| {{l|de|Tennisschuh}}
| {{l|de|Tennisspiel}}
| {{l|de|Tennisspieler}}
| {{l|de|Tennisspielerin}}
| {{l|de|Tennisturnier}}
| {{l|de|Tennisverein}}
| {{l|de|Tischtennis}}
|* {{l|de|Tischtennisball}}
|* {{l|de|Tischtennisplatte}}
|* {{l|de|Tischtennisschläger}}
|* {{l|de|Tischtennisspieler}}
|* {{l|de|Tischtennisspielerin}}
|* {{l|de|Tischtennistisch}}
}}

Result:

Lua error in Module:term_list/sandbox at line 43: attempt to call field 'memoize' (a nil value)