Template:Food portals
Appearance
Portals | ||
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
[edit]The grid used in this template is located at Template:Food portal links horizontal, 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 | ||
- Color
{{Food portals
|border=red
|bgcolor=pink
}}
Will yield this:
Portals | ||
See also
[edit]- {{Food portals1}}
- {{Food projects}}
- {{Project assessments}}
- {{Project categories}}
- {{Project heading}}
- {{Project information}}
- {{Project page header}}
- {{Project wikimedia}}
- {{Scrolling window}}
- {{WikiProject status}}