Template:Dropdown header: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 22: Line 22:
{{Dropdown|
{{Dropdown|
   Dropdown title=Birth|
   Dropdown title=Birth|
   Dropdown text style=|
   Dropdown text style=|}}
{{Dropdown end}}
 
<!-- add code here that will be 'hidden' in the dropdown area -->
 
{{Dropdown end}}  <!-- call {{Dropdown end}} in order to close the dropdown area-->
</nowiki>
</nowiki>


[[Category:templates|{{PAGENAME}}]]
[[Category:templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 22:55, 10 June 2018


Purpose

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