Head/doc
From Joomla! Documentation
< Template:Head
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This templates produces a pseudo-heading, such as used on the Portals pages.
Examples[edit]
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[edit]
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) |