Template:SBEfloat/doc

From Wikisource
Jump to navigation Jump to search

Usage

[edit]

Takes single parameter: the text within the box. Creates a {{float box}} with a size approximating that of such boxes in the introductory chapters in Sacred Books of the East. Suggested use is within both {{main other}} and {{page other}} so that respectively the text appears on transcluded pages as headings preceding the paragraph (semantic) and set within the paragraphs on the pages themselves, as in the text (aesthetic; and sometimes these are put off till the page after a topic is introduced!). May need a {{clear}} or equivalent to prevent collision between successive boxes.

{{SBEfloat|Lorem ipsum.}}{{lorem ipsum}}

Lorem ipsum.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.