Wikipedia:Markup Gambar, Pemformatan Karakter, Tabel, Variabel dan Templat
Markup Wiki
Di kolom sebelah kiri tabel berikut ini, Anda dapat melihat efek-efek apa saja yang dapat dilakukan di Wikipedia. Di kolom sebelah kanan, Anda dapat melihat bagaimana efek-efek tersebut diperoleh. Dengan kata lain, untuk membuat teks terlihat seperti apa yang terlihat di kolom sebelah kiri, ketikkan teks dalam format seperti yang ada di sebelah kanan.
Anda mungkin ingin membiarkan halaman ini terbuka di window browser yang terpisah sebagai rujukan. Jika Anda ingin mencoba melakukan sesuatu tanpa merusak apapun, lakukan di Bak pasir.
CATATAN: Bagian "Markup Wiki" ini dibagi ke dalam dua halaman untuk mengurangi size halaman ini:
- Bagian pertama: Bagian, paragraf, daftar-daftar dan baris, Pranala dan URL di halaman terpisah (klik pada link tebal),
- Bagian kedua: Gambar, Pemformatan Karakter, Tabel, Variabel dan Templat|Gambar, Pemformatan Karakter, Tabel, Variabel dan Templat di halaman ini.
Gambar
Hasil yang Anda dapatkan | Yang Anda ketikkan |
---|---|
A picture:
|
A picture: [[Image:Wiki.png]] or, with alternative text [[Image:Wiki.png|jigsaw globe]] or, floating to the right side of the page and with a caption. A picture: [[Image:Wiki.png|frame|Wikipedia Encyclopedia]] or, floating to the right side of the page without a caption. [[Image:Wiki.png|right|Wikipedia Encyclopedia]] The frame tag automatically floats the image right. Always add alternative texts to images, even if it has no caption. |
Clicking on an uploaded image displays a description page, which you can also link directly to: Image:Wiki.png |
[[:Image:Wiki.png]] |
To include links to images shown as links instead of drawn on the page, use a "media" link. |
[[media:Tornado.jpg|Gambar sebuah Tornado]] |
Pemformatan Karakter
What it looks like | What you type |
---|---|
Emphasize, strongly, very strongly.
|
''Emphasize'', '''strongly''', '''''very strongly'''''. |
Ordinary text should use wiki markup for emphasis, and should not use |
<math>\sin x + \ln y</math> sin''x'' + ln''y'' <math>\mathbf{x} = 0</math> '''x''' = 0 |
A typewriter font for monospace text
or for computer code:
|
A typewriter font for <tt>monospace text</tt> or for computer code: <code>int main()</code> |
You can use small text for captions. |
You can use <small>small text</small> for captions. |
You can You can also mark
|
You can <s>strike out deleted material</s> and <u>underline new material</u>. You can also mark <del>deleted material</del> and <ins>inserted material</ins> using logical markup rather than visual markup. |
Diacritical marks:
À Á Â Ã Ä Å |
è é ê ë ì í À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô œ õ ö ø ù ú û ü ÿ |
Punctuation:
|
¿ ¡ § ¶ † ‡ • – — ‹ › « » ‘ ’ “ ” |
Commercial symbols:
|
™ © ® ¢ € ¥ £ ¤ |
Subscripts:
Superscripts:
ε0 = 8.85 × 10−12 C² / J m. |
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> <nowiki> x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> or x¹ x² x³ </nowiki> ε<sub>0</sub> = 8.85 × 10<sup>−12</sup> C² / J m. 1 [[hectare]] = [[1 E4 m²]] |
Greek characters:
|
α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω |
Math characters:
|
∫ ∑ ∏ √ − ± ∞ ≈ ∝ ≡ ≠ ≤ ≥ → × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ ℵ ø ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ → ↔ |
Spacing in simple math formulas:
|
Obviously, ''x''² ≥ 0 is true. |
Complicated formulas:
|
: <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math> |
Suppressing interpretation of markup:
|
<nowiki>Link → (''to'') the [[Wikipedia FAQ]]</nowiki> |
Commenting page source:
|
<!-- comment here --> |
(lihat pula: Chess symbols in Unicode)
Tabel
Peletakan Daftar Isi (Table of Contents/TOC)
At the current status of the wiki markup language, having at least four headers on a page triggers the TOC to appear in front of the first header (or after introductory sections). Putting __TOC__ anywhere forces the TOC to appear at that point (instead of just before the first header). Putting __NOTOC__ anywhere forces the TOC to disappear. See also compact TOC for alphabet and year headings.
Tabel
Ada dua cara untuk membuat tabel:
- dalam markup-Wiki khusus (lihat m:Help:Table)
- dengan elemen HTML biasa: <table>, <tr>, <td> or <th>.
Untuk cara kedua, dan pembicaraan mengenai kapan tabel perlu digunakan, lihat Wikipedia:Bagaimana menggunakan tabel.
Variabel
(Lihat pula m:Help:Variable)
Code | Effect |
---|---|
{{CURRENTMONTH}} | 07 |
{{CURRENTMONTHNAME}} | Juli |
{{CURRENTMONTHNAMEGEN}} | Juli |
{{CURRENTDAY}} | 6 |
{{CURRENTDAYNAME}} | Sabtu |
{{CURRENTYEAR}} | 2024 |
{{CURRENTTIME}} | 20.35 |
{{NUMBEROFARTICLES}} | 697.529 |
{{PAGENAME}} | Markup Gambar, Pemformatan Karakter, Tabel, Variabel dan Templat |
{{NAMESPACE}} | Wikipedia |
{{localurl:pagename}} | /wiki/Pagename |
{{localurl:Wikipedia:Sandbox|action=edit}} | /w/index.php?title=Wikipedia:Sandbox&action=edit |
{{SERVER}} | //wiki-indonesia.club |
{{ns:1}} | Pembicaraan |
{{ns:2}} | Pengguna |
{{ns:3}} | Pembicaraan Pengguna |
{{ns:4}} | Wikipedia |
{{ns:5}} | Pembicaraan Wikipedia |
{{ns:6}} | Berkas |
{{ns:7}} | Pembicaraan Berkas |
{{ns:8}} | MediaWiki |
{{ns:9}} | Pembicaraan MediaWiki |
{{ns:10}} | Templat |
{{ns:11}} | Pembicaraan Templat |
{{ns:12}} | Bantuan |
{{ns:13}} | Pembicaraan Bantuan |
{{ns:14}} | Kategori |
{{ns:15}} | Pembicaraan Kategori |
{{SITENAME}} | Wikipedia |
NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect, i.e. number of articles, stubs containing a link, and disambiguation pages.
Templat
The MediaWiki software used by Wikipedia has limited support for template inclusion. This means standardized text chunks (such as boilerplate text) can be inserted into articles. For example, typing {{stub}} will appear as This article is a stub. You can help Wikipedia by expanding it. when the page is saved. See Wikipedia:Template messages for the complete list. Other commonly used ones are: {{disambig}} for disambiguation pages, {{spoiler}} for spoiler warnings and {{sectstub}} like an article stub but for a section. The are many subject specific stubs e.g.: {{Geo-stub}}, {{Hist-stub}} and {{Linux-stub}}. For a complete list of stubs see Wikipedia:Template messages#Stubs.
- Kembali ke bagian pertama: Bagian, paragraf, daftar-daftar dan baris, Pranala dan URL