Template:NickelBank: Difference between revisions
Appearance
m category |
m DefaultSort |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{ArticleTitle|[nickel] {{#if:{{{1|}}}| {{{1|}}} | {{{h2|}}} }}|h1={{{h1|}}}|h2={{{h2|}}}}}{{Contents|class=nickel-bank}}{{HueCSS}}</onlyinclude></includeonly><!-- | <includeonly><onlyinclude>{{ArticleTitle|[nickel] {{#if:{{{1|}}}| {{{1|}}} | {{{h2|}}} }}|h1={{{h1|}}}|h2={{{h2|}}}}}{{#if:{{{DefaultSort|}}} | {{DefaultSort|{{{DefaultSort|}}}}} }}{{Contents|class=nickel-bank}}{{HueCSS}}</onlyinclude></includeonly><!-- | ||
more readable version: | more readable version: | ||
| Line 8: | Line 8: | ||
|h2 = {{{h2|}}} | |h2 = {{{h2|}}} | ||
}} | }} | ||
{{#if:{{{DefaultSort|}}} | {{DefaultSort|{{{DefaultSort|}}}}} }} | |||
{{#if:{{{Contents|}}} | {{Contents|class=nickel-bank}} }} | {{#if:{{{Contents|}}} | {{Contents|class=nickel-bank}} }} | ||
| Line 20: | Line 21: | ||
* <code>h1</code> - nickel title to show in page heading, should markup and progressive enhancement be needed | * <code>h1</code> - nickel title to show in page heading, should markup and progressive enhancement be needed | ||
* <code>h2</code> - nickel title to show for second heading | * <code>h2</code> - nickel title to show for second heading | ||
* <code>NoContents</code> - include magic word {{TTS|html=code|tts=double-lines-No-T.O.C.|<nowiki>__NOTOC__</nowiki>}} | * <code>NoContents</code> - include magic word {{TTS|html=code|tts=double-lines-No-T.O.C.|<nowiki>__NOTOC__</nowiki>}} | ||
* <code>Contents</code> | * <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:NickelBank]] | ||
* <code>DefaultSort</code> - include magic word {{TTS|html=code|tts=two-brackets-Default-Sort|<nowiki>{{DEFAULTSORT}}</nowiki>}} | |||
== Templates called == | == Templates called == | ||
Revision as of 09:31, 7 May 2026
Description
This template is for changing the title of a page, specifically for use on "nickel bank" pages. It has two purposes: being easier to remember, and potentially being more TTS-friendly when applicable.
Parameters
1- window titleh1- nickel title to show in page heading, should markup and progressive enhancement be neededh2- nickel title to show for second headingNoContents- include magic wordContents- include magic word, with option to hide it only on pages calling Template:NickelBankDefaultSort- include magic word