Difference between revisions of "Template:Maths banner"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(merge with Template:Maths rating)
 
(25 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{| class="messagebox {{#ifeq:{{{small|}}}|yes|small|standard}}-talk" {{#ifeq:{{{ppage|}}}|yes|style="background-color: #f9f9f9; border-color: #aaa; font-size:{{#ifeq:{{{small|}}}|yes|smaller|inherit}};"|}}
+
#redirect[[Template:Maths rating]]
|-
 
| style="text-align:center;" | [[Image:Nuvola apps edu mathematics.png|35px|]]
 
| style="text-align:center;" | This page is part of '''[[Wikipedia:WikiProject Mathematics|WikiProject Mathematics]]'''.
 
|-
 
| {{#if:{{{class|}}} |{{{{{class}}}-Class}}|{{!}} }}
 
| style="text-align:center;" | {{#if:{{{class|}}} | This page is marked as '''{{{class}}}-Class'''.
 
[[Category:{{{class}}}-Class mathematics pages]]
 
[[Category:NA-Priority mathematics pages]]
 
}} {{#if:{{{shortcut|}}}|<nowiki/>
 
{{!}}-
 
{{!}} colspan="2"  style="text-align: right; padding-right: 1em; {{#ifeq:{{{ppage|}}}|yes|background-color: #f9f9f9; border-color: #9f9fff;|border-color: #c0c090;  background-color: #f8eaba;}}" {{!}}<hr />'''Shortcut:''' [[{{{shortcut}}}]]
 
}}{{#ifeq:{{NAMESPACE}}|{{ns:1}}|<nowiki/>
 
{{!}}-
 
{{!}} colspan="2" class="error" {{!}} Please do not use this template on article talk pages. Use [[Template:Maths rating]] instead, being sure to fill in the rating information.
 
}}
 
|}<noinclude>
 
 
 
{{documentation|content=
 
 
 
===Description===
 
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===
 
 
 
There are several optional parameters:
 
* <code>small=yes</code> will cause the banner to float right and be narrow. The default is a wide, centered banner.
 
* <code>ppage=yes</code> will cause the background color to match project pages. The default is a brown color that matches talk pages.
 
* <code>shortcut=WP:FOO</code> will add a shortcut notice.
 
* <code>class=CLASSNAME</code> will cause the template to put the page into a WP 1.0 class. For example, class=File will mark the page as File-Class.
 
 
 
}}
 
 
 
[[Category:WikiProject Mathematics]]
 
 
 
</noinclude>
 

Latest revision as of 22:28, 2 November 2020