User:Pharap/Templates/D'ni word OTS: Difference between revisions
From Guild of Archivists
(Add example usage.) |
(Accept 'word' as the named parameter for which the first unnamed parameter is a shorthand.) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}} |<span title="Dnifont: {{#show: Dictionary:{{{1}}}|?Dnifont}} | <includeonly>{{#if: {{{word|{{{1|}}}}}}|<span title="Dnifont: {{#show: Dictionary:{{{word|{{{1}}}}}}|?Dnifont}}
OTS: {{#show: Dictionary:{{{word|{{{1}}}}}}|?OTS}}
NTS: {{#show: Dictionary:{{{word|{{{1}}}}}}|?NTS}}
IPA: {{#show: Dictionary:{{{1}}}|?IPA}}" style="border-bottom: 1px dotted; cursor: help;">{{#ifeq: {{{link|no}}}|yes|[[Dictionary:{{{word|{{{1}}}}}}|<dni>{{#show: Dictionary:{{{word|{{{1}}}}}}|?Dnifont}}</dni>]]|<dni>{{#show: Dictionary:{{{word|{{{1}}}}}}|?Dnifont}}</dni>}}</span>|Error: {{tl|User:Pharap/Templates/D'ni word OTS}} requires a page name parameter.}}</includeonly><noinclude>Examples: | ||
< | * <code><nowiki>{{User:Pharap/Templates/D'ni word OTS|Teledahn}}</nowiki></code> → {{User:Pharap/Templates/D'ni word OTS|Teledahn}} | ||
* <code><nowiki>{{User:Pharap/Templates/D'ni word OTS|Teledahn|link=yes}}</nowiki></code> → {{User:Pharap/Templates/D'ni word OTS|Teledahn|link=yes}} | |||
</noinclude> |