Template:NextNineThousand: Difference between revisions
Appearance
m remove User from page title - cleaner |
include Arabic "name" parameter for better right-to-left text. parameter name may change later. |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{ArticleTitle|{{{PPPA|}}} - | <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: | |||
{{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}} }} | |||
--> | --> | ||
== Description == | == Description == | ||
| Line 9: | Line 24: | ||
* <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 | * <code>h1</code> - Item label to show in page heading, should markup and progressive enhancement be needed | ||
* <code>NoContents</code> | * <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 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 labelh1- Item label to show in page heading, should markup and progressive enhancement be neededE- Entity identifier, including prefixes likeQNoContents- include magic wordContents- include magic word, with option to hide it only on pages calling Template:NextNineThousand