Template:IPA/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{uses lua|Module:IPA}}
==Usage==
==Usage==


Line 15: Line 17:
: {{IPA|ryn|/ˈvydɛ/|linked=1|nolarge=1|nopre=1}}
: {{IPA|ryn|/ˈvydɛ/|linked=1|nolarge=1|nopre=1}}


Note that if you're using all those options together, all with a true value i.e. <code>1</code>, for example in a Laenkipedia article, you can use the shortcut template {{temp|wipa}}.
Note that if you're using all those options together, all with a true value i.e. <code>1</code>, for example in a Laenkipedia article, you can use the shortcut templates {{temp|wipa}} and {{temp|tipa}}.
   
   
----
----


You can return to normal wiki text by escaping with <code>*asterisks*</code>:
You can return to normal wiki text by escaping with <code>*asterisks*</code>, which is useful for adding in-line notes:
 
{{tempn|IPA|ryn|/ˈvydɛ/ <nowiki>*(''officially'')*|/ˈvidɛ/ *(''Vontevian'')*</nowiki>|linked=1|nolarge=1|nopre=1}}
 
Generates:
: {{IPA|ryn|/ˈvydɛ/ *(''officially'')*|/ˈvidɛ/ *(''Vontevian'')*|linked=1|nolarge=1|nopre=1}}
 
----
 
You are now also able to input [[w:X-SAMPA#Summary|X-SAMPA]]. This will not apply to escaped text. Due to complications with the above functionality, the escape character for this feature is <code>#</code>.


  {{tempn|IPA|ryn|/ˈvydɛ/ <nowiki>*(''officially'')*</nowiki>|linked=1|nolarge=1|nopre=1}}
  {{tempn|IPA|ryn|/jU\"fO@r\i@/#~ <nowiki>*(jU\"fO@r\i@)*</nowiki>|linked=1|nolarge=1|nopre=1}}


Generates:
Generates:
: {{IPA|ryn|/ˈvydɛ/ *(''officially'')*|linked=1|nolarge=1|nopre=1}}
: {{IPA|ryn|/jU\"fO@r\i@/#~ *(jU\"fO@r\i@)*|linked=1|nolarge=1|nopre=1}}

Latest revision as of 20:51, 29 July 2024

Usage

{{IPA|ryn|/ˈvydɛ/}}

Generates:

IPA(key)/ˈvydɛ/

You can also do

{{IPA|ryn|/ˈvydɛ/|linked=1|nolarge=1|nopre=1}}

Generates:

/ˈvydɛ/

Note that if you're using all those options together, all with a true value i.e. 1, for example in a Laenkipedia article, you can use the shortcut templates {{wipa}} and {{tipa}}.


You can return to normal wiki text by escaping with *asterisks*, which is useful for adding in-line notes:

{{IPA|ryn|/ˈvydɛ/ *(''officially'')*|/ˈvidɛ/ *(''Vontevian'')*|linked=1|nolarge=1|nopre=1}}

Generates:

/ˈvydɛ/ (officially), /ˈvidɛ/ (Vontevian)

You are now also able to input X-SAMPA. This will not apply to escaped text. Due to complications with the above functionality, the escape character for this feature is #.

{{IPA|ryn|/jU\"fO@r\i@/#~ *(jU\"fO@r\i@)*|linked=1|nolarge=1|nopre=1}}

Generates:

/jᵿˈfɔəɹiə/~ (jU\"fO@r\i@)