Template:Note

From PS:1 Wiki Dev
Jump to navigationJump to search

<languages/>

{{#if: demo |

{{#ifeq:|1|{{{text}}}| {{{text}}}}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#ifeq: Note | sandbox |

Template:Template sandbox notice }}{{documentation/start box{{#if: |/}} | preload = | heading = ¬ | heading-style = | content = <translate>

Usage

</translate>

{{Note|text=Foo}}
{{Note|type=info|text=Foo}}
{{Note|type=reminder|text=Foo}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} <translate nowrap><!--T:6--> Loose test</translate>

* Text {{Note|inline=1|text=Foo}}
{{#if: Foo |
{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}
{{#if: Foo |
{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}
{{#if: Foo |
{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}
{{#if: Multiple
lines
of
text |
{{#ifeq:|1|Multiple
lines
of
text| Multiple
lines
of
text}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: * Multiple paragraphs.

Of text. |
{{#ifeq:|1|* Multiple paragraphs.

Of text.|

  • Multiple paragraphs.
Of text.}}
 | <translate> Note</translate> <translate> Note:</translate> }}
{{#if: Foo |
{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}
{{#if: Foo |
{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}
{{#if: |
{{#ifeq:|1|{{{text}}}| {{{text}}}}}
 | <translate> Note</translate> <translate> Note:</translate> }} <translate> Loose test</translate>
  • Text {{#if: Foo |
    {{#ifeq:1|1|Foo|
Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

Parameters

Template:Note/doc

See also

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |... }}}}, shortcut for this template with type=warning.

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |... }}}}, and in particular the namespace-agnostic {{ombox{{#if:| |{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |... }}}}, which by default resembles a typical "info" template.

| docpage =

 {{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Note | sandbox | testcases = Note | #default = Note }}/doc

 }}

| doc exist =

 {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Note | sandbox | testcases = Note | #default = Note }}/doc

   }}
 | yes
 }}

}} {{#switch: {{#if:<translate>

Usage

</translate>

{{Note|text=Foo}}
{{Note|type=info|text=Foo}}
{{Note|type=reminder|text=Foo}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} <translate nowrap><!--T:6--> Loose test</translate>

* Text {{Note|inline=1|text=Foo}}

{{#if: Foo |

{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: Foo |

{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: Foo |

{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: Multiple
lines
of
text |

{{#ifeq:|1|Multiple
lines
of
text| Multiple
lines
of
text}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: * Multiple paragraphs.

Of text. |

{{#ifeq:|1|* Multiple paragraphs.

Of text.|

  • Multiple paragraphs.
Of text.}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: Foo |

{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: Foo |

{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: |

{{#ifeq:|1|{{{text}}}| {{{text}}}}}
 | <translate> Note</translate> <translate> Note:</translate> }} <translate> Loose test</translate>
  • Text {{#if: Foo |
    {{#ifeq:1|1|Foo|

Foo}}

 | <translate> Note</translate> <translate> Note:</translate> }}

Parameters

Template:Note/doc

See also

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |... }}}}, shortcut for this template with type=warning.

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |... }}}}, and in particular the namespace-agnostic {{ombox{{#if:| |{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |... }}}}, which by default resembles a typical "info" template.|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: Template

 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Note | sandbox | testcases = Note | #default = Note }}/doc|1|0}} | 0000 | 0100 | 0010 | 0101 = | 0001 | 0011 = {{ {{#switch: Template

 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Note | sandbox | testcases = Note | #default = Note }}/doc }} | 0110 | 0111 = {{ }} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = <translate>

Usage

</translate>

{{Note|text=Foo}}
{{Note|type=info|text=Foo}}
{{Note|type=reminder|text=Foo}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} <translate nowrap><!--T:6--> Loose test</translate>

* Text {{Note|inline=1|text=Foo}}

{{#if: Foo |

{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: Foo |

{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: Foo |

{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: Multiple
lines
of
text |

{{#ifeq:|1|Multiple
lines
of
text| Multiple
lines
of
text}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: * Multiple paragraphs.

Of text. |

{{#ifeq:|1|* Multiple paragraphs.

Of text.|

  • Multiple paragraphs.
Of text.}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: Foo |

{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: Foo |

{{#ifeq:|1|Foo| Foo}}
 | <translate> Note</translate> <translate> Note:</translate> }}

{{#if: |

{{#ifeq:|1|{{{text}}}| {{{text}}}}}
 | <translate> Note</translate> <translate> Note:</translate> }} <translate> Loose test</translate>
  • Text {{#if: Foo |
    {{#ifeq:1|1|Foo|

Foo}}

 | <translate> Note</translate> <translate> Note:</translate> }}

Parameters

Template:Note/doc

See also

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |... }}}}, shortcut for this template with type=warning.

|{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |... }}}}, and in particular the namespace-agnostic {{ombox{{#if:| |{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |... }}}}, which by default resembles a typical "info" template. }}

{{#if:

 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Note | sandbox | testcases = Note | #default = Note }}/doc

   }}
 | yes
 }}{{
   #switch: Template
   | User
   | Module
   | Template = yes
   }}
 }}

|

{{#ifeq:none|none | | }} {{#if: |

}}

{{#switch:

| | warning | editnotice | system =

| #default =

This message box is using an invalid "type=" parameter and needs fixing.

}} }}{{#if:

 {{#switch: Note
 | doc
 | testcases = strange
 }}

|

}} [[Category:Templates{{#translation:}}|Note]]