Copyright (c) Hyperion Entertainment and contributors.
Difference between revisions of "Template:Note"
Jump to navigation
Jump to search
(→Usage: Corrected usage documentation) |
|||
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: |
Sample: |
||
− | <nowiki>{{Note| |
+ | <nowiki>{{Note|My long text that worth noticing!}}</nowiki> |
Renders: |
Renders: |
||
− | {{Note| |
+ | {{Note|My long text that worth noticing!}} |
+ | |||
</noinclude> |
</noinclude> |
Revision as of 10:50, 11 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 worth noticing! |