Template

Cat header: Difference between revisions

From Joomla! Documentation

Tom Hutchison (talk | contribs)
new template for category header, with links and explanation of categorytree
 
Tom Hutchison (talk | contribs)
m fixing a bit
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| style="border: 2px solid #efefef; padding: 2px; width: 70%; text-align:center; margin:0 15% 0 15%; background-color:#e7e7e7; -moz-border-radius:8px; border-radius:8px;"
<includeonly>
{{#if:{{{1|}}}|{{Cat info|{{{1|}}}}}||}}
{| style="border: 1px solid #efefef; padding: 2px; max-width: 100%; text-align:center; margin:0 auto; background-color:#d0e5f5; -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:#d0e5f5; max-width:10%;"|[[File:Documentation all together tranparent small.png|65px|Information icon]]
| style="font-size: .85em; text-align:center; width:90%; background-color:cornsilk; padding:5px; -moz-border-radius:5px; border-radius:5px;" |
| style="font-size: .8em; text-align:center; max-width:90%; background-color:cornsilk; padding:5px; -moz-border-radius:5px; border-radius:5px;" |You can browse the Joomla! Documentation Wiki either from this page or by using the [[Special:CategoryTree/{{PAGENAME}}|Category Tree Page]].<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))'''
You can browse the Joomla! Documentation Wiki using Category Tree, either from this page or by using the [[Special:CategoryTree/{{PAGENAME}}|Category Tree Page]].
<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))'''
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 23:55, 27 February 2014


[view] [edit] [history]

Template documentation

This template provides an easy header for Category Pages, with instructions and link for using categorytree to browse the wiki.

Functions/Features

Inserts an styled information box.

Usage

Use {{cat header}} to call the template. Checks for additional infomation to display on the Category page. See wiki markup below.

Examples

{{cat header}}


Information icon You can browse the Joomla! Documentation Wiki either from this page or by using the Category Tree Page.
Please note, if a page is not given a category, then it will not be listed here.
Additional information next to each category listed is as follows. (# C(ategories), # P(ages), # F(iles))


{{cat header|This is a demo of using text:
#Wiki markup
*Other wiki markup
}}

This is a demo of using text:

  1. Wiki markup
  • Other wiki markup
Information icon You can browse the Joomla! Documentation Wiki either from this page or by using the Category Tree Page.
Please note, if a page is not given a category, then it will not be listed here.
Additional information next to each category listed is as follows. (# C(ategories), # P(ages), # F(iles))


Parameters

Uses a simple {{{1|}}} parameter and a check to display it by calling another template for styled information box.