تخدام

بدل
{{كود
| 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}}
}} 
<cite class="citation web">[http://example.org "Title"].</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Title&rft_id=http%3A%2F%2Fexample.org&rfr_id=info%3Asid%2Fary.wikipedia.org%3A%D9%85%D9%88%D8%B6%D9%8A%D9%84%3A%D9%83%D9%88%D8%AF%2F%D8%B4%D8%B1%D8%AD" class="Z3988"></span>'"`UNIQ--templatestyles-0000000F-QINU`"'