Template:Dde: Difference between revisions
From Guild of Archivists
m (Text replacement - "</d'ni>" to "</dni>") |
m (Text replacement - "<d'ni>" to "<dni>") |
||
Line 1: | Line 1: | ||
<includeonly>< | <includeonly><dni>[[Dictionary:{{{1}}}|{{{2}}}]]</dni></includeonly><noinclude><br/> | ||
===Usage=== | ===Usage=== | ||
'''''<nowiki>{{dde|pagename|linktext}}</nowiki>''''' | '''''<nowiki>{{dde|pagename|linktext}}</nowiki>''''' | ||
Line 5: | Line 5: | ||
Short for 'Dni-text dictionary entry' - creates a link to the dictionary entry for the word with D'ni letters. | Short for 'Dni-text dictionary entry' - creates a link to the dictionary entry for the word with D'ni letters. | ||
Because the Dictionary pagenames are in [[OTS]] but the <nowiki>< | Because the Dictionary pagenames are in [[OTS]] but the <nowiki><dni></nowiki> uses [[Dnifont]], using the normal DE template will display incorrect D'ni letters. Use this instead. | ||
The first parameter is the name of the pagename (sans 'Dictionary:' tag), while the second is the Dnifont transliteration. Both are required. | The first parameter is the name of the pagename (sans 'Dictionary:' tag), while the second is the Dnifont transliteration. Both are required. |
Revision as of 18:04, 10 January 2018
Usage
{{dde|pagename|linktext}}
Short for 'Dni-text dictionary entry' - creates a link to the dictionary entry for the word with D'ni letters.
Because the Dictionary pagenames are in OTS but the <dni> uses Dnifont, using the normal DE template will display incorrect D'ni letters. Use this instead.
The first parameter is the name of the pagename (sans 'Dictionary:' tag), while the second is the Dnifont transliteration. Both are required.
Example:
- {{dde|shorah|Sora}} shows as: Sora