Difference between revisions of "Template:Maths banner"

From blackwiki
Jump to navigation Jump to search
imported>CBM
imported>CharlotteWebb
(tidy up)
Line 1: Line 1:
{| class="messagebox {{#ifeq:{{{small|}}}|yes|small|standard}}-talk" {{#ifeq:{{{ppage|}}}|yes|style="background-color: #f9f9f9; border-color: #aaa;"|}}
+
{| 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}};"|}}
 
|-
 
|-
|align="center"|[[Image:Nuvola apps edu mathematics.png|35px|WikiProject Mathematics]]
+
| style="text-align:center;" | [[Image:Nuvola apps edu mathematics.png|35px|]]
|align="center"|{{#ifeq:{{{small|}}}|yes||<font size="+1">}}This page is part of '''[[Wikipedia:WikiProject Mathematics|WikiProject Mathematics]]'''.{{#ifeq:{{{small|}}}|yes||</font>}}{{#if:{{{shortcut|}}}|
+
| style="text-align:center;" | This page is part of '''[[Wikipedia:WikiProject Mathematics|WikiProject Mathematics]]'''.{{#if:{{{shortcut|}}}|<nowiki/>
&#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}}}]]
 
{{!}} 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.
 
}}
 
}}
{{#ifeq:{{NAMESPACE}}|Talk|{{!-}}
+
|}<noinclude>
{{!}} colspan="2" {{!}}<font size="+1" color="red">Please do not use this template on article talk pages. Use [[Template:Maths rating]] instead, being sure to fill in the rating information.</font>}}
 
|}
 
<noinclude>
 
  
 
===Description===
 
===Description===

Revision as of 21:58, 19 September 2009

File:Nuvola apps edu mathematics.png This page is part of WikiProject Mathematics.Please do not use this template on article talk pages. Use Template:Maths rating instead, being sure to fill in the rating information.

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 {{maths rating}} can be used on article talk pages to assign quality and importance ratings to articles.

Syntax

There are three optional fields:

  • small=yes will cause the banner to float right and be narrow. The default is a wide, centered banner.
  • ppage=yes will cause the background color to match project pages. The default is a brown color that matches talk pages.
  • shortcut=WP:FOO will add a shortcut notice.