Template:De: Difference between revisions

From Guild of Archivists
(Added usage info and category)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[Dictionary:{{{1}}}{{#if: {{{2|}}} | {{!}}{{{2}}} }}]]</includeonly><noinclude><br/>
<includeonly>[[Dictionary:{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly><noinclude>{{documentation}}
===Usage===
<pre>{{de|pagename|linktext}}</pre>


Short for 'dictionary entry' - creates a link to the dictionary entry for the word.
[[Category:Dictionary templates]]
The first parameter is the name of the pagename (sans 'Dictionary:' tag), while the second is what the link will appear as in the text. If no second parameter is specified, it displays the name as the link.
[[Category:New dictionary templates]]
 
[[Category:Dictionary Templates]]
</noinclude>
</noinclude>

Latest revision as of 05:33, 30 April 2024

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

Usage[edit]

{{de|pagename|linktext}}

Short for 'dictionary entry' - creates a link to the dictionary entry for the word. The first parameter is the name of the pagename (sans 'Dictionary:' tag), while the second is what the link will appear as in the text. If no second parameter is specified, it displays the name as the link.

Example:

  • {{de|shorah}} shows as: shorah
  • {{de|shorah|SHORAH}} shows as: SHORAH