Template:Dropdown header: Difference between revisions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
{{#if: {{{Begin text|}}}|{{#if: {{{Begin text size|}}}|<h{{{Begin text size}}}>{{{Begin text}}}</h{{{Begin text size}}}>|<p>{{{Begin text|}}}</p>}}|<nowiki></nowiki>}} | {{#if: {{{Begin text|}}}|{{#if: {{{Begin text size|}}}|<h{{{Begin text size}}}>{{{Begin text}}}</h{{{Begin text size}}}>|<p>{{{Begin text|}}}</p>}}|<nowiki></nowiki>}} | ||
--> | --> | ||
== | == 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 <nowiki>{{Dropdown end}}</nowiki>. | 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 <nowiki>{{Dropdown end}}</nowiki>. | ||
<nowiki> | <nowiki> |
Revision as of 00:51, 11 June 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-->