Template:InlineAnnotation: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="border: solid 1px; border-radius: 4px; display: inline-block; padding: 4px;"><div style="float: left; width: 32px;">[[File:tutorial_template_icon_{{{1|note}}}.png|Warning|32px|link=]]</div><div style="padding-top: 0.5em; padding-right: 4px; margin-left: 38px;">{{{2}}}</div></div></includeonly>
<includeonly><div style="border-radius: 4px; display: inline-block; padding: 4px; {{#if: {{{3|}}}|border: 1px solid {{#switch: {{{1}}} | note = #D3A12A | idea = #D3A12A | info = #64A2E7 | help = #696CC3 | tip = #CEEF76 | experiment = #9FD361 | development = #F28D48 | caution = #DD3745 | technical = #99A6AD | recovery = #DD656B | warning = #F2C327 | danger = #000000 | stop = #4DA9D1 | idea = #F5C569 | #D3A12A}}}}"><div style="float: left; width: 32px;">[[File:tutorial_template_icon_{{{1|note}}}.png|Warning|32px|link=]]</div><div style="padding-top: 0.5em; padding-right: 4px; margin-left: 38px;">{{{2}}}</div></div></includeonly>
<noinclude>
<noinclude>
This is some text.
This is some text.

Revision as of 15:06, 11 February 2015


This is some text.

This is some text with a note:

Warning
Hello there.

This is some more text.

Warning
Inline annotation on it's own line.

More text.

Warning
This is a really long annotation to check that the text doesn't wrap around under the icon at the start of the annotation. You probably wouldn't do this in real life.

Yet more text.