×
Namespaces

Variants
Actions
(Difference between revisions)

Template:Tip

From Nokia Developer Wiki
Jump to: navigation, search
croozeus (Talk | contribs)
m (Protected "Template:Tip" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
hamishwillee (Talk | contribs)
m (Hamishwillee - Add support for Bahasa Indonesia)
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
<noinclude>== Usage ==
+
<noinclude>{{Abstract|This template is used to add tip or hint guidance to an article.}}
Use '''<nowiki>{{Tip|</nowiki>''your text''<nowiki>}}</nowiki>''' to display a tip.
+
  
 
'''Note''': using the equals (=) and pipe (|) characters inside the template parameters prevents them working properly. These characters should be replaced with the '''&amp;#61;''' and '''&amp;#124;''' codes respectively.
 
'''Note''': using the equals (=) and pipe (|) characters inside the template parameters prevents them working properly. These characters should be replaced with the '''&amp;#61;''' and '''&amp;#124;''' codes respectively.
</noinclude>{{InfoBox|title=Tip|image=Tip_final.png|text={{{1}}} }}
+
 
 +
== Usage ==
 +
<nowiki>{{Tip</nowiki>|''your text''<nowiki>}}</nowiki>
 +
 
 +
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:
 +
**: <code text>{{Tip|language=Lang-Chinese|your text}}</code>
 +
**: {{Tip|language=Lang-Chinese|your text}}
 +
**: {{Tip|language=Lang-Portuguese|your text}}
 +
**: {{Tip|language= Lang-Russian|your text}}
 +
**: {{Tip|language=Lang-Bahasa Indonesia|your text}}
 +
 
 +
 
 +
== Appearance ==
 +
 
 +
</noinclude>{{InfoBox|title={{#switch: {{{language|}}} 
 +
| Lang-Portuguese =Dica
 +
| Lang-Chinese =提示
 +
| Lang-Russian =Совет
 +
| Lang-Bahasa Indonesia =Saran
 +
| #default = Tip
 +
}}
 +
|link=Template:Tip
 +
|image=Tip.png
 +
|text={{{1}}}
 +
}}

Latest revision as of 03:25, 20 September 2012

This template is used to add tip or hint guidance 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

{{Tip|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:
      {{Tip|language=Lang-Chinese|your text}}

      Tip.png提示: your text

      Tip.pngDica: your text

      Tip.pngСовет: your text

      Tip.pngSaran: your text


[edit] Appearance

Tip.pngTip: {{{1}}}

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