Difference between revisions of "Template:Food projects"

From blackwiki
Jump to navigation Jump to search
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)
imported>Jerem43
m (Code edit - Add new section)
Line 32: Line 32:
 
* [[Wikipedia:WikiProject Health|WikiProject '''Health''']]
 
* [[Wikipedia:WikiProject Health|WikiProject '''Health''']]
 
* [[Wikipedia:WikiProject Medicine|WikiProject '''Medicine''']]
 
* [[Wikipedia:WikiProject Medicine|WikiProject '''Medicine''']]
 +
|-
 +
| style="font-size: 90%;" |''External<br/>projects:''
 +
| valign="top" style="font-size: 85%;" |
 +
* [[Commons:Commons:WikiProject Food and Beverages|WikiProject Food and Beverages on Commons]]
 +
* [[Wikibooks:Wikibooks:WikiProject Bartending|WikiProject Bartending on Wikibooks]]
 
|-  
 
|-  
 
| align="right" colspan="2" |{{view|Food projects|viewplain=1}}
 
| align="right" colspan="2" |{{view|Food projects|viewplain=1}}

Revision as of 06:29, 9 September 2013

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

See also

Template:Project template list

Template:WikiProject Footer