Template

Section portal heading/doc

From Joomla! Documentation

< Template:Section portal heading
Revision as of 20:31, 11 April 2015 by Tom Hutchison (talk | contribs) (category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Section portal heading.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Section portal heading.

The purpose of this template is making Portal Headings easier to create.

Functions/Features[edit]

Versatile usage to change background color, icon, icon-size, icon-color, and text-color.

Usage[edit]

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[edit]

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[edit]

Include notes about ...

  • dependencies (templates, extensions, assets)
  • limitations, technical probs, namespace restrictions
  • rendering issues

See also[edit]

Provide links to ...

  • related templates
  • supplemental documentation
  • style guides
  • example pages

Stylesheet[edit]

Provide CSS selectors ... for [[MediaWiki::joomla.css]] (or [[MediaWiki::common.css]])

some.class