×
Namespaces

Variants
Actions
(Difference between revisions)

Template:Note

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Update language section)
hamishwillee (Talk | contribs)
m (Hamishwillee - Add support for Bahasa Indonesia)
 
(2 intermediate revisions by one user not shown)
Line 7: Line 7:
 
Optional parameters:
 
Optional parameters:
 
* ''language'': The language category of the natural language the template is to display in. If no language is specified or if the specified language is not supported then the English version is used.
 
* ''language'': The language category of the natural language the template is to display in. If no language is specified or if the specified language is not supported then the English version is used.
** Translations exist for: Lang-Portuguese, Lang-Chinese  
+
** Translations exist for: Lang-Portuguese, Lang-Chinese, Lang-Russian, Lang-Bahasa Indonesia
 
** For example:
 
** For example:
 
**: <code text>{{Note|language=Lang-Chinese|your text}}</code>
 
**: <code text>{{Note|language=Lang-Chinese|your text}}</code>
 
+
**: {{Note|language=Lang-Chinese|your text}}
 
+
**: {{Note|language=Lang-Portuguese|your text}}
 +
**: {{Note|language=Lang-Russian|your text}}
 +
**: {{Note|language=Lang-Bahasa Indonesia|your text}}
  
 
== Translation ==
 
== Translation ==
Line 22: Line 24:
 
  | Lang-Chinese =注意
 
  | Lang-Chinese =注意
 
  | Lang-Portuguese =Observação
 
  | Lang-Portuguese =Observação
 +
| Lang-Russian =Примечание
 +
| Lang-Bahasa Indonesia =Catatan
 
  | #default = Note
 
  | #default = Note
 
  }}
 
  }}

Latest revision as of 03:21, 20 September 2012

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.

[edit] Usage

{{Note|your text}}

Optional parameters:

  • language: The language category of the natural language the template is to display in. If no language is specified or if the specified language is not supported then the English version is used.
    • Translations exist for: Lang-Portuguese, Lang-Chinese, Lang-Russian, Lang-Bahasa Indonesia
    • For example:
      {{Note|language=Lang-Chinese|your text}}

      Note.png注意: your text

      Note.pngObservação: your text

      Note.pngПримечание: your text

      Note.pngCatatan: your text

[edit] Translation

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

[edit] Appearance

Note.pngNote: {{{1}}}

This page was last modified on 20 September 2012, at 03:21.
476 page views in the last 30 days.
×