Template:Note: Difference between revisions
(prepare for translation) |
(Marked this version for translation) |
||
Line 16: | Line 16: | ||
{{ {{TNTN|documentation}} |content= | {{ {{TNTN|documentation}} |content= | ||
<translate> | <translate> | ||
== Usage == | == Usage == <!--T:3--> | ||
</translate> | </translate> | ||
<pre> | <pre> | ||
Line 32: | Line 32: | ||
{{note|Foo|gotcha}} | {{note|Foo|gotcha}} | ||
{{tip|Foo}} | {{tip|Foo}} | ||
{{note}} <translate>Loose test</translate> | {{note}} <translate><!--T:4--> Loose test</translate> | ||
{{tip}} <translate>Loose test</translate> | {{tip}} <translate><!--T:5--> Loose test</translate> | ||
<templatedata> | <templatedata> |
Revision as of 07:01, 24 January 2017
<languages/> {{#switch:<translate></translate> | =
{{#if: {{#if:|{{{1}}}|{{#if:demo|demo|}} }} |
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{ Template:TNTN |1= |2= |demo=demo }}
}} {{ Template:TNTN |content= <translate>
Usage
</translate>
{{note|Foo}} {{note|Foo|reminder}} {{note|Foo|error}} {{note|Foo|gotcha}} {{tip|Foo}} {{note}} Loose test {{tip}} Loose test
{{#switch:<translate></translate> | =
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} |
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{ Template:TNTN |1=Foo |2= |demo= }}
}} {{#switch:<translate></translate> | =
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} |
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{ Template:TNTN |1=Foo |2=reminder |demo= }}
}} {{#switch:<translate></translate> | =
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} |
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{ Template:TNTN |1=Foo |2=error |demo= }}
}} {{#switch:<translate></translate> | =
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} |
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{ Template:TNTN |1=Foo |2=gotcha |demo= }}
}} Template:Tip {{#switch:<translate></translate> | =
{{#if: {{#if:|{{{1}}}|{{#if:|demo|}} }} |
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{ Template:TNTN |1= |2= |demo= }}
}} <translate> Loose test</translate>
Template:Tip <translate> Loose test</translate>
<templatedata> { "params": { "1": { "type": "content" }, "2": {} }, "format": "inline" } </templatedata>
}} [[Category:TemplatesTemplate:Translation|Note]]