Template:Dict Search Glosses/doc: Difference between revisions

From Guild of Archivists
(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...")
 
(No difference)

Latest revision as of 21:14, 18 September 2020

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. b'- b' - {{{3}}}
  2. mileshtahv mileStav - {{{3}}}
  • {{Dict Search Glosses|pattern=*h*|format=plainlist}}
b'- b' - {{{3}}}
mileshtahv mileStav - {{{3}}}
  • {{Dict Search Glosses|pattern=*h*|format=plainlist|sep=;&nbsp;}}
b'- b' - {{{3}}}; mileshtahv mileStav - {{{3}}}