Template:FAQItemNL: Difference between revisions

mNo edit summary
m ST moved page Template:FAQItem to Template:FAQItemNL: swapped with FAQItemL (makes link)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<templatedata>
{
  "description": "Creates a FAQ item",
  "params": {
    "text": {
      "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>
<big>FAQItem usage</big>


# Copy text between the horizontal lines for each Question with Answer
# Copy text between the horizontal lines for each Question with Answer
#  
# Put the Question after | question =
#  
# Put the Answer after | answer =


----
----
Line 10: Line 31:
<nowiki>{{</nowiki>'''FAQItem'''
<nowiki>{{</nowiki>'''FAQItem'''


|question = What makes the S1 Pro different?
| question =  


|answer = The S1 Pro is the ultimate all‑in‑one PA...
| answer =  
}}


<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
Line 26: Line 46:
<html>
<html>
<details class="faq-item">
<details class="faq-item">
<summary></html>{{{question|Question}}}<html></summary>
<summary style="font-weight: bold; font-size:larger;"></html>{{{question|Question}}}<html></summary>
<div class="faq-answer">
<blockquote class="faq-answer">
</html>{{{answer|Answer}}}<html>
</html>{{{answer|Answer}}}<html>
</div>
</blockquote>
</details>
</details>
</html>
</html>