Template:Dict Search Glosses/doc

From Guild of Archivists
< Template:Dict Search Glosses
Revision as of 21:14, 18 September 2020 by Alahmnat (talk | contribs) (Created page with "This template returns a list of dictionary word pages that fit the entered pattern. ====Parameters==== * pattern - ''(required)'' This is the pattern that defines what you ar...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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=;&nbsp;}}