Difference between revisions of "Template:De"
Line 1: | Line 1: | ||
<includeonly>[[Dictionary:{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly><noinclude><br/> | <includeonly>[[Dictionary:{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly><noinclude><br/> | ||
===Usage=== | ===Usage=== | ||
− | < | + | '''''<nowiki>{{de|pagename|linktext}}</nowiki>''''' |
Short for 'dictionary entry' - creates a link to the dictionary entry for the word. | 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. | 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]] | [[Category:Dictionary Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 19:29, 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.
Example: