Template:Note/doc: Difference between revisions

From Danno's Rocket Wiki
No edit summary
(Undo revision 1939769 by 193.34.40.30 (talk))
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 13: Line 14:
{{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:08, 16 November 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