Difference between revisions of "Template:FAQd"
Jump to navigation
Jump to search
m |
m |
||
| Line 1: | Line 1: | ||
| − | <div id="collapsible-div-{{{1}}}" class="mw-collapsible mw-collapsed | + | <div id="collapsible-div-{{{1}}}" class="mw-collapsible mw-collapsed"> |
| − | <div class="mw-collapsible-toggle" style=" | + | <div class="mw-collapsible-toggle" style="margin-top:0.2em; border:1px solid silver; background-color:white; padding:3px; width:100%;"> |
| − | <div style="background-color:#f0f2f5; padding:0.2em 0.3em; font-weight:bold;">{{{2}}}</div> | + | <div style="background-color:#f0f2f5; padding:0.2em 0.3em; font-weight:bold; text-align:left;">{{{2}}}</div> |
</div> | </div> | ||
<div class="mw-collapsible-content" style="margin-bottom:2em;">{{{3}}} | <div class="mw-collapsible-content" style="margin-bottom:2em;">{{{3}}} | ||
Revision as of 19:00, 16 April 2018
{{{2}}}
{{{3}}}
[edit] Documentation
| Do Not Use. This template is scheduled to be merged with Template:FAQt. |
Usage
This is a collapsible section, based on divs. The show/hide is activated by clicking anywhere on the visible bar, and not on a [Show|Hide] "button". (It's not working very well, needs tinkering with.)
Parameters:
{{{1}}} - user-set id.
{{{2}}} - Visible Heading, centred.
{{{3}}} - The content to be hidden.
Example
{{FAQd
|my-id
|This is a Heading
|This is a great deal of content. Masses of it, in fact. It can even be a whole reference section.
}}
This is a Heading
This is a great deal of content. Masses of it, in fact. It can even be a whole reference section.