User:Pharap/Templates/D'ni word Dnifont: Difference between revisions

From Guild of Archivists
(Create test template 'Dnidict word'.)
 
(Accept 'word' as the named parameter for which the first unnamed parameter is a shorthand.)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}} |<span title="Dnifont: {{{1}}}, OTS: {{User:Pharap/Templates/Dni to OTS|{{{1}}}}}, NTS: {{User:Pharap/Templates/Dni to NTS|{{{1}}}}}, IPA: {{#show: Dictionary:{{User:Pharap/Templates/Dni to OTS|{{{1}}}}}|?pronunciation}}" style="border-bottom: 1px dotted"><dni>{{{1}}}</dni></span>|Error: {{tl|Dnidict word}} requires a parameter.}}</includeonly>
<includeonly>{{#if: {{{word|{{{1|}}}}}}|{{User:Pharap/Templates/D'ni word OTS|{{#invoke:D'ni Tools|dnifont2ots|{{{word|{{{1}}}}}}}}|link={{{link|}}}}}|Error: {{tl|User:Pharap/Templates/D'ni word Dnifont}} requires a parameter.}}</includeonly>
<noinclude>Examples:
* <code><nowiki>{{User:Pharap/Templates/D'ni word Dnifont|teleDan}}</nowiki></code> → {{User:Pharap/Templates/D'ni word Dnifont|teleDan}}
* <code><nowiki>{{User:Pharap/Templates/D'ni word Dnifont|teleDan|link=yes}}</nowiki></code> {{User:Pharap/Templates/D'ni word Dnifont|teleDan|link=yes}}
</noinclude>

Latest revision as of 13:04, 11 January 2024

Examples:

  • {{User:Pharap/Templates/D'ni word Dnifont|teleDan}}
  • {{User:Pharap/Templates/D'ni word Dnifont|teleDan|link=yes}}