Template:FAQItemNL: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<big>FAQItem usage</big> | <big>FAQItem usage</big> | ||
---- | ---- | ||
<nowiki>{{</nowiki>'''FAQItem''' | <nowiki>{{</nowiki>'''FAQItem''' | ||
| id = | |||
| question = | | question = | ||
| Line 15: | Line 13: | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
If '''id''' is provided, a link icon will appear beside the question. | |||
---- | ---- | ||
The FAQItem will render as it appears below this line. | The FAQItem will render as it appears below this line. | ||
---- | ---- | ||
</noinclude> | </noinclude> | ||
<html><div </html>{{#if:{{{id|}}}|<html>id="</html>{{{id}}}"|}}<html>></html> | |||
<html> | <html> | ||
<details class="faq-item"> | <details class="faq-item"> | ||
<summary style="font-weight: bold; font-size:larger;"></html>{{{question|Question}}}<html></summary> | <summary style="font-weight: bold; font-size:larger;"></html>{{{question|Question}}}{{#if:{{{id|}}}| <a href="#{{{id}}}" class="faq-link-icon" style="margin-left:8px; text-decoration:none;">🔗</a>|}}<html></summary> | ||
<blockquote class="faq-answer"> | <blockquote class="faq-answer"> | ||
</html>{{{answer|Answer}}}<html> | </html>{{{answer|Answer}}}<html> | ||
| Line 31: | Line 32: | ||
</details> | </details> | ||
</html> | </html> | ||
</div> | |||
Revision as of 07:54, 23 February 2026
FAQItem usage
{{FAQItem
| id =
| question =
| answer =
}}
If id is provided, a link icon will appear beside the question.
The FAQItem will render as it appears below this line.
Question{{#if:| <a href="#{{{id}}}" class="faq-link-icon" style="margin-left:8px; text-decoration:none;">🔗</a>|}}
Answer