Template:FAQItem: Difference between revisions

From Bose Portable PA Encyclopedia
Jump to navigation Jump to search
m (Undo revision 25448 by ST (talk))
Tag: Undo
mNo edit summary
Line 2: Line 2:
<big>FAQItem usage</big>
<big>FAQItem usage</big>


# Copy text between the horizontal lines for each Question with Answer
1. Optional: <code>| id = custom-id</code> 
# Put the Question after | question =
2. Required: <code>| question =</code> 
# Put the Answer after | answer =
3. Required: <code>| answer =</code> 


----
If <code>id</code> is provided, a link icon will appear beside the question.
 
<nowiki>{{</nowiki>'''FAQItem'''
 
| question =
 
| answer =
 
<nowiki>}}</nowiki>


----
----
 
<nowiki>{{FAQItem
The FAQItem will render as it appears below this line.
| id      = optional-custom-id
 
| question = Your question
| answer  = Your answer
}}</nowiki>
----
----
</noinclude>
</noinclude>


<html>
<html>
<details class="faq-item">
<details class="faq-item"{{#if:{{{id|}}}| id="{{{id}}}"|}}><summary style="font-weight: bold; font-size:larger;">{{{question|Question}}}{{#if:{{{id|}}}| <a href="#{{{id}}}" class="faq-link-icon" style="margin-left:8px; text-decoration:none;">🔗</a>|}}</summary>
<summary style="font-weight: bold; font-size:larger;"></html>{{{question|Question}}}<html></summary>
<blockquote class="faq-answer">
<blockquote class="faq-answer">
</html>{{{answer|Answer}}}<html>
</html>
 
{{{answer|Answer}}}
 
<html>
</blockquote>
</blockquote>
</details>
</details>
</html>
</html>

Revision as of 06:45, 23 February 2026

FAQItem usage

1. Optional: | id = custom-id 2. Required: | question = 3. Required: | answer =

If id is provided, a link icon will appear beside the question.


{{FAQItem | id = optional-custom-id | question = Your question | answer = Your answer }}



{{{question|Question}}}{{#if:{{{id|}}}| 🔗|}}

Answer