×
Namespaces

Variants
Actions
(Difference between revisions)

Template:Icode

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Add from Symbian Foundation wiki.)
 
hamishwillee (Talk | contribs)
m (Hamishwillee - Set style as monospace)
Line 10: Line 10:
 
* Using the equals (=) and pipe (|) characters inside the template parameters prevents them working properly. These characters should be replaced with the '''=''' and '''|''' codes respectively.
 
* Using the equals (=) and pipe (|) characters inside the template parameters prevents them working properly. These characters should be replaced with the '''=''' and '''|''' codes respectively.
  
<!--begin Icode--></noinclude><includeonly><tt>{{{1}}}</tt></includeonly><!--end Icode-->
+
<!--begin Icode--></noinclude><includeonly><tt style="font-family:monospace;">{{{1}}}</tt></includeonly><!--end Icode-->

Revision as of 02:44, 17 June 2011

Mark up inline code or filenames in the body of text (see Help:Formatting Code).

This template can be used for marking up identifiers in the body of text - for example filenames, classes, functions, arguments etc. It then displays the text in monotype.

Usage

{{Icode|identifier}}

Notes:

  • 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.


75 page views in the last 30 days.
×