Jump to content

Module:WikiProject banner/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Happy-melon (talk | contribs) at 17:32, 18 February 2008 (start doc). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

WPBannerMeta is a meta-template which can be used to create WikiProject banners, enabling new projects to easily create a banner to place on article talk pages, and ensuring standardisation between projects. While some WikiProjects, such as WikiProject Biography and WikiProject Military History, have extremely complicated banners which could not be easily converted into a meta-format, most small- to medium-sized projects may benefit from the quick setup that a meta-template provides.

Syntax

WPBannerMeta can be used at varying levels of complexity, from the very simple to the extremely complicated. Simple options are listed here first, with complexity increasing down the page.

WPBannerMeta takes two different types of parameters: formatting parameters and display parameters. The formatting parameters customise the meta-template for a particular project, defining link targets, categories, images and text. All formatting parameters use UPPERCASE and underscores (_) instead of spaces (|PROJECT=, |NOTE_1_CAT=. Display parameters customise the template output for each individual article the banner is displayed on. These are the parameters which are entered on the talk page (|class=, |importance=, etc), and they must be 'passed through' the project banner to the meta-template underneath.

In the examples below, a WikiProject banner will be constructed for the (currently) nonexistent WikiProject Tulips.

Simple options

  • PROJECT (Required) – the name of the WikiProject. Used in a variety of contexts; first letter should usually be capitalised. {Eg: Tulips}