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

From Guild of Archivists
(Add example for 'link' parameter.)
(Remove stray space.)
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}} |<span title="Dnifont: {{#show: Dictionary:{{{1}}}|?Dnifont}}&#010;OTS: {{#show: Dictionary:{{{1}}}|?OTS}}&#010;NTS: {{#show: Dictionary:{{{1}}}|?NTS}}&#010;IPA: {{#show: Dictionary:{{{1}}}|?IPA}}" style="border-bottom: 1px dotted">{{#ifeq: {{{link|no}}}|yes|[[Dictionary:{{{1}}}|<dni>{{#show: Dictionary:{{{1}}}|?Dnifont}}</dni>]]|<dni>{{#show: Dictionary:{{{1}}}|?Dnifont}}</dni>}}</span>|Error: {{tl|User:Pharap/Templates/D'ni word OTS}} requires a page name parameter.}}</includeonly>
<includeonly>{{#if: {{{1|}}} |<span title="Dnifont: {{#show: Dictionary:{{{1}}}|?Dnifont}}&#010;OTS: {{#show: Dictionary:{{{1}}}|?OTS}}&#010;NTS: {{#show: Dictionary:{{{1}}}|?NTS}}&#010;IPA: {{#show: Dictionary:{{{1}}}|?IPA}}" style="border-bottom: 1px dotted">{{#ifeq: {{{link|no}}}|yes|[[Dictionary:{{{1}}}|<dni>{{#show: Dictionary:{{{1}}}|?Dnifont}}</dni>]]|<dni>{{#show: Dictionary:{{{1}}}|?Dnifont}}</dni>}}</span>|Error: {{tl|User:Pharap/Templates/D'ni word OTS}} requires a page name parameter.}}</includeonly><noinclude>Examples:
<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}}</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}}
* <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>
</noinclude>

Revision as of 12:58, 11 January 2024

Examples:

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