Template:SmwDictLine/doc: Difference between revisions
From Guild of Archivists
(Removed redirect to Template:SmwDictGlosses/doc) Tag: Removed redirect |
No edit summary |
||
Line 12: | Line 12: | ||
====Examples==== | ====Examples==== | ||
: ''<nowiki>{{SmwDictLine|Dictionary:shorah}}</nowiki>'' | : ''<nowiki>{{SmwDictLine|Dictionary:shorah||''n.'' peace}}</nowiki>'' | ||
: {{SmwDictLine|Dictionary:shorah}} | : {{SmwDictLine|Dictionary:shorah|''n.'' peace}} | ||
: ''<nowiki>{{SmwDictLine|Dictionary:shorah|Sora}}</nowiki>'' | : ''<nowiki>{{SmwDictLine|Dictionary:shorah|Sora|''n.'' peace}}</nowiki>'' | ||
: {{SmwDictLine|Dictionary:shorah|Sora}} | : {{SmwDictLine|Dictionary:shorah|Sora|''n.'' peace}} |
Revision as of 04:25, 22 September 2020
This template takes a page that is assumed to be a dictionary page (Dictionary: namespace) and outputs a 'dictionary' style line with the word and the glosses automatically collected from the dictionary page.
This template is primarily designed for use in #ask queries, but can be used independently.
Usage
- {{SmwDictLine|pagename}}
- or {{SmwDictLine|pagename|word in dnifont}}
Parameters
- 1 - Name of the page for the word. You must specific the namespace.
- 2 - (optional) The word in Dnifont
Examples
- {{SmwDictLine|Dictionary:shorah||''n.'' peace}}
- shorah n. peace - {{{3}}}
- {{SmwDictLine|Dictionary:shorah|Sora|''n.'' peace}}
- shorah Sora - n. peace