User:Pharap/Templates/D'ni word Dnifont: Difference between revisions
From Guild of Archivists
(Implement 'link' parameter.) |
(Accept 'word' as the named parameter for which the first unnamed parameter is a shorthand.) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}} |{{User:Pharap/Templates/D'ni word OTS|{{#invoke:D'ni Tools|dnifont2ots|{{{1}}}}}|link={{{link|}}}}}|Error: {{tl|User:Pharap/Templates/D'ni word Dnifont}} 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> | <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> |