Difference between revisions of "Template:Maths banner/doc"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(class not needed, namespace detection used instead)
imported>Redrose64
(document all recognised parameters)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
== Usage ==
 +
When you create or find a new ''non-article'' page within the scope of [[WP:WikiProject Mathematics|WikiProject Mathematics]] please add any of the following to the top of its talk page: <source lang=moin>{{Maths banner |class= }}</source><source lang=moin>{{Maths banner |class= |shortcut= |small= |listas= }}</source><source lang=moin>{{Maths banner
 +
|class    =
 +
|shortcut =
 +
|small    =
 +
|listas  =
 +
}}</source> Unused parameters may be omitted.
  
===Description===
+
It should not be used on articles or article talk pages. The template {{tlx|maths rating}} can be used on article talk pages to assign quality and importance ratings to articles.
This is a banner template that can be used on project pages and talk pages.  It should not be used on articles or article talk page. The template {{tl|maths rating}} can be used on article talk pages to assign quality and importance ratings to articles.
 
  
===Syntax===
+
===Optional parameters===
There are several optional parameters:
+
{{WPBannerDoc|class|PROJECT=Mathematics |ASSESSMENT_LINK=no |QUALITY_SCALE=inline |BANNER_NAME=Template:Maths banner |class_values={{WPBannerDoc/class mask |FQS=yes|redirect=yes|fm=yes}} }}
* <code>small=yes</code> will cause the banner to float right and be narrow. The default is a wide, centered banner.
+
{{WPBannerDoc|listas|first=Leonhard |last=Euler }}
* <code>shortcut=WP:FOO</code> will add a shortcut notice.
+
*'''shortcut''' – creates a shortcut link, e.g. {{para|shortcut|WP:FOO}} will add a shortcut notice linking to [[WP:FOO]].
 +
{{WPBannerDoc|small}}
 +
{{WPBannerDoc|category}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 19:48, 1 June 2018

Usage

When you create or find a new non-article page within the scope of WikiProject Mathematics please add any of the following to the top of its talk page:

{{Maths banner |class= }}
{{Maths banner |class= |shortcut= |small= |listas= }}
{{Maths banner
|class    = 
|shortcut = 
|small    = 
|listas   = 
}}

Unused parameters may be omitted.

It should not be used on articles or article talk pages. The template {{maths rating}} can be used on article talk pages to assign quality and importance ratings to articles.

Optional parameters

Template:WPBannerDoc Template:WPBannerDoc

  • shortcut – creates a shortcut link, e.g. |shortcut=WP:FOO will add a shortcut notice linking to WP:FOO.

Template:WPBannerDoc Template:WPBannerDoc