Template:Dropdown header: Difference between revisions
No edit summary |
No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|<span class="mw-customtoggle-{{#replace:{{{Dropdown title|}}}| |_}}" style="font-size:20px !important; color:#0B0BEC !important; text-decoration:underline !important; display:inline-blue; font-weight:bold;">{{{Dropdown title|}}}</span> | |<span class="mw-customtoggle-{{#replace:{{{Dropdown title|}}}| |_}}" style="font-size:20px !important; color:#0B0BEC !important; text-decoration:underline !important; display:inline-blue; font-weight:bold;">{{{Dropdown title|}}}</span> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{#replace:{{{Dropdown title|}}}| |_}}" style="height:auto;"> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{#replace:{{{Dropdown title|}}}| |_}}" style="height:auto;"> | ||
<p><span class="mw-customtoggle-{{#replace:{{{Dropdown title|}}}| |_}}" style="color:#0B0BEC !important;font-size:small !important;float:left;">[hide]</span></p>|}} | <p><span class="mw-customtoggle-{{#replace:{{{Dropdown title|}}}| |_}}" style="color:#0B0BEC !important;font-size:small !important;float:left;">[hide]</span></p>|}}<br/> | ||
|<nowiki></nowiki>}} | |<nowiki></nowiki>}} | ||
<noinclude> | <noinclude> | ||
<!--{{#if: {{{Section title|}}}|{{#if: {{{Section title size|}}}|<h{{{Section title size}}}>{{{Section title}}}</h{{{Section title size}}}>|<p>{{{Section title}}}</p>}}|<nowiki></nowiki>}} | <!--{{#if: {{{Section title|}}}|{{#if: {{{Section title size|}}}|<h{{{Section title size}}}>{{{Section title}}}</h{{{Section title size}}}>|<p>{{{Section title}}}</p>}}|<nowiki></nowiki>}} | ||
Line 16: | 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>}} | ||
--> | --> | ||
== | == 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 <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> | ||
{{Dropdown| | {{Dropdown| | ||
Dropdown title=Birth| | Dropdown title=Birth| | ||
Dropdown text style=|}} | Dropdown text style=| | ||
{{Dropdown end}} | |||
< | </nowiki> | ||
[[Category:templates|{{PAGENAME}}]] | |||
</noinclude> | |||
Revision as of 22:53, 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=| {{Dropdown end}}