Template:Dict Search Glosses
From Guild of Archivists
This template returns a list of dictionary word pages that fit the entered pattern.
Parameters[edit source]
- pattern - (required) This is the pattern that defines what you are looking for in the glosses. Without wildcards, the search will match full words only. Use "*" to match any sequence of characters and "?" to match any single character.
- format - (optional) Specify the formatting of the list returned. Options are: ul, ol, plainlist, category. Default: ul
- sep - (optional) if the format is "plainlist", this specifies the separator between listings. Default: <br/>
- template - (optional) what template to use to format each like of the result. Default: {{SmwDictLine}}
Examples[edit source]
- {{Dict Search Glosses|pattern=peace}}
- {{Dict Search Glosses|pattern=*h*}}
- {{Dict Search Glosses|pattern=*h*|format=ol}}
- {{Dict Search Glosses|pattern=*h*|format=plainlist}}
- {{Dict Search Glosses|pattern=*h*|format=plainlist|sep=; }}
The above documentation is transcluded from Template:Dict Search Glosses/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |