Template:FAQItem
Creates a FAQ item with collapsible details and a permalink
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Question | question | The Question | String | required |
| Answer | answer | The Answer to the question | String | required |
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}}}
<a href="javascript:void(0);"
onclick="navigator.clipboard.writeText(window.location.origin + window.location.pathname + '#{{{question}}}');
this.innerText='Copied!';
setTimeout(()=>this.innerText='Copy link to this question',1500);">
Copy link to this question
</a>
{{{answer}}}