Template:Dropdown header: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 29: Line 29:
</nowiki>
</nowiki>
</noinclude>
</noinclude>
<noinclude>[[Category:templates|{{PAGENAME}}]][[Category:Guided Research]]</noinclude>
<noinclude>[[Category:Templates|Guided Research]][[Category:Guided Research]]</noinclude>

Revision as of 16:47, 30 November 2018


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-->