Difference between revisions of "Template:CreateFormHeader"

From OPENRESEARCH integration copy Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> This template creates a header tab which is collapsible and can be used above collapsible content. Provides a Header and the information of the header. If the coll...")
 
Line 3: Line 3:
 
You can use it like this:  
 
You can use it like this:  
 
<pre> {{CreateFormHeader|General Information| Includes all the field with general information of the Event. This does include some mandatory fields}}</pre>
 
<pre> {{CreateFormHeader|General Information| Includes all the field with general information of the Event. This does include some mandatory fields}}</pre>
For the content to be collapsed at start use: <
+
For the content to be collapsed at start use:  
 
<pre>{{CreateFormHeader|General Information| Includes all the field with general information of the Event. This does include some mandatory fields|mw-collapsed}}</pre>
 
<pre>{{CreateFormHeader|General Information| Includes all the field with general information of the Event. This does include some mandatory fields|mw-collapsed}}</pre>
 +
Demo Run:
 +
{{CreateFormHeader|General Information| Includes all the field with general information of the Event. This does include some mandatory fields|mw-collapsed}}
 +
<div class="mw-collapsible-content">
 +
Test Run Successfull
 +
</div>
 +
</div>
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<div id="collapse-pre-one" class="mw-collapsible {{{3}}}">
 
<div id="collapse-pre-one" class="mw-collapsible {{{3}}}">

Revision as of 03:03, 24 March 2021

This template creates a header tab which is collapsible and can be used above collapsible content. Provides a Header and the information of the header. If the collapsible content has to be in collapsed state at the start a 3rd argument 'mw-collapsed' can be given You can use it like this:

 {{CreateFormHeader|General Information| Includes all the field with general information of the Event. This does include some mandatory fields}}

For the content to be collapsed at start use:

{{CreateFormHeader|General Information| Includes all the field with general information of the Event. This does include some mandatory fields|mw-collapsed}}

Demo Run:

General Information
Includes all the field with general information of the Event. This does include some mandatory fields
Right-black-arrow.png

Test Run Successfull