Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

(Difference between revisions)

Template:Note

From Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Update documentation)
hamishwillee (Talk | contribs)
(Hamishwillee - Add translation support)
Line 5: Line 5:
 
== Usage ==
 
== Usage ==
 
  <nowiki>{{Note</nowiki>|''your text''<nowiki>}}</nowiki>
 
  <nowiki>{{Note</nowiki>|''your text''<nowiki>}}</nowiki>
 +
Optional parameters:
 +
* ''language'': The language category of the natural language the template is to display in. By default English
 +
*: For example <nowiki>{{Note</nowiki>|language=''Lang-Chinese''|''your text''<nowiki>}}</nowiki>
 +
 +
== Translation ==
 +
 +
The '''Note''' title text has been translated to a number of languages (Portuguese, Chinese, Japanese). New languages can be added to the switch (see [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23switch Help:Extension:ParserFunctions] for more information).
  
 
== Appearance ==  
 
== Appearance ==  
  
</noinclude>
+
</noinclude>{{InfoBox|title={{#switch: {{{language|}}} 
{{InfoBox|title=Note|link=Template:Note|image=Note.png|text={{{1}}} }}
+
| Lang-Chinese =注
 +
| Lang-Portuguese =Nota
 +
| Lang-Japanese=注
 +
| #default = Note
 +
}}
 +
|link=Template:Note
 +
|image=Note.png
 +
|text={{{1}}}
 +
}}

Revision as of 04:21, 16 September 2011

This template adds a "note" to an article.

Note: using the equals (=) and pipe (|) characters inside the template parameters prevents them working properly. These characters should be replaced with the &#61; and &#124; codes respectively.

Usage

{{Note|your text}}

Optional parameters:

  • language: The language category of the natural language the template is to display in. By default English
    For example {{Note|language=Lang-Chinese|your text}}

Translation

The Note title text has been translated to a number of languages (Portuguese, Chinese, Japanese). New languages can be added to the switch (see Help:Extension:ParserFunctions for more information).

Appearance

Note.pngNote: {{{1}}}

534 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×