Template

Difference between revisions of "Multiversion"

From Joomla! Documentation

m (variable)
m (padding out to create whitespace)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Navbox
+
<includeonly>{{#switch: {{NAMESPACE}}|Template=<!-- no categorization -->|JDOC=<!-- no categorization -->|[[Category:Multiversion|{{PAGENAME}}]]}}{{Navbox
 
|state=off
 
|state=off
 
|navbar=off
 
|navbar=off
|title={{#if:{{{1|{{PAGENAME}}}}}|{{{1|{{{PAGENAME}}}}}|Additional documentation is available for '''{{PAGENAME}}''' shown below}}
+
|title={{#if:{{{1|}}}|{{{1|}}}|Additional documentation is available for '''{{PAGENAME}}''' shown below}}
 
|titlestyle=font-weight:normal; padding:5px;
 
|titlestyle=font-weight:normal; padding:5px;
 
|image=[[File:Joomla vert logo.png|120px]]
 
|image=[[File:Joomla vert logo.png|120px]]
Line 13: Line 13:
 
}}
 
}}
 
|group1style=font-size:1.1em; width:18%;
 
|group1style=font-size:1.1em; width:18%;
|list1=
+
|list1={{#dpl:titlematch={{PAGENAME}}/%|namespace={{NAMESPACE}}|shownamespace=false|nottitlematch=%/%/%|format=,\n*[[%PAGE%|²{#titleparts:%TITLE%|1|1}²]] {{JVer¦²{#titleparts:%TITLE%|1|2}²}},,}}
<dpl>
+
|list1style=padding:20px 0 20px 10px; font-size:1.2em;
titlematch={{{1|}}}/%
+
|list2={{#ifeq:{{{pages|}}}|yes|{{#dpl:titlematch={{PAGENAMEE}}/%/%|namespace=|shownamespace=false|nottitlematch=%/%/%/%|format=,\n*[[%PAGE%|²{#titleparts:%TITLE%|1|3}²]] {{JVer¦²{#titleparts:%TITLE%|1|2}²}},,|columns=3}}|}}
namespace=
+
|group2={{#ifeq:{{{pages|}}}|yes|Available Articles|}}
shownamespace=false
+
|group2style=font-size:1.1em; width:10%; text-align:center;
includesubpages=true
+
|list2style=padding:10px 0 10px 5px; font-size:0.90em; background-color:#ffffff
nottitlematch=%/%/%
+
}}</includeonly><noinclude>
format=,* [[%PAGE%|{{#titleparts: %TITLE%|1|1}}]] {{JVer|{{#titleparts: %TITLE%|1|2}}}},\n,
 
</dpl>
 
|list1style=padding-left:10px; font-size:1.2em;
 
}}
 
<noinclude>
 
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 10:20, 28 September 2012

[view] [edit] [history]

Template-info.pngTemplate documentation

Enter the purpose of this template...

Functions/Features[edit]

Shows a navigational box to subpages for articles for specific Joomla! Versions.

Usage[edit]

Insert {{multiversion}} in page for links to subpages automatically.

Example[edit]