Template:Dropdown header: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 27: Line 27:
{{Dropdown end}}  <!-- call {{Dropdown end}} in order to close the dropdown area-->
{{Dropdown end}}  <!-- call {{Dropdown end}} in order to close the dropdown area-->
</nowiki></noinclude>
</nowiki></noinclude>
<noinclude>[[Category:Templates|Guided Research]][[Category:Guided Research]][[Category:Guided Research Templates]]</noinclude>
<noinclude>[[Category:Templates|Guided Research]][[Category:Guided Research]]</noinclude>

Revision as of 13:11, 28 May 2019

Usage

This template is used to create a hidden dropdown area that becomes visible after the user selects a keyword on the page. The most important thing to remember is that every time this template is used, make sure to also close the dropdown area by adding a call to {{Dropdown end}}.

{{Dropdown|
  Dropdown title=Birth|
  Dropdown text style=|}}

<!-- add code here that will be 'hidden' in the dropdown area -->

{{Dropdown end}}  <!-- call {{Dropdown end}} in order to close the dropdown area-->