استعمال
{{كود
| 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}}
}}
|
'"`UNIQ--templatestyles-00000011-QINU`"'<cite class="citation web cs1 cs1-prop-no_archive">[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%2F3rabica.org%3A%D9%82%D8%A7%D9%84%D8%A8%3A%D9%83%D9%88%D8%AF%2F%D8%B4%D8%B1%D8%AD" class="Z3988"></span>[[تصنيف:صيانة الاستشهاد: استشهادات بمسارات غير مؤرشفة]]
|
|
|