Template:Note: Difference between revisions

From CommunityData
(Created page with "<languages/> <onlyinclude>{{#switch: | = {{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <div role="note" class="note note-{{#switch:{{...")
 
No edit summary
 
Line 1: Line 1:
<languages/>
<onlyinclude>{{#switch:
<onlyinclude>{{#switch:
| =
| =
Line 15: Line 14:
   }}
   }}
}}</onlyinclude>
}}</onlyinclude>
{{ {{TNTN|documentation}} |content=
 
== Usage ==
== Usage ==
<pre>
<pre>
{{note|Foo}}
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{tip|Foo}}
{{note}} Loose test
{{note}} Loose test
{{tip}} Loose test
</pre>
</pre>
{{note|Foo}}
 
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{tip|Foo}}
{{note}} Loose test
{{note}} Loose test
{{tip}} Loose test
<templatedata>
{
"params": {
"1": {
"type": "content",
"label": "Text",
"required": true
},
"2": {
"label": "Type",
"description": "'reminder', 'error', 'gotcha' or nothing. Will affect formatting.",
"type": "string"
}
},
"format": "inline",
"description": "Show a note in a box (e.g. a top-of-the-page warning)."
}
</templatedata>
}}

Latest revision as of 07:57, 13 May 2018

{{{1}}}

Usage[edit]

{{note}} Loose test

Note Note: Loose test