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>MSGJ
(recat)
 
(4 intermediate revisions by 3 users not shown)
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: <syntaxhighlight lang=moin>{{Maths banner |class= }}</syntaxhighlight><syntaxhighlight lang=moin>{{Maths banner |class= |shortcut= |small= |listas= }}</syntaxhighlight><syntaxhighlight lang=moin>{{Maths banner
 +
|class    =
 +
|shortcut =
 +
|small    =
 +
|listas  =
 +
}}</syntaxhighlight> 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|book=yes|fm=yes|redirect=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>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:WikiProject Mathematics]]
+
[[Category:WikiProject Mathematics templates]]
 
 
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:39, 14 October 2020

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