Jump to content

Template:TTS/aural: Difference between revisions

From Philosophical Research
m debug round 2
Tag: Reverted
m expansion 2
Tag: Reverted
Line 45: Line 45:
== Debug ==
== Debug ==


<ins class="wave-score" data-score-string="S1 P1 Q1"> <span class="sum">[[Ontology:P158|1]]</span><span class="quilt">{{TTS|:|-}}[[Ontology:P156|1]]</span><span class="ply">{{TTS|:|-}}[[Ontology:P157|1]]</span>{{#if:  | <span class="quiltset">{{Ontology:{{{quiltset}}}}}</span> }}</ins>{{#if: | </dfn> }}
<ins class="wave-score" data-score-string="S1 P1 Q1"> <span class="sum">[[Ontology:P158|1]]</span><span class="quilt">{{#switch:
|  = {{Template:TTS/aural|html=span|class=|lang=|lang2=|tts=|title=|:|-}}
|  = [{{{href}}} {{Template:TTS/aural|html=span|class=|lang=|lang2=|tts=|title=|:|-}}]
|  = <span class="plainlinks ">[https://research.moraleconomy.au/index.php?title=Ontology:{{{E}}} {{Template:TTS/aural|html=span|class=|lang=|lang2=|tts=|title=|:|-}}]</span>
|  = <span class="plainlinks ">[https://research.moraleconomy.au/index.php?oldid={{{oldid}}} {{Template:TTS/aural|html=span|class=|lang=|lang2=|tts=|title=|:|-}}]</span>
| #default = {{Template:TTS/aural|html=span|lang=|lang2=|tts=|title=|:|-}}
}}[[Ontology:P156|1]]</span><span class="ply">{{#switch:
|  = {{Template:TTS/aural|html=span|class=|lang=|lang2=|tts=|title=|:|-}}
| = [{{{href}}} {{Template:TTS/aural|html=span|class=|lang=|lang2=|tts=|title=|:|-}}]
|  = <span class="plainlinks ">[https://research.moraleconomy.au/index.php?title=Ontology:{{{E}}} {{Template:TTS/aural|html=span|class=|lang=|lang2=|tts=|title=|:|-}}]</span>
|  = <span class="plainlinks ">[https://research.moraleconomy.au/index.php?oldid={{{oldid}}} {{Template:TTS/aural|html=span|class=|lang=|lang2=|tts=|title=|:|-}}]</span>
| #default = {{Template:TTS/aural|html=span|lang=|lang2=|tts=|title=|:|-}}
}}[[Ontology:P157|1]]</span></ins>


== Description ==
== Description ==

Revision as of 10:36, 25 August 2025

Demo

pronounced displayed string

pronounced displayed string in older style

oddly-pronounced word demo: pronounced 1337

Debug

1pronounced

1pronounced
1

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.