Template:Head
From Joomla! Documentation
This documentation is transcluded from Template:Head/doc.
To discuss this template as a whole, please see JDOC:WTP. If you wish to discuss general wordings, rather than the wording or formatting of this specific template, don't post here, or else what you say will probably go unnoticed.
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) |