TemplateTests: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
m (Garryp moved page TutorialTemplateTests to TemplateTests: Removed "Tutorial" from name to stop page showing in searches for that keyword.)
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="background-color:red;color:white; font-size:18pt;padding:5pt;">This page is only for testing the Template:Tutorial* templates.</div>
{{UnderConstruction|This page is only for testing the tutorial templates. It's got no use other than that but it's a good place to see all of them at once.}}
{{AnnotationIcons}}
== Annotations ==
These can be used to give the reader a little bit more information related to the main text.
{{InlineAnnotation|note|This is a basic in-line annotation on its own line.}}
Or, if you want something different&hellip;
This line has an in-line annotation{{InlineAnnotation|info|'''in the middle of it'''}}which can come in useful.
Or, what about this&hellip;
{{InlineAnnotation|caution|An in-line annotation can have a border round it.|border}}
Or, how about&hellip;
The same goes for one {{InlineAnnotation|idea|that's within a line|border}} like this.
Just make sure you put a line of normal text between lines with in-line annotations on them. (I don't know why there's a problem otherwise.)
{{Annotation|experiment|This is a long <u>filled</u> annotation with a surrounding box. This can be used when you don't want the text to wrap to the start of the next line under the icon and annotation type text.|fill}}
Or...
{{Annotation2|tip|This is an unfilled annotation. It's like the other one but is has no background fill so it blends in with the text a bit more.}}


'''<u>Unboxed Templates</u>'''
== Callouts ==
These can be used to give the reader some extra information or to call attention to a specific concept.
[[File:under_construction_small.png|frame|Figure 8]]
{{Callout|idea|Callout|This is a Callout. It can be used to give the reader some extra information about a concept in the main text. Notice that it "gets out of the way" of any floated images on the right.}}


{{TutorialHelp}}This is a short HELP without the box.
== InfoBoxes ==
These can be used to give the reader some options to jump away to.


{{TutorialNote}}This is a short NOTE without the box.
Use a <nowiki>{{clear}}</nowiki> afterwards for the text to start on the next normal text line, if that's what you want.


{{TutorialTip}}This is a short TIP without the box.
{{InfoBox|3|First Subject|tutorial_template_infobox_example1.png|{{InlineAnnotation|info|Find out more about [[Subject]]}}|[[First Link]]<br />[[Second Link]]<br />[[Third Link]]}}
{{InfoBox|3|Second Thing|tutorial_template_infobox_example2.png|See more info on [[Things]]|If you just want to jump straight to it then choose from the list below:<br />[[First Link]]<br />[[Second Link]]<br />[[Third Link]]}}
{{InfoBox|3|Third Whatnot||This InfoBox has no image|[[First Link]]<br />[[Second Link]]<br />[[Third Link]]}}
{{clear}}


{{TutorialExperiment}}This is a short EXPERIMENT without the box.
== Menus ==
You can use these templates when telling the reader which menu choice to make.


{{TutorialCaution}}This is a short CAUTION without the box.
For instance, they can choose menu {{Menuitem|File}} &rarr; {{Menuitem|Open&hellip;}}


{{TutorialWarning}}This is a short WARNING without the box.
Or, they can right-click and choose {{Menuitem|Get Text&hellip;}} from the menu.


{{TutorialUrgent}}This is a short URGENT without the box.
== Menu Strings ==
You can use these templates when telling the reader which menu choice to make. They're easier to use than multiple Menuitems.


{{TutorialDanger}}This is a short DANGER without the box.
For instance, they can choose menu {{MenuString|File|Open&hellip;}}


{{TutorialStop}}This is a short STOP without the box.
== Buttons ==
You can use these templates to show when the reader should press a specific button.


'''<u>Boxed Templates</u>'''
For instance, they can click the {{Button|OK}} button.
Or, they can press {{Button|Finish}} to complete the process.


{{TutorialHelp|This is a boxed tutorial HELP. This is a long line of text to check that the text in the box flows to the left of the icon and title instead of going back to the start of the line again as it would if there wasn't a box.}}
== Windows ==
You can use these templates to show when the user should open, or go to, a particular window.


{{TutorialNote|This is a boxed tutorial NOTE. This is a long line of text to check that the text in the box flows to the left of the icon and title instead of going back to the start of the line again as it would if there wasn't a box.}}
Go to {{Window|Properties|icons}} &rang;&rang; {{Window|X, Y, Z}} and change the X and Y positions.
 
{{TutorialTip|This is a boxed tutorial TIP. This is a long line of text to check that the text in the box flows to the left of the icon and title instead of going back to the start of the line again as it would if there wasn't a box.}}
 
{{TutorialExperiment|This is a boxed tutorial EXPERIMENT. This is a long line of text to check that the text in the box flows to the left of the icon and title instead of going back to the start of the line again as it would if there wasn't a box.}}
 
{{TutorialCaution|This is a boxed tutorial CAUTION. This is a long line of text to check that the text in the box flows to the left of the icon and title instead of going back to the start of the line again as it would if there wasn't a box.}}
 
{{TutorialWarning|This is a boxed tutorial WARNING. This is a long line of text to check that the text in the box flows to the left of the icon and title instead of going back to the start of the line again as it would if there wasn't a box.}}
 
{{TutorialUrgent|This is a boxed tutorial URGENT. This is a long line of text to check that the text in the box flows to the left of the icon and title instead of going back to the start of the line again as it would if there wasn't a box.}}
 
{{TutorialDanger|This is a boxed tutorial DANGER. This is a long line of text to check that the text in the box flows to the left of the icon and title instead of going back to the start of the line again as it would if there wasn't a box.}}
 
{{TutorialStop|This is a boxed tutorial STOP. This is a long line of text to check that the text in the box flows to the left of the icon and title instead of going back to the start of the line again as it would if there wasn't a box.}}

Latest revision as of 12:33, 30 March 2015

Warning
Under Construction
This page is only for testing the tutorial templates. It's got no use other than that but it's a good place to see all of them at once.

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

Annotations

These can be used to give the reader a little bit more information related to the main text.

Warning
This is a basic in-line annotation on its own line.

Or, if you want something different…

This line has an in-line annotation

Warning
in the middle of it

which can come in useful.

Or, what about this…

Warning
An in-line annotation can have a border round it.

Or, how about…

The same goes for one

Warning
that's within a line

like this.

Just make sure you put a line of normal text between lines with in-line annotations on them. (I don't know why there's a problem otherwise.)

Warning
This is a long filled annotation with a surrounding box. This can be used when you don't want the text to wrap to the start of the next line under the icon and annotation type text.

Or... Template:Annotation2

Callouts

These can be used to give the reader some extra information or to call attention to a specific concept.

Figure 8
warning
Callout
This is a Callout. It can be used to give the reader some extra information about a concept in the main text. Notice that it "gets out of the way" of any floated images on the right.

InfoBoxes

These can be used to give the reader some options to jump away to.

Use a {{clear}} afterwards for the text to start on the next normal text line, if that's what you want.

First Subject
Second Thing
Tutorial template infobox example2.png
See more info on Things
If you just want to jump straight to it then choose from the list below:
First Link
Second Link
Third Link
Third Whatnot
This InfoBox has no image

Menus

You can use these templates when telling the reader which menu choice to make.

For instance, they can choose menu FileOpen…

Or, they can right-click and choose Get Text… from the menu.

Menu Strings

You can use these templates when telling the reader which menu choice to make. They're easier to use than multiple Menuitems.

For instance, they can choose menu FileOpen…

Buttons

You can use these templates to show when the reader should press a specific button.

For instance, they can click the OK button. Or, they can press Finish to complete the process.

Windows

You can use these templates to show when the user should open, or go to, a particular window.

Go to Tutorial template icon window.pngProperties ⟩⟩ X, Y, Z and change the X and Y positions.