Jump to content

Template:NextNineThousand: Difference between revisions

From Philosophical Research
create template based on Template:ArticleTitle
 
parameter Contents / explain magic words correctly
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{ArticleTitle|{{{PPPA|}}} - {{{User|}}}/9k/{{{E|}}} - next nine thousand|h1=User:{{{User|}}}/9k/ {{{PPPA|}}} ({{{E|}}})|NoContents={{{NoContents|}}}}}</onlyinclude></includeonly><!--
<includeonly><onlyinclude>{{ArticleTitle|{{{PPPA|}}} - 9k/{{{E|}}} - next nine thousand|h1=User:{{{User|}}}/9k/ {{#if:{{{h1|}}}|{{{h1|}}}|{{{PPPA|}}}}} ({{{E|}}})|NoContents={{{NoContents|}}}}} {{#if:{{{Contents|}}}|{{Contents|class=next-nine-thousand}}}}</onlyinclude></includeonly><!--
-->
-->
== Description ==
== Description ==
Line 9: Line 9:
* <code>User</code> - Username to file User page under.
* <code>User</code> - Username to file User page under.
* <code>PPPA</code> - Item label
* <code>PPPA</code> - Item label
* <code>E</code> - Entity ID
* <code>h1</code> - Item label to show in page heading, should markup and progressive enhancement be needed
* <code>NoContents</code> - include magic word {{TTS|html=code|tts=line-line-NoContents-lines|__NOCONTENTS__}}
* <code>E</code> - Entity identifier, including prefixes like <code>Q</code>
* <code>NoContents</code> - include magic word {{TTS|html=code|tts=double-lines-No-T.O.C.|<nowiki>__NOTOC__</nowiki>}}
* <code>Contents</code>  - include magic word {{TTS|html=code|tts=double-lines-T.O.C.|<nowiki>__TOC__</nowiki>}}, with option to hide it only on pages calling [[Template:NextNineThousand]]


== Templates called ==
== Templates called ==

Latest revision as of 03:59, 23 January 2026

Description[edit]

This template is for changing the title of a page, specifically for use on "next nine thousand" pages. It has two purposes: being easier to remember, and being more TTS-friendly.

Parameters[edit]

  • User - Username to file User page under.
  • PPPA - Item label
  • h1 - Item label to show in page heading, should markup and progressive enhancement be needed
  • E - Entity identifier, including prefixes like Q
  • NoContents - include magic word pronounced double-lines-No-T.O.C.
  • Contents - include magic word pronounced double-lines-T.O.C., with option to hide it only on pages calling Template:NextNineThousand

Templates called[edit]