Difference between revisions of "Template:Food projects"

From blackwiki
Jump to navigation Jump to search
imported>Jerem43
m (Code edit - Change font size)
imported>WOSlinker
(tidy style)
Line 1: Line 1:
 
{| style="background: transparent; white-space: nowrap; width: 275px; margin-left:auto; margin-right:auto; align:center;"
 
{| style="background: transparent; white-space: nowrap; width: 275px; margin-left:auto; margin-right:auto; align:center;"
 
|-
 
|-
| align="center" cellspacing="3" style="border: 1px solid {{{border|gray}}}; background-color: {{{bgcolor|lightblue}}}; margin-bottom: 3px; width: 275px;" colspan="2" | '''''{{{title|Related WikiProjects}}}'''''
+
| cellspacing="3" style="text-align:center; border: 1px solid {{{border|gray}}}; background-color: {{{bgcolor|lightblue}}}; margin-bottom: 3px; width: 275px;" colspan="2" | '''''{{{title|Related WikiProjects}}}'''''
 
|-
 
|-
 
| style="font-size: 95%;" |''Parent<br/>project:''
 
| style="font-size: 95%;" |''Parent<br/>project:''
Line 16: Line 16:
 
|-  
 
|-  
 
| style="font-size: 95%;" |''Task<br>forces:''
 
| style="font-size: 95%;" |''Task<br>forces:''
| valign="top" style="font-size: 95%;" |
+
| style="vertical-align:top;font-size: 95%;" |
 
* [[Wikipedia:WikiProject Food and drink/Bartending Task Force|'''Bartending''' task force]]
 
* [[Wikipedia:WikiProject Food and drink/Bartending Task Force|'''Bartending''' task force]]
 
* [[Wikipedia:WikiProject Food and drink/Beverages Task Force|'''Beverages''' task force]]
 
* [[Wikipedia:WikiProject Food and drink/Beverages Task Force|'''Beverages''' task force]]
Line 26: Line 26:
 
|-  
 
|-  
 
| style="font-size: 95%;" |''Related<br/>projects:''
 
| style="font-size: 95%;" |''Related<br/>projects:''
| valign="top" style="font-size: 95%;" |
+
| style="vertical-align:top;font-size: 95%;" |
 
* [[Wikipedia:WikiProject Agriculture|WikiProject '''Agriculture''']]
 
* [[Wikipedia:WikiProject Agriculture|WikiProject '''Agriculture''']]
 
* [[Wikipedia:WikiProject Brands|WikiProject '''Brands''']]
 
* [[Wikipedia:WikiProject Brands|WikiProject '''Brands''']]
Line 34: Line 34:
 
|-  
 
|-  
 
| style="font-size: 95%;" |''External<br/>projects:''
 
| style="font-size: 95%;" |''External<br/>projects:''
| valign="top" style="font-size: 95%;" |
+
| style="vertical-align:top;font-size: 95%;" |
 
* [[Commons:Commons:WikiProject Food and Beverages|WikiProject Food and Beverages<br/>on Commons]]
 
* [[Commons:Commons:WikiProject Food and Beverages|WikiProject Food and Beverages<br/>on Commons]]
 
* [[Wikibooks:Wikibooks:WikiProject Bartending|WikiProject Bartending<br/>on Wikibooks]]
 
* [[Wikibooks:Wikibooks:WikiProject Bartending|WikiProject Bartending<br/>on Wikibooks]]
 
|-  
 
|-  
| align="right" colspan="2" |{{view|Food projects|viewplain=1}}
+
| style="text-align:right" colspan="2" |{{view|Food projects|viewplain=1}}
 
|}<noinclude>
 
|}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
{{WikiProject Footer}}
 
{{WikiProject Footer}}
 
</noinclude>
 
</noinclude>

Revision as of 19:39, 16 November 2014

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