Template:Note: Difference between revisions
Jump to navigation
Jump to search
better cat |
No edit summary |
||
Line 1: | Line 1: | ||
{{#if: {{{1|}}}|<div class="block-note"><span class="block-contents">}}[[Image:Bulbgraph.png|18px|Note|link=]] '''Note:''' {{#if: {{{1|}}}|{{{1}}}</span></div>}}<includeonly></includeonly><noinclude> | {{#if: {{{1|}}}|<div class="block-note"><span class="block-contents">}}[[Image:Bulbgraph.png|18px|Note|link=]] {{#ifeq:important|yes|'''Important note:'''|'''Note:'''}} {{#if: {{{1|}}}|{{{1}}}</span></div>}}<includeonly></includeonly><noinclude> | ||
==Documentation== | ==Documentation== | ||
This template inserts a note with a decorative icon into a wiki page. | This template inserts a note with a decorative icon into a wiki page. | ||
Line 34: | Line 34: | ||
Text after | Text after | ||
|} | |} | ||
==Parameters== | |||
;important | |||
If equals 'yes' adds '''Important''' to text. | |||
[[Category:Templates highlighting]] | [[Category:Templates highlighting]] | ||
</noinclude> | </noinclude> |
Revision as of 13:20, 26 August 2019
Note:
Documentation
This template inserts a note with a decorative icon into a wiki page.
Usage
Description | You type | You get |
---|---|---|
A block-level note |
Text before {{note|This is a block note.}} Text after |
Text before Note: This is a block note.
Text after |
An inline note |
Text before {{note}} This is an inline note. Text after |
Text before Note: This is an inline note. Text after |
Parameters
- important
If equals 'yes' adds Important to text.