Jump to content

Template:Cl-act-h

From Wikisource
(Redirected from User:JustinCB/cl-act-h)

This template was made as a replacement for cl-act-title, and it generates a side title using {{MarginNote}} and uses several of the {{cl-act-p}} arguments to put itself in the proper place. Test:

A test side note.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

A test side note.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Code for test:

<div style="margin-left:8em;margin-right:8em;">
{{cl-act-h||A test side note.}}{{lorem ipsum}}

{{cl-act-h|layout=left|title=A test side note.}}{{lorem ipsum}}
</div>