Template:Food portals

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Portals
Portal:Food
Portal:Drink
Portal:Beer
Food Drink Beer
Portal:Wine
Portal:Coffee
Portal:Bacon
Wine Coffee Bacon
Portal:Agriculture and agronomy
Portal:Hunger relief
Portal:Health
Agriculture
and agronomy
Hunger
relief
Health &
fitness
view
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage[edit]

The grid used in this template is located at Template:Food portals/core, and any changes to the grid can be made there. The images can be resized using the |size= and |size2= fields. The default sizes are 60px and 30px respectfully.

Syntax[edit]

{{Food portals
| 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 lightblue for the background.

Example[edit]

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

Will yield this:

Portals
Portal:Food
Portal:Drink
Portal:Beer
Food Drink Beer
Portal:Wine
Portal:Coffee
Portal:Bacon
Wine Coffee Bacon
Portal:Agriculture and agronomy
Portal:Hunger relief
Portal:Health
Agriculture
and agronomy
Hunger
relief
Health &
fitness
view
Color
{{Food portals
 |border=red
 |bgcolor=pink
}}

Will yield this:

Portals
Portal:Food
Portal:Drink
Portal:Beer
Food Drink Beer
Portal:Wine
Portal:Coffee
Portal:Bacon
Wine Coffee Bacon
Portal:Agriculture and agronomy
Portal:Hunger relief
Portal:Health
Agriculture
and agronomy
Hunger
relief
Health &
fitness
view

See also[edit]

Related templates[edit]

Directory Directory of WikiProjects

 

Council WikiProject Council

 

Guide Guide to WikiProjects