Difference between revisions of "Template:Sidenotes begin"

From GATE
en>Inductiveload
(remove dummy div ({{sidenotes end}} will be updated too))
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACE}}|Page|<div <!--
+
{{#ifeq:{{NAMESPACE}}|Page|<div <!--
 
 
 
Add classes
 
Add classes
 
-->class="_sidenote_container _sidenote_{{{side|both}}}" <!--
 
-->class="_sidenote_container _sidenote_{{{side|both}}}" <!--
 
 
Add container styles (could use TemplateStyles for most of this)
 
Add container styles (could use TemplateStyles for most of this)
 
-->style="position:relative; text-align:{{{align|justify}}};<!--
 
-->style="position:relative; text-align:{{{align|justify}}};<!--
 
 
     Add the padding for the sidenotes on the requested sides
 
     Add the padding for the sidenotes on the requested sides
 
     --> {{#switch:{{{side|both}}}<!--
 
     --> {{#switch:{{{side|both}}}<!--
         -->|left=padding-left:{{#if:{{{2|}}}|{{{2}}}em|11em}};<!--
+
         -->|left=padding-left:{{#if:{{{2|}}}|{{{2}}}em|6em}};<!--
         -->|right=padding-right:{{#if:{{{2|}}}|{{{2}}}em|11em}};<!--
+
         -->|right=padding-right:{{#if:{{{2|}}}|{{{2}}}em|6em}};<!--
         -->|both=padding-left:{{#if:{{{2|}}}|{{{2}}}em|11em}}; padding-right:{{#if:{{{2|}}}|{{{2}}}em|11em}};<!--
+
         -->|both=padding-left:{{#if:{{{2|}}}|{{{2}}}em|6em}}; padding-right:{{#if:{{{2|}}}|{{{2}}}em|6em}};<!--
 
     -->|}}<!--
 
     -->|}}<!--
 
 
End style
 
End style
 
-->"><!--
 
-->"><!--
 
 
End if:page-ns
 
End if:page-ns
-->}}</includeonly><noinclude>
+
-->}}<noinclude>
{{documentation}}
+
[[Category:Sidenotes templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:03, 5 May 2021