Difference between revisions of "Template:FAQd/doc"

From WikiCorporates
Jump to navigation Jump to search
m (→‎Usage)
Line 1: Line 1:
 +
 
=== Usage ===
 
=== Usage ===
  
Line 19: Line 20:
 
</pre>
 
</pre>
 
{{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.}}
 
{{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.}}
−
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
+
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

Revision as of 21:45, 30 May 2020

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.