Difference between revisions of "Template:Food portals"

From blackwiki
Jump to navigation Jump to search
imported>Anomalocaris
m (align="right")
imported>Northamerica1000
(update with Food portal links horizontal template)
 
Line 3: Line 3:
 
| cellspacing="3" style="text-align:center; border: 1px solid {{{border|gray}}}; background: {{{bgcolor|lightblue}}}; margin-bottom: 3px; width: 275px;" colspan="3" | '''''Portals'''''
 
| cellspacing="3" style="text-align:center; border: 1px solid {{{border|gray}}}; background: {{{bgcolor|lightblue}}}; margin-bottom: 3px; width: 275px;" colspan="3" | '''''Portals'''''
 
|-
 
|-
|{{Food portals/core}}
+
|{{Food portal links horizontal}}
 
|-
 
|-
 
| align="right" | {{view |Food portals}}
 
| align="right" | {{view |Food portals}}

Latest revision as of 11:55, 23 October 2018

Portals
Template:Related portals2
Template documentation[view] [edit] [history] [purge]

Usage

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

{{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

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

Will yield this:

Portals
Template:Related portals2
Color
{{Food portals
 |border=red
 |bgcolor=pink
}}

Will yield this:

Portals
Template:Related portals2

See also

Template:Project template list

Template:WikiProject Footer