Difference between revisions of "Template:Maths banner"

From blackwiki
Jump to navigation Jump to search
imported>CBM
(add border color under ppage)
imported>MSGJ
(merge with Template:Maths rating)
 
(36 intermediate revisions by 15 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;"|}}
+
#redirect[[Template:Maths rating]]
|-
 
|align="center"|[[Image:Nuvola apps edu mathematics.png|35px|WikiProject Mathematics]]
 
|align="center"|{{#ifeq:{{{small|}}}|yes||<font size="+1">}}This page is part of '''[[Wikipedia:WikiProject Mathematics|WikiProject Mathematics]]'''.{{#ifeq:{{{small|}}}|yes||</font>}}{{#if:{{{shortcut|}}}|
 
&#13;
 
{{!}}-
 
{{!}} 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}}}]]
 
}}
 
|}
 
<noinclude>
 
===Description===
 
This is a banner template that can be used on project pages and talk pages.  It should not be used on articles.  The template {{tl|maths rating}} can be used on article talk pages to assign quality and importance ratings to articles.
 
===Syntax===
 
 
 
There are three optional fields:
 
* <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.
 
</noinclude>
 

Latest revision as of 22:28, 2 November 2020