Template

Difference between revisions of "Multiversion"

From Joomla! Documentation

m (reverting back to original)
m (padding out to create whitespace)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{splist|'''{{PAGENAME}}''' is available for the following Joomla versions:|version}}
+
<includeonly>{{#switch: {{NAMESPACE}}|Template=<!-- no categorization -->|JDOC=<!-- no categorization -->|[[Category:Multiversion|{{PAGENAME}}]]}}{{Navbox
{{#switch: {{NAMESPACE}}
+
|state=off
|Template=<!-- no categorization -->
+
|navbar=off
|JDOC=<!-- no categorization -->
+
|title={{#if:{{{1|}}}|{{{1|}}}|Additional documentation is available for '''{{PAGENAME}}''' shown below}}
|#default=[[Category:Multiversion|{{PAGENAME}}]]
+
|titlestyle=font-weight:normal; padding:5px;
 +
|image=[[File:Joomla vert logo.png|120px]]
 +
|group1={{#switch:{{lc:{{{2|}}}}}
 +
  | versions  = Version:
 +
  | platforms = Platform:
 +
  | version  = Version:
 +
  | platform  = Platform:
 +
  | #default = Available Subpages:
 
}}
 
}}
</includeonly><noinclude>
+
|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}²}},,}}
 +
|list1style=padding:20px 0 20px 10px; font-size:1.2em;
 +
|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>
 
{{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]