Template

Difference between revisions of "Multiversion"

From Joomla! Documentation

m (tinkering with a complete subpage direct link box)
m (padding out to create whitespace)
 
(7 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
|group1style=font-size:1.1em; width:18%;
 
|group1style=font-size:1.1em; width:18%;
 
|list1={{#dpl:titlematch={{PAGENAME}}/%|namespace={{NAMESPACE}}|shownamespace=false|nottitlematch=%/%/%|format=,\n*[[%PAGE%|²{#titleparts:%TITLE%|1|1}²]] {{JVer¦²{#titleparts:%TITLE%|1|2}²}},,}}
 
|list1={{#dpl:titlematch={{PAGENAME}}/%|namespace={{NAMESPACE}}|shownamespace=false|nottitlematch=%/%/%|format=,\n*[[%PAGE%|²{#titleparts:%TITLE%|1|1}²]] {{JVer¦²{#titleparts:%TITLE%|1|2}²}},,}}
|list1style=padding-left:10px; font-size:1.2em;
+
|list1style=padding:20px 0 20px 10px; font-size:1.2em;
{{#ifeg:{{{pages|}}}|yes|{{!}}list2={{#dpl:titlematch={{PAGENAMEE}}/%/%|namespace=|shownamespace=false|nottitlematch=%/%/%/%|format=,\n*[[%PAGE%|²{#titleparts:%TITLE%|1|3}²]] {{JVer¦²{#titleparts:%TITLE%|1|2}²}},,|columns=3}}{{!}}group2='''Jump to:'''{{!}}group2style=group1style=font-size:1.1em; width:18%;||}}
+
|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}}|}}
 +
|group2={{#ifeq:{{{pages|}}}|yes|Available Articles|}}
 +
|group2style=font-size:1.1em; width:10%; text-align:center;
 +
|list2style=padding:10px 0 10px 5px; font-size:0.90em; background-color:#ffffff
 
}}</includeonly><noinclude>
 
}}</includeonly><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]