Template:Aside: Difference between revisions
Fireheart& (talk | contribs) m (Add 'center' option.) |
Fireheart& (talk | contribs) m (Remove debugging stuff.) |
||
Line 19: | Line 19: | ||
<code><nowiki>{{Aside|Lorem ipsum...|Test Heading|color=00AA44|float=center}}</nowiki></code> | <code><nowiki>{{Aside|Lorem ipsum...|Test Heading|color=00AA44|float=center}}</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|color=00AA44|float=center}} | {{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=center}} |
Latest revision as of 05:52, 7 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=center}}
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.