Template:Section portal heading
From Joomla! Documentation
Joomla! Portal
This documentation is transcluded from Template:Section portal heading/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.
The purpose of this template is making Portal Headings easier to create.
Functions/Features
Versatile usage to change background color, icon, icon-size, icon-color, and text-color.
Usage
Default
{{section portal heading}}
Joomla! Portal
{{section portal heading|color=orange-bkgd|icon=book|title=Portal Example}}
Portal Example
{{section portal heading|color=orange-bkgd|icon=life-saver|icon-color=#333|text-color=#333|title=Portal Example}}
Portal Example
{{section portal heading|color=red-bkgd|icon=bug|title=Bug Squad}}
Bug Squad
Parameters
Background colors are limited to a select few of the standard Joomla! flat colors. If you desire a different color, please ask. The colors available are as follows:
blue-bkgd orange-bkgd green-bkgd red-bkgd dark-grey-bkgd
Parameter | Parameter description | req./opt. |
---|---|---|
{{{color}}} | color of background | optional - defaults to blue-bkgd |
{{{icon}}} | icon name, see Font Awesome Icon List | optional - defaults to "info-circle" |
{{{size}}} | size of icon (lg, 2x, 3x, 4x, 5x | optional - defaults to "lg" |
{{{icon-color}}} | color of icon (use standard hex, #fffeee or text (white) | optional - defaults to "#ffffff" - white |
{{{title}}} | title text | optional - defaults to Joomla! Portal |
{{{text-color}}} | color of text (use standard hex, #fffeee or text (white) | optional - defaults to white |
Known Issues
Include notes about ...
- dependencies (templates, extensions, assets)
- limitations, technical probs, namespace restrictions
- rendering issues
See also
Provide links to ...
- related templates
- supplemental documentation
- style guides
- example pages
Stylesheet
Provide CSS selectors ... for [[MediaWiki::joomla.css]] (or [[MediaWiki::common.css]])
some.class