Difference between revisions of "Template:De"

m (Moved documentation to subpage)
Line 1: Line 1:
<includeonly>[[Dictionary:{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly><noinclude><br/>
+
<includeonly>[[Dictionary:{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly><noinclude>{{documentation}}</noinclude>
===Usage===
 
'''''<nowiki>{{de|pagename|linktext}}</nowiki>'''''
 
 
 
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:
 
* ''<nowiki>{{de|shorah}}</nowiki>'' shows as: {{de|shorah}}
 
* ''<nowiki>{{de|shorah|SHORAH}}</nowiki>'' shows as: {{de|shorah|SHORAH}}
 
 
 
[[Category:Dictionary Templates]]
 
</noinclude>
 

Revision as of 18:46, 15 May 2018

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

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.

Example:

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