Difference between revisions of "Template:De"

 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Dictionary:{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly><noinclude><br/>
+
<includeonly>[[ContainsTerm::Dictionary:{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly><noinclude>{{documentation}}</noinclude>
===Usage===
 
<pre>{{de|pagename|linktext}}</pre>
 
 
 
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.
 
 
 
[[Category:Dictionary Templates]]
 
</noinclude>
 

Latest revision as of 04:11, 22 September 2020

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