Difference between revisions of "Template:Food projects"

From blackwiki
Jump to navigation Jump to search
imported>Jerem43
(change font size)
imported>Jerem43
(Break it down)
Line 3: Line 3:
 
| 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'''''
 
|-
 
|-
| style="font-size: 90%;" |''Parent project:''
+
| style="font-size: 90%;" |''Parent<br/>project:''
 
| style="font-size: 80%;" |
 
| style="font-size: 80%;" |
 
* [[Wikipedia:WikiProject Food and Drink|WikiProject '''Food''' and '''Drink''']]
 
* [[Wikipedia:WikiProject Food and Drink|WikiProject '''Food''' and '''Drink''']]

Revision as of 23:45, 23 August 2008

Related WikiProjects
Parent
project:
Child
projects:
Task
forces:
Related
projects:
Template:Tnavbar
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:
Template:Tnavbar
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:
Template:Tnavbar

See also

Template:Project template list