Template:Food projects

From blackwiki
Revision as of 08:09, 6 September 2013 by imported>Willscrlt (Made the "Related WikiProjects" a replaceable parameter (so it can be overridden in cases where the name is ambiguous) named "title" that defaults to the existing name)
Jump to navigation Jump to search
Related WikiProjects
Parent
project:
Child
projects:
Task
forces:
Related
projects:
Template documentation[view] [edit] [history] [purge]

Usage

Syntax

{{Food projects
| title   = <!--- Override the default title for the box where the name might be ambiguous -->
| border  = <!--- Sets the border color on the box --->
| bgcolor = <!--- Sets the background color on the box --->
}}

Add the template to the side panel. The colors of the heading box can be set via hex (#RRGGBB) or by name (Red, etc.). If left undefined, they will default to gray for the border and light blue for the background.

Example

Hex -
{{Food projects
 |border=#CC9000
 |bgcolor=#F3DE94
}}

Will yield this:

Related WikiProjects
Parent
project:
Child
projects:
Task
forces:
Related
projects:
Color -
{{Food projects
 |title=[[WP:F&D|Food & Drink]] WikiProjects
 |border=red
 |bgcolor=pink
}}

Will yield this:

Food & Drink WikiProjects
Parent
project:
Child
projects:
Task
forces:
Related
projects:

See also

Template:Project template list

Template:WikiProject Footer