Template:Note/doc: Difference between revisions
No edit summary |
m (Reverted edits by 166.182.80.234 (talk) to last revision by Shirayuki) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
== Usage == | |||
<pre> | |||
{{note|Foo}} | |||
{{note|Foo|reminder}} | |||
{{note|Foo|error}} | |||
{{note|Foo|gotcha}} | |||
{{tip|Foo}} | |||
{{note}} Loose test | |||
{{tip}} Loose test | |||
</pre> | |||
{{note|Foo}} | |||
{{note|Foo|reminder}} | |||
{{note|Foo|error}} | |||
{{note|Foo|gotcha}} | |||
{{tip|Foo}} | |||
{{note}} Loose test | |||
{{tip}} Loose test | |||
<includeonly> | |||
<!-- Categories go here, and interwikis go here --> | |||
{{languages}} | |||
</includeonly> |
Revision as of 17:14, 26 June 2015
Template:Documentation subpage
Usage
{{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|}} }} | <templatestyles src="Note/styles.css" />
Foo
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
}} {{#switch:<translate></translate> | =
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />
Foo
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
}} {{#switch:<translate></translate> | =
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />
Foo
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
}} {{#switch:<translate></translate> | =
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />
Foo
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
}} Template:Tip {{#switch:<translate></translate> | =
{{#if: {{#if:||{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />
{{{text}}}
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Note|noshift=1}}
}} Loose test
Template:Tip Loose test