Difference between revisions of "Template:Food projects/doc"

From blackwiki
Jump to navigation Jump to search
imported>GoingBatty
m (typo(s) fixed: etc) → etc.) using AWB (11376))
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 44: Line 44:
 
{{Project template list}}
 
{{Project template list}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:WikiProject Food and drink templates|{{PAGENAME}}]]
 
[[Category:WikiProject Food and drink templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 04:56, 25 April 2020

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:
Related
projects:
Task
forces:
Inactive task forces
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:
Related
projects:
Task
forces:
Inactive task forces
External
projects:

See also

Template:Project template list