Template:FAQList

From Bose Portable PA Encyclopedia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

FAQList usage

  1. Wrap multiple FAQItem entries inside this template
  2. Put all FAQItem calls after | content =
  3. Each FAQItem will appear inside a single FAQ list with Expand/Collapse All controls

{{FAQList

| content =

   {{FAQItem
   |question = question 1
   |answer   = answer 1
   }}
   {{FAQItem
   |question = question 2
   |answer   = answer 2
   }}

}}

The FAQList will render as it appears below this line.


 Expand all | Collapse all

question 1

answer 1


question 2

answer 2


This template wraps multiple FAQItem entries and provides Expand All / Collapse All using site-level JavaScript in MediaWiki:Common.js.

 Expand all | Collapse all

{{{content}}}