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:

Gambar

Hasil yang Anda dapatkan Yang Anda ketikkan
Sebuah gambar:
 
Ensiklopedia Wikipedia

Sebuah gambar : [[Image:Wiki.png]]

atau dengan teks alternatif

[[Image:Wiki.png|jigsaw globe]]

atau mengambang ke sebelah kanan halaman dan dengan tulisan di bawah gambar

A picture: [[Image:Wiki.png|frame|Ensiklopedia Wikipedia]]

atau mengambang ke sebelah kanan halaman tanpa tulisan di bawah gambar

[[Image:Wiki.png|right|Ensiklopedia Wikipedia]]

Tag frame mengambangkan gambar ke kanan secara otomatis. Selalu tambahkan teks alternatif ke gambar, bahkan jika ia tak mempunyai tulisan di bawahnya sekalipun.

Mengklik pada gambar yang telah diupload menampilkan halaman deskripsi yang juga dapat Anda sambungkan secara langsung menuju: Gambar:Wiki.png


[[:Gambar:Wiki.png]]

To include links to images shown as links instead of drawn on the page, use a "media" link.


Gambar sebuah Tornado



[[media:Tornado.jpg|Gambar sebuah Tornado]]

Pemformatan Karakter

Hasil yang Anda dapatkan Yang Anda ketikkan

Emphasize, strongly, very strongly.

  • These are double and triple apostrophes (single-quote marks), not double-quote marks.
''Emphasize'', '''strongly''', '''''very strongly'''''.

 
sinx + lny

 
x = 0

Ordinary text should use wiki markup for emphasis, and should not use <i> or <b>. However, mathematical formulas often use italics, and sometimes use bold, for reasons unrelated to emphasis. Complex formulas should use <math> markup, and simple formulas may use <math>; or <i> and <b>; or '' and '''. According to WikiProject Mathematics, wiki markup is preferred over HTML markup like <i> and <b>.

<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: int main()

  • For semantic reasons, using <code> where applicable is preferable to using <tt>.
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 strike out deleted material and underline new material.

You can also mark deleted material and inserted material using logical markup rather than visual markup.

  • When editing regular Wikipedia articles, just make your changes and don't mark them up in any special way.
  • When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
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.

Tanda-tanda diakritikal:
è é ê ë ì í

À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ


è é ê ë ì í

&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; 
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; 
&Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve; 
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave; 
&Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute; 
&acirc; &atilde; &auml; &aring; &aelig; &ccedil; 
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; 
&oelig; &otilde; &ouml; &oslash; &ugrave; &uacute; 
&ucirc; &uuml; &yuml;

Tanda baca:
¿ ¡ § ¶
† ‡ • – —
‹ › « »
‘ ’ “ ”


&iquest; &iexcl; &sect; &para;
&dagger; &Dagger; &bull; &ndash; &mdash;
&lsaquo; &rsaquo; &laquo; &raquo;
&lsquo; &rsquo; &ldquo; &rdquo;

Simbol-simbol niaga:
™ © ® ¢ € ¥
£ ¤


&trade; &copy; &reg; &cent; &euro; &yen; 
&pound; &curren;

Subscript:
x1 x2 x3

Superscript:
x1 x2 x3 or x¹ x² x³

  • The latter method of superscripting can't be used in the most general context, but is preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.

ε0 = 8.85 × 10−12 C² / J m.

1 hektar = 1 E4 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&sup1; x&sup2; x&sup3;
</nowiki>
&epsilon;<sub>0</sub> =
8.85 &times; 10<sup>&minus;12</sup>
C&sup2; / J m.

1 [[hektar]] = [[1 E4 m²]]

Karakter Yunani:
α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω


&alpha; &beta; &gamma; &delta; &epsilon; &zeta; 
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; 
&xi; &omicron; &pi; &rho;  &sigma; &sigmaf;
&tau; &upsilon; &phi; &chi; &psi; &omega;
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; 
&Sigma; &Phi; &Psi; &Omega;

Karakter matematika:
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥ →
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ℵ ø
∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
→ ↔


&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;
&times; &middot; &divide; &part; &prime; &Prime;
&nabla; &permil; &deg; &there4; &alefsym; &oslash;
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;
&not; &and; &or; &exist; &forall; &rArr; &hArr;
&rarr; &harr;

Spasi dalam formula matematika yang simpel:
Jelas sekali, x² ≥ 0 adalah benar.

  • Untuk membuat spasi tanpa memperbolehkan pemisahan baris mengganggu formulanya, gunakan spasi yang tidak memutus: &nbsp;.


Jelas sekali, ''x''² ≥ 0 adalah benar.

Formula sulit:

 
  • See m:Help:Formula for how to use <math>.
  • A formula displayed on a line by itself should probably be indented by using the colon (:) character.


: <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>

Suppressing interpretation of markup:
Link → (''to'') the [[Wikipedia FAQ]]

  • Used to show literal data that would otherwise have special meaning.
  • Escape all wiki markup, including that which looks like HTML tags.
  • Does not escape HTML character references.
  • To escape HTML character references such as &rarr; use &amp;rarr;


<nowiki>Link &rarr; (''to'') 
the [[Wikipedia FAQ]]</nowiki>

Commenting page source:
not shown when viewing page

  • Used to leave comments in a page for future editors.
  • Note that most comments should go on the appropriate Talk page.


<!-- comment here -->

(lihat pula: Chess symbols in Unicode)

Tabel

Peletakan Daftar Isi (Table of Contents/TOC)

Pada status bahasa markup wiki saat ini, adanya setidaknya empat header di sebuah halaman memicu munculnya daftar isi (TOC) di depan header pertama (atau setelah bagian perkenalan). Meletakkan __TOC__ di manapun di halaman tersebut memaksa TOC untuk muncul di bagian tersebut (daripada di bagian awal). Meletakkan __NOTOC__ di manapun di halaman tersebut memaksa TOC untuk menghilang. Lihat pula TOC ringkas untuk alfabet dan heading tahun.

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)

Kode Efek
{{CURRENTMONTH}} 06
{{CURRENTMONTHNAME}} Juni
{{CURRENTMONTHNAMEGEN}} Juni
{{CURRENTDAY}} 22
{{CURRENTDAYNAME}} Sabtu
{{CURRENTYEAR}} 2024
{{CURRENTTIME}} 19.53
{{NUMBEROFARTICLES}} 696.476
{{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 adalah jumlah halaman di namespace utama yang berisi sebuah pranala dan bukan merupakan sebuah pengalih (redirect), dengan kata lain jumlah artikel, stub yang mempunyai link, dan haaman-halaman disambiguasi.

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