Difference between revisions of "Template:Note"

From Nottinghack Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}|<div class="block-note"><span class="block-contents">}}[[Image:Bulbgraph.png|18px|Note|link=]] '''Note:''' {{#if: {{{1|}}}|{{{1}}}</span></div>}}</includeonly><noinclude>
+
{{#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>
 +
==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.
  
== Usage ==
+
=== Usage ===
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 34: Line 35:
 
|}
 
|}
  
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Templates highlighting and linking]]
 
</noinclude>
 
</noinclude>

Revision as of 14:42, 16 December 2018

Note 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 Note: This is a block note.

Text after

An inline note
Text before
{{note}} This is an inline note.
Text after

Text before Note Note: This is an inline note. Text after