Difference between revisions of "Cat header"
From Joomla! Documentation
(new template for category header, with links and explanation of categorytree) |
m (adding a parameter to call Template {{Cat info}}) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| style="border: 2px solid #efefef; padding: 2px; width: 70%; text-align:center; margin:0 15% | + | <includeonly>{| style="border: 2px solid #efefef; padding: 2px; width: 70%; text-align:center; margin:0 15% px 15%; background-color:#e7e7e7; -moz-border-radius:8px; border-radius:8px;" |
|- | |- | ||
| style="text-align:center; background-color:#e7e7e7; width:10%;"|[[File:Documentation all together tranparent small.png|65px|Information icon]] | | style="text-align:center; background-color:#e7e7e7; width:10%;"|[[File:Documentation all together tranparent small.png|65px|Information icon]] | ||
Line 6: | Line 6: | ||
<br/>Please note, if a page is not given a category, then it will not be listed here. | <br/>Please note, if a page is not given a category, then it will not be listed here. | ||
<br/>Additional information next to each category listed is as follows. '''(# C(ategories), # P(ages), # F(iles))''' | <br/>Additional information next to each category listed is as follows. '''(# C(ategories), # P(ages), # F(iles))''' | ||
− | |}</includeonly> | + | |} |
+ | {{#if:{{{1|}}}|{{Cat info|{{{1|}}}}}||}} | ||
+ | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 17:40, 25 August 2012
This template provides an easy header for Category Pages, with instructions and link for using categorytree to browse the wiki.
Functions/Features[edit]
Inserts an styled information box.
Usage[edit]
Use {{cat header}} to call the template. Checks for additional infomation to display on the Category page. See wiki markup below.
Examples[edit]
{{cat header}}
You can browse the Joomla! Documentation Wiki using Category Tree, either from this page or by using the Category Tree Page.
|
{{cat header|This is a demo of using text: #Wiki markup *Other wiki markup }}
You can browse the Joomla! Documentation Wiki using Category Tree, either from this page or by using the Category Tree Page.
|
This is a demo of using text:
- Wiki markup
- Other wiki markup
Parameters[edit]
Uses a simple {{{1|}}} parameter and a check to display it by calling another template for styled information box.