Portal Section Heading
From ENC Phillips Group Wiki
ENC Phillips Portal
[edit] [ ] Template documentation
The purpose of this template is making Portal Headings easier to create.
Contents
Functions/Features
Versatile usage to change background color, icon, icon-size, icon-color, and text-color.
Usage
Default
{{Portal Section Heading}}
ENC Phillips Portal
{{Portal Section Heading|color=orange-bkgd|icon=book|title=Portal Example}}
Portal Example
{{Portal Section Heading|color=orange-bkgd|icon=history|icon-color=#333|text-color=#333|title=Portal Example}}
Portal Example
{{Portal Section Heading|color=red-bkgd|icon=group|title=Group Discussions}}
Group Discussions
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:Foreground.css (or MediaWiki:Common.css)
some.class
The above documentation is transcluded from Template:Portal Section Heading/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |