Jump to content

Template:NextNineThousand: Difference between revisions

From LithoGraphica
Reversedragon (talk | contribs)
m spacing
Reversedragon (talk | contribs)
include Arabic "name" parameter for better right-to-left text. parameter name may change later.
 
Line 1: Line 1:
<includeonly><onlyinclude>{{ArticleTitle|[9k] {{#if:{{{PPPA|}}}|{{{PPPA|}}} - {{{E|}}}|{{{E|}}}}} - next nine thousand|h1=9k:{{{User|}}}/ {{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{PPPA|}}} = {{{E|}}} | {{{h1|}}} = {{{PPPA|}}} ({{{E|}}}) | #default = {{{h1|}}} }}|NoContents={{{NoContents|}}}}} {{#if:{{{Contents|}}}|{{Contents|class=next-nine-thousand}}}}</onlyinclude></includeonly><!--
<includeonly><onlyinclude>{{ArticleTitle|[9k] {{#if:{{{PPPA|}}}{{{اسم|}}}| {{{اسم|}}}{{{PPPA|}}} - {{{E|}}} | {{{E|}}} }} - next nine thousand |h1=9k:{{{User|}}}/ {{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{PPPA|}}}{{{اسم|}}} = {{{E|}}} | {{{h1|}}} = {{{اسم|}}}{{{PPPA|}}} ({{{E|}}}) | #default = {{{h1|}}} }}|NoContents = {{{NoContents|}}}}}{{#if:{{{Contents|}}}|{{Contents|class=next-nine-thousand}}}}</onlyinclude></includeonly><!--


more readable version:
more readable version:


{{ArticleTitle
{{ArticleTitle
  |{{#if:{{{PPPA|}}}| {{{PPPA|}}} - 9k/{{{E|}}} | {{{E|}}} }}
  |[9k] {{#if:{{{PPPA|}}}{{{اسم|}}}| {{{اسم|}}}{{{PPPA|}}} - {{{E|}}} | {{{E|}}} }} - next nine thousand
  - next nine thousand
  |h1=9k:{{{User|}}}/_
  |h1=User:{{{User|}}}/9k/
   {{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}}
   {{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}}|
     | {{{PPPA|}}}{{{اسم|}}} = {{{E|}}}
     {{{PPPA|}}} = {{{E|}}}
     | {{{h1|}}} = {{{اسم|}}}{{{PPPA|}}} ({{{E|}}})
     {{{h1|}}} = {{{PPPA|}}}}} ({{{E|}}})
     | #default = {{{h1|}}}
     #default = {{{h1|}}}
    }}
  }}
  |NoContents = {{{NoContents|}}}
  |NoContents = {{{NoContents|}}}
}}
}}_
{{#if:{{{Contents|}}} | {{Contents|class=next-nine-thousand}} }}
{{#if:{{{Contents|}}} | {{Contents|class=next-nine-thousand}} }}



Latest revision as of 06:34, 1 October 2026

Description

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

  • 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