Template:Aside: Difference between revisions

From Post-Self
m (Finish template.)
m (Typo)
Line 19: Line 19:
<code><nowiki>{{Aside|Lorem ipsum...|Test Heading|color=00AA44|float=left}}</nowiki></code>
<code><nowiki>{{Aside|Lorem ipsum...|Test Heading|color=00AA44|float=left}}</nowiki></code>
----
----
{{Aside|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Sociis natoque penatibus et magnis.|Test Heading|float=left|color=00AA44|float=left}}
{{Aside|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Sociis natoque penatibus et magnis.|Test Heading|color=00AA44|float=left}}

Revision as of 19:42, 3 February 2024


Usage

This template sets its content to one side of the article in a colorable box.

{{Aside | <content> | <heading> | color = RRGGBB | float = left }}

Only content is required. All other parameters are optional.

Examples

Minimal

{{Aside|This is some test text.}}


This is some test text.

Optional Parameters

{{Aside|Lorem ipsum...|Test Heading|color=00AA44|float=left}}


Test Heading
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Sociis natoque penatibus et magnis.