Template:Note/doc: Difference between revisions

From Danno's Rocket Wiki
m (Reverted edits by 166.182.80.234 (talk) to last revision by Shirayuki)
No edit summary
Line 6: Line 6:
{{note|Foo|error}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{note|Foo|gotcha}}
{{tip|Foo}}
{{note}} Loose test
{{note}} Loose test
{{tip}} Loose test
 
</pre>
</pre>
{{note|Foo}}
{{note|Foo}}
Line 14: Line 13:
{{note|Foo|error}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{note|Foo|gotcha}}
{{tip|Foo}}
 
{{note}} Loose test
{{note}} Loose test


{{tip}} Loose test
 
<includeonly>
<includeonly>
<!-- Categories go here, and interwikis go here -->
<!-- Categories go here, and interwikis go here -->
{{languages}}
 
</includeonly>
</includeonly>

Revision as of 05:07, 16 November 2015

Template:Documentation subpage

Usage

{{note|Foo}}
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{note}} 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}}

}}

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