Actions

Template

Head

From Joomla! Documentation

Revision as of 22:43, 27 August 2012 by Tom Hutchison (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[view] [edit] [history]

Template-info.pngTemplate documentation

Contents

This templates produces a pseudo-heading, such as used on the Portals pages.

Examples

Input Output
{{head|Heading}}
Heading
{{head|Heading|edit=Project:Sandbox|line=2px|color=ee0033}}
Heading
{{head|Heading|linecol=00a0cb|background=00a0cb|color=FFFFFF}}
Heading
{{head|Heading|linecol=00a0cb|background=afd2db|size=120%}}
Heading
{{head|Heading|linecol=00a0cb|background=afd2db|bold=0|size=120%}}
Heading
{{head|Heading|linecol=00a0cb|bold=0|size=100%}}
Heading
{{head|Heading|linecol=00a0cb|size=120%|caps=1|edit=Project:Sandbox}}
Heading

Parameter

Parameter Purpose Default value
1 Title required
line Line thickness below the heading 1px
align Title alignment left
linecol Color of the line below the Heading (RGB-Hex) 000000 (black)
background Backgroundcolor (RGB-Hex) transparent
color Text color (RBG-Hex) 000000 (black)
size Text size 130%
caps Capitals (0: no, 1: yes) 0 (none)
bold Bold (0: no, 1: yes) 1 (bold), if caps=1 always 0
edit Article, which is added as an edit link empty (no link)