×
Namespaces

Variants
Actions
(Difference between revisions)

Template:Tip

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Add improved documentation)
hamishwillee (Talk | contribs)
m (Hamishwillee - Update to include Portuguese translation)
Line 5: Line 5:
 
== Usage ==
 
== Usage ==
 
  <nowiki>{{Tip</nowiki>|''your text''<nowiki>}}</nowiki>
 
  <nowiki>{{Tip</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>{{Tip</nowiki>|language=''Lang-Portuguese''|''your text''<nowiki>}}</nowiki>
 +
  
 
== Appearance ==  
 
== Appearance ==  
  
</noinclude>{{InfoBox|title=Tip|link=Template:Tip|image=Tip.png|text={{{1}}} }}
+
</noinclude>{{InfoBox|title={{#switch: {{{language|}}} 
 +
| Lang-Portuguese =Dica
 +
| #default = Tip
 +
}}
 +
|link=Template:Tip
 +
|image=Tip.png
 +
|text={{{1}}}
 +
}}

Revision as of 03:22, 19 September 2011

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.

Usage

{{Tip|your text}}

Optional parameters:

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


Appearance

Tip.pngTip: {{{1}}}

138 page views in the last 30 days.
×