Difference between revisions of "Template:FAQ"
From Waveshare Wiki
(19 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <div class="panel-group" > | |
− | + | <accordion parent="accordion" heading="'''Question:'''{{{1}}}" class="in"> | |
− | {| | + | <div> '''Answer:'''</div> |
− | + | <div {{#if: {{{2|}}}||style="display:none;"}}>{{{2}}}</div> | |
− | + | <div {{#if: {{{3|}}}||style="display:none;"}}>{{{3}}}</div> | |
− | | | + | <div {{#if: {{{4|}}}||style="display:none;"}}>{{{4}}}</div> |
− | | | + | <font color="red"{{#if: {{{5|}}}||style="display:none;"}}>{{{5}}}</font> |
− | + | </accordion> | |
− | | | + | </div> |
− | |} | + | |
+ | <noinclude> | ||
+ | == Usage == | ||
+ | |||
+ | <nowiki>{{FAQ1|我是问题1? | ||
+ | |第一段 | ||
+ | |第二段 | ||
+ | |第三段 | ||
+ | |第四段(红字) | ||
+ | }}</nowiki> | ||
+ | |||
+ | </noinclude> |