Template:SmwDictLine/doc: Difference between revisions

From Guild of Archivists
Tag: New redirect
 
(Fix typographical error.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
#REDIRECT [[Template:SmwDictGlosses/doc]]
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===
: <nowiki>{{</nowiki>SmwDictLine|''pagename''<nowiki>}}</nowiki>
: or <nowiki>{{</nowiki>SmwDictLine|''pagename''|''word in dnifont''<nowiki>}}</nowiki>
 
====Parameters====
* ''1'' - Name of the page for the word. You must specific the namespace.
* ''2'' - ''(optional)'' The word in Dnifont
 
====Examples====
: ''<nowiki>{{SmwDictLine|Dictionary:shorah||''n.'' peace}}</nowiki>''
: {{SmwDictLine|Dictionary:shorah||''n.'' peace}}
 
: ''<nowiki>{{SmwDictLine|Dictionary:shorah|Sora|''n.'' peace}}</nowiki>''
: {{SmwDictLine|Dictionary:shorah|Sora|''n.'' peace}}

Latest revision as of 02:27, 24 December 2023

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[edit]

{{SmwDictLine|pagename}}
or {{SmwDictLine|pagename|word in dnifont}}

Parameters[edit]

  • 1 - Name of the page for the word. You must specific the namespace.
  • 2 - (optional) The word in Dnifont

Examples[edit]

{{SmwDictLine|Dictionary:shorah||''n.'' peace}}
shorah - n. peace
{{SmwDictLine|Dictionary:shorah|Sora|''n.'' peace}}
shorah Sora - n. peace