Template:FAQItem: Difference between revisions
Created page with "<noinclude> <templatedata> { "description": "Creates a FAQ item with collapsible details and a permalink", "params": { "question": { "label": "Question", "description": "The Question", "type": "string", "required": true }, "answer": { "label": "Answer", "description": "The Answer to the question", "type": "string", "required": true } } } </templatedata> <big>FAQItem usage</big> # Copy text between th..." |
mNo edit summary |
||
| Line 49: | Line 49: | ||
<details class="faq-item"> | <details class="faq-item"> | ||
<summary style="font-weight: bold; font-size:larger;"></html>{{{question}}}<html></summary> | <summary style="font-weight: bold; font-size:larger;"></html>{{{question}}}<html></summary> | ||
</html> | |||
<div style="margin:0.5em 0 1em 0; font-size:smaller; | <div style="margin:0.5em 0 1em 0; font-size:smaller; opacity:0.7;"> | ||
[[{{FULLPAGENAME}}#{{anchorencode:{{{question}}}}}|Link to this question]] | |||
</div> | </div> | ||
<html> | |||
<blockquote class="faq-answer"> | <blockquote class="faq-answer"> | ||
</html>{{{answer}}}<html> | </html>{{{answer}}}<html> | ||
</blockquote> | </blockquote> | ||
</details> | </details> | ||
</html> | </html> | ||