Jump to content

Template:Dropdown: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
{{#if: {{{Page title|}}}|{{Page header|Page title={{{Page title|}}}|}}|<nowiki></nowiki>}}
{{#if: {{{Page title|}}}|{{Page header|Page title={{{Page title|}}}|}}|<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>}}
{{#if: {{{Section title|}}}|{{#if: {{{Section title size|}}}|<h{{{Section title size}}}>{{{Section title}}}</h{{{Section title size}}}>|<p>{{{Section title}}}</p>}}|<nowiki></nowiki>}}
{{#if: {{{Page text|}}}|{{#if: {{{Page text size|}}}|<h{{{Page text size}}}>{{{Page text}}}</h{{{Page text size}}}>|<p>{{{Page text|}}}</p>|<nowiki></nowiki>}}
{{#if: {{{Page text|}}}|{{#if: {{{Page text size|}}}|<h{{{Page text size}}}>{{{Page text}}}</h{{{Page text size}}}>|<p>{{{Page text|}}}</p>}}|<nowiki></nowiki>}}
{{#if: {{{Section text|}}}|{{#if: {{{Section text size|}}}|<h{{{Section text size}}}>{{{Section text}}}</h{{{Section text size}}}>|<p>{{{Section text|}}}</p>|<nowiki></nowiki>}}
{{#if: {{{Section text|}}}|{{#if: {{{Section text size|}}}|<h{{{Section text size}}}>{{{Section text}}}</h{{{Section text size}}}>|<p>{{{Section 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>}}-->
<!--{{#if: {{{Begin text|}}}|{{#if: {{{Begin text size|}}}|<h{{{Begin text size}}}>{{{Begin text}}}</h{{{Begin text size}}}>|<p>{{{Begin text|}}}</p>}}|<nowiki></nowiki>}}-->
{{#if: {{{Page image|}}}|{{{Page image|}}}|<nowiki></nowiki>}}
{{#if: {{{Page image|}}}|{{{Page image|}}}|<nowiki></nowiki>}}
<!-- The following code is designed to eliminate duplicate naming of dropdown headings, since duplicate headings means that when one heading is clicked, all dropdown headings with the same title will open.  An example would be having a title like '1800-1900' under a dropdown of Birth, Marriage and Death.  When '1800-1900' is selected, all three areas will open up, even though they may still be hidden in the different dropdown areas.  In order to fix this, the 'Previous dropdown title', such as 'Birth', 'Marriage', or 'Death', should be added to the Dropdown call of each '1800-1900' section in order to avoid this issue. -->
<!-- The following code is designed to eliminate duplicate naming of dropdown headings, since duplicate headings means that when one heading is clicked, all dropdown headings with the same title will open.  An example would be having a title like '1800-1900' under a dropdown of Birth, Marriage and Death.  When '1800-1900' is selected, all three areas will open up, even though they may still be hidden in the different dropdown areas.  In order to fix this, the 'Previous dropdown title', such as 'Birth', 'Marriage', or 'Death', should be added to the Dropdown call of each '1800-1900' section in order to avoid this issue. -->
Line 15: Line 15:
<p><span class="mw-customtoggle-{{#replace:{{{Dropdown title|}}}| |_}}" style="color:#0B0BEC;font-size:small;float:right;">[hide]</span></p>|}}<br/>
<p><span class="mw-customtoggle-{{#replace:{{{Dropdown title|}}}| |_}}" style="color:#0B0BEC;font-size:small;float:right;">[hide]</span></p>|}}<br/>
|<nowiki></nowiki>}}
|<nowiki></nowiki>}}
{{#if: {{{Begin text|}}}|<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>}}
<noinclude>
<noinclude>


2,664

edits