Difference between revisions of "Template:FAQItem"
m |
m |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | <noinclude> | ||
| + | <big>FAQItem usage</big> | ||
| + | |||
| + | # Copy text between the horizontal lines for each Question with Answer | ||
| + | # Put the Question after | question = | ||
| + | # Put the Answer after | answer = | ||
| + | |||
| + | ---- | ||
| + | |||
| + | <nowiki>{{</nowiki>'''FAQItem''' | ||
| + | |||
| + | | question = | ||
| + | |||
| + | | answer = | ||
| + | |||
| + | <nowiki>}}</nowiki> | ||
| + | |||
| + | ---- | ||
| + | |||
| + | The FAQItem will render as it appears below this line. | ||
| + | |||
| + | ---- | ||
| + | </noinclude> | ||
| + | |||
<html> | <html> | ||
<details class="faq-item"> | <details class="faq-item"> | ||
| − | <summary></html>{{{question}}}<html></summary> | + | <summary></html>{{{question|Question}}}<html></summary> |
<div class="faq-answer"> | <div class="faq-answer"> | ||
| − | </html>{{{answer}}}<html> | + | </html>{{{answer|Answer}}}<html> |
</div> | </div> | ||
</details> | </details> | ||
</html> | </html> | ||
Latest revision as of 14:16, 10 February 2026
FAQItem usage
- Copy text between the horizontal lines for each Question with Answer
- Put the Question after | question =
- Put the Answer after | answer =
{{FAQItem
| question =
| answer =
}}
The FAQItem will render as it appears below this line.
Question
Answer