Template:Annotation: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
m (Removed references to Annotation2.)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly><div style="padding-bottom: 4px"><div style="border: solid 1px {{#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}}; border-left: solid 10px {{#switch: {{{1}}} | note = #D3A12A | info = #64A2E7 | help = #696CC3 | tip = #CEEF76 | experiment = #9FD361 | development = #F28D48 | caution = #DD3745 | technical = #99A6AD | recovery = #DD656B | warning = #F2C327 | urgent = #000000 | danger = #000000 | stop = #4DA9D1 | idea = #F5C569 | #D3A12A}}; border-radius: 4px; padding: 0px; margin: 0px; overflow: auto;{{#if: {{{3|}}}|background-color: {{#switch: {{{1}}} | note = #F2DEA9 | idea = #F2DEA9 | info = #B3D1EF | help = #B8BCED | tip = #E1F4AB | experiment = #D7EDAA | development = #F4CDA8 | caution = #ED939A | technical = #C7C8C9 | recovery = #EA9DA1 | warning = #F7E694 | danger = #A0A0A0 | stop = #90D2ED | idea = #F5E589 | #F2DEA9}}}}"><div style="border-radius: inherit;"><div style="float: left; width: 48px; border-top-left-radius: 4px; border-bottom-left-radius: 4px; padding: 8px 8px 8px 8px;">[[File:tutorial_template_icon_{{{1|note}}}.png|Warning|link=]]</div><div style="padding: 8px; margin-left: 60px;">{{{2}}}</div></div></div></div></includeonly><!--
'''Annotation Template'''
--><noinclude>== Annotation Template ==
This is a work in progress. Don't use it yet.
This template is currently being tested only on the Tutorials.
</noinclude>
You can use it if you want to but you might notice some changes you didn't expect.
{{#if: {{{2|}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent; margin-top:0.5em;border:1px {{#switch: {{{1}}} | note = #D4D36D | info | help = #6DBCD4 | tip | experiment = #6DD480 | development | caution = #D49C6D | warning | urgent| danger = #D46D6D | stop = #6D7DD4 | #D4D36D}} solid;padding:0.5em;background-color: {{#switch: {{{1}}} | note = #F4F38D | info | help = #8DDCF4 | tip | experiment = #8DF4A0 | development | caution = #F4BC8D | warning | urgent| danger = #F48D8D | stop = #8D9DF4 | #F4F38D}}"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:tutorial_template_icon_{{{1|note}}}.png|32px|Warning|link=]]</span> '''{{#switch: {{{1}}} | note = Note: | info = Info: | help = Help: | tip = Tip: | experiment = Experiment: | development = Development: | caution = CAUTION: | warning = WARNING: | urgent = URGENT: | danger = DANGER: | stop = STOP: | Note:}}''' {{#if: {{{2|}}}|</td><td valign="top" style="padding-left:0.5em;">{{{2|}}}</td></tr></table>}}
{{AnnotationIcons}}
<noinclude>
== Examples ==
{{Annotation}}Basic annotation.
=== Note ===
{{Annotation|note}}Basic note.
A note can be used to give the reader a little more information about what's going on.
{{Annotation|info}}Basic info.
 
{{Annotation|help}}Basic help.
{{Annotation|note|This is a short note but notice that the box always fills the space available.}}
{{Annotation|tip}}Basic tip.
Or you can have the same thing but filled&hellip;
{{Annotation|experiment}}Basic experiment.
{{Annotation|note|This is a long <u>filled</u> note. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
{{Annotation|development}}Basic development.
 
{{Annotation|caution}}Basic caution.
=== Idea ===
{{Annotation|warning}}Basic warning.
An idea can be given to give the read a bit more info.
{{Annotation|urgent}}Basic urgent.
 
{{Annotation|danger}}Basic danger.
{{Annotation|idea|This is a long idea. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|stop}}Basic stop.
Or you can have the same thing but filled&hellip;
{{Annotation|idea|This is a long <u>filled</u> idea. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
 
=== Info ===
An info can be used to expand a little on what the reader has just read.


{{Annotation|note|This is a long note. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|info|This is a long info. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|info|This is a long info. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|help|This is a long help. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
Or you can have the same thing but filled&hellip;
{{Annotation|info|This is a long <u>filled</u> info. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
 
=== Tip ===
A tip can be given to show the reader that there's a quicker way of doing something.
 
{{Annotation|tip|This is a long tip. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|tip|This is a long tip. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
Or you can have the same thing but filled&hellip;
{{Annotation|tip|This is a long <u>filled</u> tip. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
=== Experiment ===
An experiment can be used to coax the reader into trying something slightly different for themselves.
{{Annotation|experiment|This is a long experiment. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|experiment|This is a long experiment. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
Or you can have the same thing but filled&hellip;
{{Annotation|experiment|This is a long <u>filled</u> experiment. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
=== Development ===
A development can be added for readers who want to try the development version.
{{Annotation|development|This is a long development. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|development|This is a long development. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
Or you can have the same thing but filled&hellip;
{{Annotation|development|This is a long <u>filled</u> development. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
=== Caution ===
A caution can be given if what the reader is going to do next might cause some concern.
{{Annotation|caution|This is a long caution. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|caution|This is a long caution. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
Or you can have the same thing but filled&hellip;
{{Annotation|caution|This is a long <u>filled</u> caution. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
=== Technical ===
A technical can be given to tell the reader that what comes next might be beyond the "average" reader.
{{Annotation|technical|This is a long technical. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
Or you can have the same thing but filled&hellip;
{{Annotation|technical|This is a long <u>filled</u> technical. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
=== Recovery ===
A recovery can be given telling the reader how to recover from something they might have done by mistake.
{{Annotation|recovery|This is a long recovery. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
Or you can have the same thing but filled&hellip;
{{Annotation|recovery|This is a long <u>filled</u> recovery. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
=== Warning ===
A warning can be given if what the reader is going to do next might have bad consequences.
{{Annotation|warning|This is a long warning. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|warning|This is a long warning. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|urgent|This is a long urgent. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
Or you can have the same thing but filled&hellip;
{{Annotation|warning|This is a long <u>filled</u> warning. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
 
=== Danger ===
A danger can be given if the reader is about to do something that might change something permanently.
 
{{Annotation|danger|This is a long danger. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|danger|This is a long danger. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
Or you can have the same thing but filled&hellip;
{{Annotation|danger|This is a long <u>filled</u> danger. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
=== Stop ===
A stop can be shown when the reader has got to a point in the article where they don't need to continue, for whatever reason.
{{Annotation|stop|This is a long stop. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
{{Annotation|stop|This is a long stop. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.}}
Or you can have the same thing but filled&hellip;
{{Annotation|stop|This is a long <u>filled</u> stop. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.|fill}}
</noinclude>
</noinclude>

Latest revision as of 13:06, 13 February 2015

Annotation Template

This template is currently being tested only on the Tutorials. You can use it if you want to but you might notice some changes you didn't expect.

List of Valid Annotation and Callout Icons

Warning
is for a note
Warning
is for an idea
Warning
is for an info
Warning
is for a tip
Warning
is for an experiment
Warning
is for development
Warning
is for a caution
Warning
is for technical
Warning
is for recovery
Warning
is for a warning
Warning
is for danger
Warning
is for stop

Examples

Note

A note can be used to give the reader a little more information about what's going on.

Warning
This is a short note but notice that the box always fills the space available.

Or you can have the same thing but filled…

Warning
This is a long filled note. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Idea

An idea can be given to give the read a bit more info.

Warning
This is a long idea. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled idea. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Info

An info can be used to expand a little on what the reader has just read.

Warning
This is a long info. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled info. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Tip

A tip can be given to show the reader that there's a quicker way of doing something.

Warning
This is a long tip. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled tip. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Experiment

An experiment can be used to coax the reader into trying something slightly different for themselves.

Warning
This is a long experiment. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled experiment. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Development

A development can be added for readers who want to try the development version.

Warning
This is a long development. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled development. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Caution

A caution can be given if what the reader is going to do next might cause some concern.

Warning
This is a long caution. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled caution. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Technical

A technical can be given to tell the reader that what comes next might be beyond the "average" reader.

Warning
This is a long technical. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled technical. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Recovery

A recovery can be given telling the reader how to recover from something they might have done by mistake.

Warning
This is a long recovery. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled recovery. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Warning

A warning can be given if what the reader is going to do next might have bad consequences.

Warning
This is a long warning. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled warning. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Danger

A danger can be given if the reader is about to do something that might change something permanently.

Warning
This is a long danger. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled danger. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Stop

A stop can be shown when the reader has got to a point in the article where they don't need to continue, for whatever reason.

Warning
This is a long stop. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.

Or you can have the same thing but filled…

Warning
This is a long filled stop. It should be in a box so this text is quite long to show that it wraps properly across the page without going under the icon because that would look sloppy.