Template:ArticleTitle: Difference between revisions
Appearance
enable TTS pronunciations on headings - uses the old-style markup because right now I don't know if ruby can be put there or not |
m typo |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}}|{{{tts|}}}{{{h1|}}}=|{{{tts|}}}={{DISPLAYTITLE:{{{h1}}}}}|#default={{DISPLAYTITLE:<span class{{=}}"tts"><span class="visual">{{{h1}}}</span><ins class="bracket"> (</i><i class="aural">{{{tts}}}</i><ins class="bracket"> )</i></span> | <includeonly><onlyinclude>{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}}|{{{tts|}}}{{{h1|}}}=|{{{tts|}}}={{DISPLAYTITLE:{{{h1}}}}}|#default={{DISPLAYTITLE:<span class{{=}}"tts"><span class="visual">{{{h1}}}</span><ins class="bracket"> (</i><i class="aural">{{{tts}}}</i><ins class="bracket"> )</i></span>}}}}{{#if:{{{1|}}}|<seo title="{{{1}}}"/>}}{{#if:{{{NoContents|}}}|__NOTOC__}}</onlyinclude></includeonly><!-- | ||
more readable version: | more readable version: | ||
| Line 7: | Line 7: | ||
| #default = {{DISPLAYTITLE:<span class{{=}}"tts"><span class="visual">{{{h1}}}</span><ins class="bracket"> (</i><i class="aural">{{{tts}}}</i><ins class="bracket"> )</i></span>}} | | #default = {{DISPLAYTITLE:<span class{{=}}"tts"><span class="visual">{{{h1}}}</span><ins class="bracket"> (</i><i class="aural">{{{tts}}}</i><ins class="bracket"> )</i></span>}} | ||
}} | }} | ||
{{#if: {{{1|}}} | <seo title="{{{1}}}" /> }} | {{#if: {{{1|}}} | <seo title="{{{1}}}" /> }} | ||
{{#if: {{{NoContents|}}} | __NOTOC__ }} | {{#if: {{{NoContents|}}} | __NOTOC__ }} | ||
Revision as of 04:21, 15 February 2026
Description
This template is for changing the title of a page. It has two purposes: being easier to remember, and being more TTS-friendly.
Parameters
1- Browser title shown at the top of the window. The name of the wiki and probably the browser will be appended to the end.h1- Article title. It is recommended you make this something which is nearly indistinguishable from the internal title, such as the same title with formatting inside or the same title with a lowercase letter.NoContents- disable table of contents using the magic word. This was on a lot of Item pages, but it was potentially very TTS-unfriendly, so from now on those thousand pages will use "NoContents".