Copyright (c) Hyperion Entertainment and contributors.

Template:Note: Difference between revisions

From AmigaOS Documentation Wiki
Jump to navigation Jump to search
Content deleted Content added
Creation of template Note
 
 
(4 intermediate revisions by one other user not shown)
Line 2: Line 2:
! {{{title|Note}}}
! {{{title|Note}}}
|-
|-
| {{{text|{{{1|No text was provided to the Note template}}}}}}
| {{{text}}}
|}<noinclude>
|}
<noinclude>
== Usage ==
== Usage ==
Draw a Notice box with the provided text. This box can have a customized title too, but by default it will be ''Note''.
Draw a Notice box with the provided text. This box can have a customized title too, but by default it will be ''Note''.
Sample:
<nowiki>{{Note|text=My long text that worth noticing!|title=My Custom title}}</nowiki>

Renders:
{{Note|text=My long text that worth noticing!|title=My Custom title}}

The template can also be used without naming the parameters, but in this case title can't be customized:
Sample:
<nowiki>{{Note|My long text that worth noticing!}}</nowiki>

Renders:
{{Note|My long text that's worth noticing!}}


{{Note|text=My long text that need noticing!|title=My Custom title}}
</noinclude>
</noinclude>

Latest revision as of 19:55, 12 July 2012

Note
No text was provided to the Note template

Usage

Draw a Notice box with the provided text. This box can have a customized title too, but by default it will be Note. Sample:

{{Note|text=My long text that worth noticing!|title=My Custom title}}

Renders:

My Custom title
My long text that worth noticing!

The template can also be used without naming the parameters, but in this case title can't be customized: Sample:

{{Note|My long text that worth noticing!}}

Renders:

Note
My long text that's worth noticing!