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

From blackwiki
Jump to navigation Jump to search
imported>Jerem43
(→‎See also: Remove link to depreciated template)
imported>Jerem43
m (Copy edit - update documentation)
Line 3: Line 3:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
=== Usage ===
+
== Usage ==
 +
=== Syntax ===
 
<pre width=66.6%>
 
<pre width=66.6%>
 
{{Food projects
 
{{Food projects
Line 11: Line 12:
 
</pre>
 
</pre>
  
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 #668CFF for the border and #CCD9FF for the background.
+
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 ====
+
=== Example ===
 
;Hex -
 
;Hex -
 
<pre width=50%>
 
<pre width=50%>
Line 36: Line 37:
 
{{Food projects |border=red |bgcolor=pink}}
 
{{Food projects |border=red |bgcolor=pink}}
  
=== See also ===
+
== See also ==
 
 
 
* {{tl|Food portals}}
 
* {{tl|Food portals}}
* {{tl|Project assessments}}
+
{{Project template list}}
* {{tl|Project categories}}
 
* {{tl|Project heading}}
 
* {{tl|Project information}}
 
* {{tl|Project wikimedia}}
 
  
{{WikiProject Footer}}
 
 
<includeonly>
 
<includeonly>
 
<!-- 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>

Revision as of 11:37, 20 August 2013

Usage

Syntax

{{Food projects
| 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
 |border=red
 |bgcolor=pink
}}

Will yield this:

Related WikiProjects
Parent
project:
Child
projects:
Related
projects:
Task
forces:
Inactive task forces
External
projects:

See also

Template:Project template list