Difference between revisions of "Template:Maths banner"

From blackwiki
Jump to navigation Jump to search
imported>CBM
(Undo)
imported>CBM
(Update to allow class parameter)
Line 2: Line 2:
 
|-
 
|-
 
| style="text-align:center;" | [[Image:Nuvola apps edu mathematics.png|35px|]]
 
| 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:{{{shortcut|}}}|<nowiki/>
+
| 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}}}]]
 
{{!}} 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}}}]]

Revision as of 01:47, 22 February 2010

Nuvola apps edu mathematics.png 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 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.