Difference between revisions of "Template:FAQList"
m |
m |
||
| Line 11: | Line 11: | ||
| content = | | content = | ||
| − | {{FAQItem | + | <nowiki>{{</nowiki>FAQItem |
|question = question 1 | |question = question 1 | ||
|answer = answer 1 | |answer = answer 1 | ||
| − | }} | + | <nowiki>}}</nowiki> |
| − | {{FAQItem | + | <nowiki>{{</nowiki>FAQItem |
|question = question 2 | |question = question 2 | ||
|answer = answer 2 | |answer = answer 2 | ||
| − | }} | + | <nowiki>}}</nowiki> |
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
Revision as of 15:10, 10 February 2026
FAQList usage
- Wrap multiple FAQItem entries inside this template
- Put all FAQItem calls after | content =
- 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.
| Collapse all
content =
question 1
answer 1
question 2
answer 2