Section portal heading/doc: Difference between revisions
From Joomla! Documentation
update |
m category |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 26: | Line 26: | ||
</pre> | </pre> | ||
{{section portal heading|color=red-bkgd|icon=bug|title=Bug Squad}} | {{section portal heading|color=red-bkgd|icon=bug|title=Bug Squad}} | ||
== Parameters == | == Parameters == | ||
| Line 50: | Line 49: | ||
|<nowiki>{{{size}}}</nowiki> | |<nowiki>{{{size}}}</nowiki> | ||
|size of icon (lg, 2x, 3x, 4x, 5x | |size of icon (lg, 2x, 3x, 4x, 5x | ||
|optional - defaults to " | |optional - defaults to "lg" | ||
|- | |- | ||
|<nowiki>{{{icon-color}}}</nowiki> | |<nowiki>{{{icon-color}}}</nowiki> | ||
| Line 86: | Line 85: | ||
--> | --> | ||
<includeonly> | <includeonly> | ||
[[Category:Wiki | [[Category:Wiki Portal Templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 01:31, 12 April 2015
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.
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
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