Difference between revisions of "Template:FAQItem"

From Bose Portable PA Encyclopedia
Jump to: navigation, search
(Created page with "<details class="faq-item"> <summary>{{{question}}}</summary> <div class="faq-answer"> {{{answer}}} </div> </details>")
 
m
 
(3 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>
 
<details class="faq-item">
 
<details class="faq-item">
<summary>{{{question}}}</summary>
+
<summary></html>{{{question|Question}}}<html></summary>
 
<div class="faq-answer">
 
<div class="faq-answer">
{{{answer}}}
+
</html>{{{answer|Answer}}}<html>
 
</div>
 
</div>
 
</details>
 
</details>
 +
</html>

Latest revision as of 14:16, 10 February 2026

FAQItem usage

  1. Copy text between the horizontal lines for each Question with Answer
  2. Put the Question after | question =
  3. Put the Answer after | answer =

{{FAQItem

| question =

| answer =

}}


The FAQItem will render as it appears below this line.



Question
Answer