Template:NextNineThousand: Difference between revisions
Appearance
parameter Contents / explain magic words correctly |
allow leaving PPPA empty |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{ArticleTitle|{{{PPPA|}}} - 9k/{{{E|}}} - next nine thousand|h1=User:{{{User|}}}/9k/ {{# | <includeonly><onlyinclude>{{ArticleTitle|{{{PPPA|}}} - 9k/{{{E|}}} - next nine thousand|h1=User:{{{User|}}}/9k/{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{PPPA|}}} = {{{E|}}} | {{{h1|}}} = {{{PPPA|}}}}} ({{{E|}}}) | #default = {{{h1|}}} }}|NoContents={{{NoContents|}}}}} {{#if:{{{Contents|}}}|{{Contents|class=next-nine-thousand}}}}</onlyinclude></includeonly><!-- | ||
more readable version: | |||
... | |||
{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}}| | |||
{{{PPPA|}}} = {{{E|}}} | |||
{{{h1|}}} = {{{PPPA|}}}}} ({{{E|}}}) | |||
#default = {{{h1|}}} | |||
}} | |||
... | |||
--> | --> | ||
== Description == | == Description == | ||
Revision as of 11:33, 2 February 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