Template:Dict Search Glosses/doc

From Guild of Archivists
< Template:Dict Search Glosses
Revision as of 21:14, 18 September 2020 by BladeLakem (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]

  • 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]

  • {{Dict Search Glosses|pattern=peace}}
  • {{Dict Search Glosses|pattern=*h*}}
  • {{Dict Search Glosses|pattern=*h*|format=ol}}
  1. mileshtahv mileStav - {{{3}}}
  • {{Dict Search Glosses|pattern=*h*|format=plainlist}}
mileshtahv mileStav - {{{3}}}
  • {{Dict Search Glosses|pattern=*h*|format=plainlist|sep=;&nbsp;}}
mileshtahv mileStav - {{{3}}}