Template:NickelBank: Difference between revisions
Appearance
m include h1 and DefaultSort using nickel parameter |
m make "nickel" optional |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{ArticleTitle|[nickel] {{#if:{{{1|}}}|{{{1|}}}|{{{h2|}}}}}|h1={{#if:{{{ | <includeonly><onlyinclude>{{ArticleTitle|[nickel] {{#if:{{{1|}}}| {{{1|}}} | {{{h2|}}} }}|h1 = {{#if:{{{nickel|}}}| Research talk:5¢/{{{nickel|}}} | {{{h1|}}} }}|h2 = {{{h2|}}}}}{{#if:{{{nickel|}}}|{{DefaultSort|¢,05/{{{nickel|}}}}}}}{{#if:{{{Contents|}}}|{{Contents|class=nickel-bank}}}}{{HueCSS}}</onlyinclude></includeonly><!-- | ||
more readable version: | more readable version: | ||
| Line 5: | Line 5: | ||
{{ArticleTitle | {{ArticleTitle | ||
|[nickel] {{#if:{{{1|}}}| {{{1|}}} | {{{h2|}}} }} | |[nickel] {{#if:{{{1|}}}| {{{1|}}} | {{{h2|}}} }} | ||
|h1 = {{#if:{{{ | |h1 = {{#if:{{{nickel|}}}| Research talk:5¢/{{{nickel|}}} | {{{h1|}}} }} | ||
|h2 = {{{h2|}}} | |h2 = {{{h2|}}} | ||
}} | }} | ||
Latest revision as of 04:35, 9 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:NickelBanknickel- if provided, includes magic word