模版:Notes

<languages/> {{#switch:<translate></translate> | =

{{#if: {{#if:|{{{1}}}|{{#if:demo|demo|}} }} |

{{{1}}}
 | <translate> Note</translate> <translate> Note:</translate> }}

| #default=

 {{ 模板:TNTN
 |1={{#if:|}}
 |2=
 |demo=demo
 }}

}} {{ 模板:TNTN |content= <translate>

Usage

</translate>

{{note|Foo}}
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{tip|Foo}}
{{note}} <translate><!--T:6--> Loose test</translate>
{{tip}} <translate><!--T:7--> Loose test</translate>

模板:Note 模板:Note 模板:Note 模板:Note 模板:Tip 模板:Note <translate> Loose test</translate>

模板:Tip <translate> Loose test</translate>

<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>

}} [[Category:Templates{{#translation:}}|模版:Notes]]