Template:Inline-code
- English
- español
- 日本語
- français
- 中文
- русский
- italiano
- português
- polski
- Nederlands
- العربية
- аԥсшәа
- Afrikaans
- алтай тил
- Obolo
- الدارجة
- مصرى
- অসমীয়া
- авар
- azərbaycanca
- تۆرکجه
- башҡортса
- Basa Bali
- беларуская
- български
- ပအိုဝ်ႏဘာႏသာႏ
- বাংলা
- bosanski
- Basa Ugi
- català
- 閩東語 / Mìng-dĕ̤ng-ngṳ̄
- нохчийн
- کوردی
- corsu
- čeština
- чӑвашла
- Cymraeg
- dansk
- ދިވެހިބަސް
- Ελληνικά
- Esperanto
- euskara
- فارسی
- føroyskt
- arpetan
- Gàidhlig
- galego
- गोंयची कोंकणी / Gõychi Konknni
- ગુજરાતી
- gungbe
- Gaelg
- 客家語 / Hak-kâ-ngî
- עברית
- हिन्दी
- Fiji Hindi
- hrvatski
- magyar
- հայերեն
- Bahasa Indonesia
- Ilokano
- гӀалгӀай
- Ido
- íslenska
- Qaraqalpaqsha
- Taqbaylit
- Kumoring
- ភាសាខ្មែរ
- ಕನ್ನಡ
- 한국어
- къарачай-малкъар
- kurdî
- кыргызча
- Latina
- lombard
- ລາວ
- lietuvių
- latviešu
- мокшень
- Māori
- Minangkabau
- македонски
- മലയാളം
- ဘာသာမန်
- मराठी
- Bahasa Melayu
- Malti
- မြန်မာဘာသာ
- эрзянь
- नेपाली
- नेपाल भाषा
- occitan
- ଓଡ଼ିଆ
- ирон
- ਪੰਜਾਬੀ
- پنجابی
- پښتو
- Runa Simi
- ikirundi
- română
- संस्कृतम्
- ᱥᱟᱱᱛᱟᱲᱤ
- Scots
- سنڌي
- srpskohrvatski / српскохрватски
- တႆး
- සිංහල
- Simple English
- سرائیکی
- slovenščina
- anarâškielâ
- Soomaaliga
- shqip
- српски / srpski
- svenska
- ꠍꠤꠟꠐꠤ
- தமிழ்
- ತುಳು
- ᥖᥭᥰ ᥖᥬᥲ ᥑᥨᥒᥰ
- తెలుగు
- тоҷикӣ
- ไทย
- Tagalog
- Türkçe
- татарча / tatarça
- chiTumbuka
- удмурт
- українська
- اردو
- oʻzbekcha / ўзбекча
- Tiếng Việt
- 吴语
- ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ
{{{1}}}
Usage
- Some text, then {{Inline-code | 1=wfDebug( $text, $dest = 'all' );}} and more text.
produces
- Some text, then
wfDebug( $text, $dest = 'all' );
and more text.
Note that for PHP, using the shorter {{phpi}} might be easier.
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Inline-code
An inline source code string.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Code | 1 code | The code to display. | String | required |
Language | 2 lang | The programming language of the source code. List of valid values is at: Extension:SyntaxHighlight#Supported_languages
| String | suggested |
Class | class | no description | String | optional |
ID | id | no description | String | optional |
CSS Style | style | no description | String | optional |
See also
The above documentation is transcluded from Template:Inline-code/doc. (edit | history)
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.