Template:ListItemContinue

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(indent a paragraph in a bullet list)
 
m (vertical spacing)
Line 1: Line 1:
style="margin-top:-5px; margin-left:{{{1|1.5}}}em"<noinclude>
+
style="margin-top:-2.5px; margin-left:{{{1|1.5}}}em"<noinclude>
 
----
 
----
 
;Purpose:
 
;Purpose:
Line 12: Line 12:
 
<div {{BoxWidthIndent|48|1}} >
 
<div {{BoxWidthIndent|48|1}} >
 
* Item 1
 
* Item 1
<div style="margin-top:-5px; margin-left:1.5em" >
+
<div style="margin-top:-2.5px; margin-left:1.5em" >
 
More about Item 1, using <code><nowiki>{{{</nowiki>ListItemContinue}}</code>
 
More about Item 1, using <code><nowiki>{{{</nowiki>ListItemContinue}}</code>
 
</div>
 
</div>
 
:* Item 1A
 
:* Item 1A
<div style="margin-top:-5px; margin-left:3.5em" >
+
<div style="margin-top:-2.5px; margin-left:3.5em" >
 
More about Item 1A, using <code><nowiki>{{{</nowiki>ListItemContinue|3.5}}</code>
 
More about Item 1A, using <code><nowiki>{{{</nowiki>ListItemContinue|3.5}}</code>
 
</div>
 
</div>
 
* Item 2
 
* Item 2
<div style="margin-top:-5px; margin-left:1.5em" >
+
<div style="margin-top:-2.5px; margin-left:1.5em" >
 
More about Item 2, using <code><nowiki>{{{</nowiki>ListItemContinue}}</code>
 
More about Item 2, using <code><nowiki>{{{</nowiki>ListItemContinue}}</code>
 
</div>
 
</div>
</div>
 
 
;Example 2 &ndash; Definition list:
 
:An indented paragraph
 
<div style="margin-top:-5px; margin-left:2em" >
 
Paragraph indented with <code><nowiki>{{{</nowiki>ListItemContinue|2}}</code> &ndash; note tight vertical spacing.
 
</div>
 
:A paragraph indented normally with '''<code>:</code>''' &ndash; note wider vertical spacing.
 
<div style="margin-top:-5px; margin-left:2em" >
 
Another paragraph indented with <code><nowiki>{{{</nowiki>ListItemContinue|2}}</code>.
 
 
</div>
 
</div>
  

Revision as of 16:24, 31 January 2016

style="margin-top:-2.5px; margin-left:1.5em"


Purpose
add a new paragraph in a bullet list, indented evenly with the list item above it.
Syntax
Use this template as the style attrribute of a <div> element
Parameter 1 is the indentation in character-width (CSS em) units.
(decimal values are allowed, but trailing spaces eg, |1.5 }} will create invalid CSS)
Example 1 – Bullet List
  • Item 1

More about Item 1, using {{{ListItemContinue}}

  • Item 1A

More about Item 1A, using {{{ListItemContinue|3.5}}

  • Item 2

More about Item 2, using {{{ListItemContinue}}

Personal tools