Difference between revisions of "Template:Icode"
From Franklin Heath Ltd Wiki
(Created page with '<noinclude> == Usage == Formatting for source code identifiers embedded in natural language text. {{Ident|your identifier}} </noinclude> <span style="font-family:courier">{{{1}}}...') |
(Remove abstract (not used on this wiki)) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>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 == | == Usage == | ||
− | + | ||
− | {{ | + | <code text>{{Icode|identifier}}</code> |
− | </ | + | |
− | + | '''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. | ||
+ | |||
+ | <!--begin Icode--></noinclude><includeonly><tt>{{{1}}}</tt></includeonly><!--end Icode--> |
Latest revision as of 01:07, 21 April 2015
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
identifier
Notes:
- Using the equals (=) and pipe (|) characters inside the template parameters prevents them working properly. These characters should be replaced with the = and | codes respectively.