Template

Difference between revisions of "Cat header"

From Joomla! Documentation

m (update to text)
m (fixing a bit)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#if:{{{1|}}}|{{Cat info|{{{1|}}}}}||}}
 
{{#if:{{{1|}}}|{{Cat info|{{{1|}}}}}||}}
{| style="border: 2px solid #efefef; padding: 2px; width: 70%; text-align:center; margin:8px 15% 0 15%; background-color:#d0e5f5; -moz-border-radius:8px; border-radius:8px;"
+
{| 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:#d0e5f5; 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;" |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))'''
+
| 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))'''
|}
+
|}</includeonly>
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 18:55, 27 February 2014


[view] [edit] [history]

Template-info.pngTemplate documentation

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}}


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

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