Difference between revisions of "Template:Sidenotes begin"

From GATE
 
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}}}<!--
Line 13: Line 10:
 
         -->|both=padding-left:{{#if:{{{2|}}}|{{{2}}}em|6em}}; padding-right:{{#if:{{{2|}}}|{{{2}}}em|6em}};<!--
 
         -->|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>[[Category:Sidenotes templates]]
+
-->}}<noinclude>
 
+
[[Category:Sidenotes templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:03, 5 May 2021