Template:De: Difference between revisions

From Guild of Archivists
No edit summary
No edit summary
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Dictionary:{{{1}}}{{#if: {{{2}}} | {{!}}{{{2}}} }}]]<noinclude><br/>
<includeonly>[[ContainsTerm::Dictionary:{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly><noinclude>{{documentation}}</noinclude>
Short for 'dictionary entry' - creates a link to the dictionary entry for the word.
The first parameter is the name of the entry itself (sans namespace tag), while the second is what the link will appear as. If no second parameter is specified, it displays the name as the link.
</noinclude>

Revision as of 04:11, 22 September 2020

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