Jump to content

Template:ArticleTitle: Difference between revisions

From Philosophical Research
m experimental - try adding HueNumberPreview
m experiment: duplication hint
Line 1: Line 1:
<includeonly><onlyinclude>{{#if:{{{h1|}}}|{{DISPLAYTITLE:{{{h1}}}}}}}{{#if:{{{1|}}}|<seo title="{{{1}}}"/>}}{{#if:{{{NoContents|}}}|__NOTOC__}}{{#if:{{{dl|}}}|{{HueNumberPreview|L={{{L|}}}|E={{{E|}}}|R={{{R|}}}|U={{{U|}}}}}}}</onlyinclude></includeonly><!--
<includeonly><onlyinclude>{{#if:{{{h1|}}}|{{DISPLAYTITLE:{{{h1}}}}}}}{{#if:{{{1|}}}|<seo title="{{{1}}}"/>}}{{#if:{{{NoContents|}}}|__NOTOC__}}{{#if:{{{dl|}}}|{{HueNumberPreview|L={{{L|}}}|E={{{E|}}}|R={{{R|}}}|U={{{U|}}}}}<pre class="duplication-hint" style="display: none;">duplication hint:  copy or update fake Item from [[<nowiki/>Special:PermanentLink/{{REVISIONID}}|{{{E|}}}<nowiki/>]]</span>}}</onlyinclude></includeonly><!--


more readable version:
more readable version:
Line 8: Line 8:
{{#if: {{{NoContents|}}} | __NOTOC__ }}
{{#if: {{{NoContents|}}} | __NOTOC__ }}
{{#if: {{{dl|}}}
{{#if: {{{dl|}}}
   | {{HueNumberPreview|L={{{L|}}}|E={{{E|}}}|R={{{R|}}}|U={{{U|}}} }}
   | {{HueNumberPreview|L={{{L|}}}|E={{{E|}}}|R={{{R|}}}|U={{{U|}}} }}<pre class="duplication-hint" style="display: none;">duplication hint:  copy or update fake Item from [[<nowiki/>Special:PermanentLink/{{REVISIONID}}|{{{E|}}}<nowiki/>]]</span>
   }}
   }}



Revision as of 09:08, 13 December 2025

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 pronounced No T.O.C.. 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".