Template:Food portals/doc

From English Wikipedia @ Freddythechick

Usage

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

<syntaxhighlight lang="wikitext" width=66.6%>

Portals
Lua error in mw.title.lua at line 346: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

</syntaxhighlight>

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 -

<syntaxhighlight lang="wikitext" width=50%>

Portals
Lua error in mw.title.lua at line 346: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

</syntaxhighlight>

Will yield this:

Portals
Lua error in mw.title.lua at line 346: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
Color

<syntaxhighlight lang="wikitext" width=50%>

Portals
Lua error in mw.title.lua at line 346: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

</syntaxhighlight>

Will yield this:

Portals
Lua error in mw.title.lua at line 346: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

See also

Related templates