Template:Callout: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
(Replaced entirely by new version.)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="border: solid 1px #787878; background-color: #ebebeb; border-radius: 4px; padding: 0px; margin: 0px; overflow: auto;"><div style="color: #ffffff; background-color: #787878; padding:8px 0px 4px 0px; border-top-left-radius: 2px; border-top-right-radius: 2px;"><div style="float: left; width: 48px; padding: 0px 8px 0px 8px;">[[File:Tutorial_template_icon_{{{1|idea}}}.png|warning|link=]]</div><div style="font-weight: lighter; margin-left: 48px; font-size: larger; letter-spacing: 1px; text-transform: uppercase;">{{{2}}}</div></div><div><div style="float: left; width: 48px;"></div><div style="margin-left: 56px; padding: 8px 16px 8px 8px;">{{{3}}}</div></div></div></includeonly><!---
<includeonly><div style="padding-bottom: 4px; margin-bottom: 4px;"><div style="border: solid 1px #787878; background-color: #ebebeb; border-radius: 4px; padding: 0px; margin: 0px; overflow: auto;"><div style="color: #ffffff; background-color: #787878; padding:8px 0px 4px 0px; border-top-left-radius: 2px; border-top-right-radius: 2px;"><div style="float: left; width: 48px; padding: 0px 8px 0px 8px;">[[File:Tutorial_template_icon_{{{1|idea}}}.png|warning|link=]]</div><div style="font-weight: lighter; margin-left: 48px; font-size: larger; letter-spacing: 1px; text-transform: uppercase;">{{{2}}}</div></div><div><div style="float: left; width: 48px;"></div><div style="margin-left: 56px; padding: 8px 16px 8px 8px;">{{{3}}}</div></div></div><div></includeonly><!---
---><noinclude>
---><noinclude>
{{AnnotationIcons}}
{{AnnotationIcons}}
== Example ==
== Example ==
{{Callout2|idea|Idea|This first parameter says which icon to use. The second parameter is the text for the title. The third parameter is the main text.}}
{{Callout|idea|Idea|This first parameter says which icon to use. The second parameter is the text for the title. The third parameter is the main text.}}
</noinclude>
</noinclude>

Latest revision as of 09:20, 13 March 2015

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

Example

warning
Idea
This first parameter says which icon to use. The second parameter is the text for the title. The third parameter is the main text.