Template:Note/doc: Difference between revisions

From Danno's Rocket Wiki
No edit summary
m (Reverted edits by 193.164.156.12 (talk) to last revision by Legoktm)
Line 2: Line 2:
== Usage ==
== Usage ==
<pre>
<pre>
{{note|Foot}}
{{note|Foo}}
{{note|Foo|reminder}}
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|error}}
Line 10: Line 10:
{{tip}} Loose test
{{tip}} Loose test
</pre>
</pre>
{{note|Foot}}
{{note|Foo}}
{{note|Foo|reminder}}
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|error}}

Revision as of 09:09, 8 September 2016

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


<templatedata> { "params": { "1": { "type": "content" }, "2": {} }, "format": "inline" } </templatedata>

Heading text