Difference between revisions of "Template:De"

(Added usage info and category)
Line 1: Line 1:
<includeonly>[[Dictionary:{{{1}}}{{#if: {{{2|}}} | {{!}}{{{2}}} }}]]</includeonly><noinclude><br/>
+
<includeonly>[[Dictionary:{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly><noinclude><br/>
 
===Usage===
 
===Usage===
 
<pre>{{de|pagename|linktext}}</pre>
 
<pre>{{de|pagename|linktext}}</pre>

Revision as of 19:15, 20 July 2016


Usage

{{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.