Difference between revisions of "Template:Maths banner"
Jump to navigation
Jump to search
imported>CBM (Update to allow class parameter) |
imported>CBM (update parameters) |
||
| Line 22: | Line 22: | ||
===Syntax=== | ===Syntax=== | ||
| − | There are | + | 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>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>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>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. | ||
</noinclude> | </noinclude> | ||
Revision as of 15:13, 13 March 2010
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 several optional parameters:
small=yeswill cause the banner to float right and be narrow. The default is a wide, centered banner.ppage=yeswill cause the background color to match project pages. The default is a brown color that matches talk pages.shortcut=WP:FOOwill add a shortcut notice.class=CLASSNAMEwill cause the template to put the page into a WP 1.0 class. For example, class=File will mark the page as File-Class.