Difference between revisions of "Template:Accordion"
From Akvopedia
Line 17: | Line 17: | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | |||
+ | ==== Result: ==== | ||
+ | |||
+ | {{Accordion | sections= | ||
+ | {{Accordion-section | title=Section 1 | text= | ||
+ | Lorem ipsum ... | ||
+ | }} | ||
+ | {{Accordion-section | title=Section 2 | text= | ||
+ | Lorem ipsum ... | ||
+ | }} | ||
+ | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 09:50, 18 February 2015
Display content using the JQuery accordion widget.
Usage
Examples
{{Accordion | sections= {{Accordion-section | title=Section 1 | text= Lorem ipsum ... }} {{Accordion-section | title=Section 2 | text= Lorem ipsum ... }} }}
Result:
Section 1
Lorem ipsum ...
Section 2
Lorem ipsum ...