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

From blackwiki
Jump to navigation Jump to search
imported>Jerem43
(Close open brackets)
imported>Jerem43
(Copy edit - Tweak layout)
Line 4: Line 4:
  
 
== Usage ==
 
== Usage ==
=== Syntax ===
+
== Syntax ==
 
<pre width=66.6%>
 
<pre width=66.6%>
 
{{Food portals
 
{{Food portals
Line 37: Line 37:
 
{{Food portals |border=red |bgcolor=pink}}
 
{{Food portals |border=red |bgcolor=pink}}
  
=== See also ===
+
== See also ==
 
* {{tl|Food portals1}}
 
* {{tl|Food portals1}}
 
* {{tl|Food projects}}
 
* {{tl|Food projects}}

Revision as of 07:01, 30 August 2013

Usage

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