Template:Dict Search Glosses

From Guild of Archivists
Revision as of 20:54, 18 September 2020 by Alahmnat (talk | contribs) (Created page with "<includeonly>{{#ask: [[Has subobject::<q>[[Gloss::~{{{pattern|*}}}]]</q>]] |?Dnifont |format={{{format|ul}}} |link=none |sep={{{sep|<br/>}}} |template={{{template|SmwDictLin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template documentation[view] [edit] [history] [purge]

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;}}