Difference between revisions of "Template:FAQd/doc"

From WikiCorporates
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Msgbox|type=content|text=Do Not Use. This template is scheduled to be merged with [[Template:FAQt]].}}
 
=== 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:
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>

Latest revision as of 21:48, 30 May 2020

Ambox important.svg 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.