Template:FAQItem: Difference between revisions
Jump to navigation
Jump to search
m (added optional id parameter, auto-generated ID fallback, link to this question icon) |
Tag: Undo |
||
| Line 2: | Line 2: | ||
<big>FAQItem usage</big> | <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> | </noinclude> | ||
<html> | <html> | ||
< | <details class="faq-item"> | ||
</summary> | <summary style="font-weight: bold; font-size:larger;"></html>{{{question|Question}}}<html></summary> | ||
<blockquote class="faq-answer"> | <blockquote class="faq-answer"> | ||
</html> | </html>{{{answer|Answer}}}<html> | ||
{{{answer|Answer}}} | |||
<html> | |||
</blockquote> | </blockquote> | ||
</details> | </details> | ||
</html> | </html> | ||
Revision as of 06:27, 23 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