Difference between revisions of "Template:FAQd/doc"

From WikiCorporates
Jump to navigation Jump to search
m
m (→‎Usage)
Line 1: Line 1:
 
=== Usage ===
 
=== Usage ===
  
−
This is a collapsible section, based on divs. The show/hide is activated by clicking on the visible heading, and not on a [Show|Hide] "button". (''It's not working very well, needs tinkering with.'')
+
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:
 
Parameters:

Revision as of 19:03, 16 April 2018

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.