Difference between revisions of "Template:Maths banner"

From blackwiki
Jump to navigation Jump to search
imported>CBM
(add border color under ppage)
imported>CBM
(→‎[[WP:LEAD|Lede]]: add namespace warning)
Line 7: Line 7:
 
{{!}} 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}}|Talk|{{!-}}
 +
{{!}} 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>
 
<noinclude>
 +
 
===Description===
 
===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.  
 
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.  

Revision as of 23:26, 6 May 2008

WikiProject Mathematics This page is part of WikiProject Mathematics.


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 {{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.