استعمال

عدل
{{كود
| code = 
| 1 = 
| lang = 
| 2 = 
}}

مثال

عدل
توصيف يظهر
{{كود|لو:{{{س}}}}}
 
لو:{{{س}}}
توصيف يظهر
Lorem {{كود|ipsum '''dolor'''}} sit amet 
Lorem ipsum '''dolor''' sit amet
The declaration {{كود |lang=cpp |int foo(const std::string& bar, const std::vector<long double*>& baz);}} is the prototype for a function defined later. 
The declaration int foo(const std::string& bar, const std::vector<long double*>& baz); is the prototype for a function defined later.
If the code contains an [[علامة التساوي]], such as {{كود |lang=javascript |code=var img = document.getElementsByTagName("img");}}, you must identify the first parameter explicitly as {{{1}}} or {{{code}}}; see also [[:bugzilla:5138]]. 
If the code contains an علامة التساوي, such as var img = document.getElementsByTagName("img");, you must identify the first parameter explicitly as {{{1}}} or {{{code}}}; see also bugzilla:5138.


داخل القوالب

عدل
توصيف يظهر
{{كود|
{{استشهاد ويب |title=Title |url=http://example.org}}
}} 
[[:قالب:استشهاد ويب]]