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
A picture:
 
Wikipedia Encyclopedia

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.


Gambar sebuah Tornado



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

Pemformatan Karakter

What it looks like What you type

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.

Diacritical marks:
è é ê ë ì í

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


è é ê ë ì í

&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;

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


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

Commercial symbols:
™ © ® ¢ € ¥
£ ¤


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

Subscripts:
x1 x2 x3

Superscripts:
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 hectare = 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 [[hectare]] = [[1 E4 m²]]

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


&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;

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


&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;

Spacing in simple math formulas:
Obviously, x² ≥ 0 is true.

  • To space things out without allowing line breaks to interrupt the formula, use non-breaking spaces: &nbsp;.


Obviously, ''x''&sup2;&nbsp;&ge;&nbsp;0 is true.

Complicated formulas:

 
  • 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)

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}} 06
{{CURRENTMONTHNAME}} Juni
{{CURRENTMONTHNAMEGEN}} Juni
{{CURRENTDAY}} 22
{{CURRENTDAYNAME}} Sabtu
{{CURRENTYEAR}} 2024
{{CURRENTTIME}} 22.09
{{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 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