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

From Guild of Archivists
(Add example for 'link' parameter.)
(Accept 'word' as the named parameter for which the first unnamed parameter is a shorthand.)
 
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>Examples:
<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}}</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}}
* <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>
</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}}