Difference between revisions of "Template:Food projects"

From blackwiki
Jump to navigation Jump to search
imported>Wavelength
imported>Jerem43
(Tweak)
Line 1: Line 1:
{| style="background: transparent; white-space: nowrap; width: 275px; align:center;"
+
{| style="background: transparent; white-space: nowrap; width: 275px; margin-left:auto; margin-right:auto; align:center;"
 
|-
 
|-
 
| align="center" cellspacing="3" style="border: 1px solid {{{border|#668CFF}}}; background-color: {{{bgcolor|#CCD9FF}}}; margin-bottom: 3px; width: 275px;" colspan="2" | '''''Related WikiProjects'''''
 
| align="center" cellspacing="3" style="border: 1px solid {{{border|#668CFF}}}; background-color: {{{bgcolor|#CCD9FF}}}; margin-bottom: 3px; width: 275px;" colspan="2" | '''''Related WikiProjects'''''

Revision as of 17:28, 21 July 2013

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:

Related WikiProjects
Parent
project:
Child
projects:
Task
forces:
Related
projects:

See also

Template:Project template list