Jump to content

Template:TTS/aural: Difference between revisions

From Philosophical Research
m expansion 3
Tag: Reverted
m the problem is probably the CSS?
Tag: Manual revert
Line 42: Line 42:


oddly-pronounced word demo: {{TTS/aural|tts=leet|1337|lang=en}}
oddly-pronounced word demo: {{TTS/aural|tts=leet|1337|lang=en}}
== Debug ==
<ins class="wave-score" data-score-string="S1 P1 Q1"> <span class="sum">[[Ontology:P158|1]]</span><span class="quilt"><span {{#if:|lang=""|}} class="tts " {{#switch: |-=title{{=}}""|=title{{=}}"-"|-=title{{=}}""|#default=title{{=}}""}}><span class="visual" aria-hidden="true">:</span><span class="bracket" aria-hidden="true"> (</span><span class="help">pronounced </span><i {{#switch: |=data-lang{{=}}""|=data-lang{{=}}""|=data-lang{{=}}""|#default=data-lang{{=}}""}} class="aural">{{#switch:  | -: = error: TTS pronunciation missing | : = - | -: =  | #default = : }}</i><span class="bracket" aria-hidden="true">)</span></span>[[Ontology:P156|1]]</span><span class="ply"><span {{#if:|lang=""|}} class="tts " {{#switch: |-=title{{=}}""|=title{{=}}"-"|-=title{{=}}""|#default=title{{=}}""}}><span class="visual" aria-hidden="true">:</span><span class="bracket" aria-hidden="true"> (</span><span class="help">pronounced </span><i {{#switch: |=data-lang{{=}}""|=data-lang{{=}}""|=data-lang{{=}}""|#default=data-lang{{=}}""}} class="aural">{{#switch:  | -: = error: TTS pronunciation missing | : = - | -: =  | #default = : }}</i><span class="bracket" aria-hidden="true">)</span></span>[[Ontology:P157|1]]</span></ins>


== Description ==
== Description ==

Revision as of 10:44, 25 August 2025

Demo

pronounced displayed string

pronounced displayed string in older style

oddly-pronounced word demo: pronounced 1337

Description

This is a template for giving bits of text a TTS pronunciation.

This page is the main "guts" of Template:TTS, which needed to be broken up to properly create linking capabilities.