Templat:Gap

Dari Wikisource bahasa Indonesia, perpustakaan bebas
Langsung ke: navigasi, cari

 

[sunting] [versi terdahulu] [hapus singgahan] Ikon dokumentasi Dokumentasi templat
Panneau travaux.png Halaman ini belum selesai diterjemahkan. Anda dapat melihat terjemahannya dengan menggunakan Google TranslateTM.
Hanya karya dan terjemahan dalam bahasa Indonesia yang diperbolehkan di Wikisource. Bantulah untuk menerjemahkannya.

Daftar isi

[sunting] Usage

Use this template to insert a fixed width gap in inline text. The default is 2em.

For example,

Hello{{gap|3em}}world!

yields "Hello world!"


If no argument is given, the default is 2em:

Hello{{gap}}world!

yields "Hello world!"

For a real example of it in use, see Page:An introduction to physiological and systematical botany (1st edition).djvu/542.

[sunting] Deprecated or incorrect usage

Please note: This template is not intended to produce a formatting preference, such as indented paragraphs or double spacing after full stops (periods).

[sunting] Indentation

Indentation can be produced with a div style using a CSS command like "text-indent:2em". {{gap}} shouldn't be used to indent the first line of a paragraph

[sunting] Offsetting right-aligned text

Please do not use a construction like

{{right|This is incorrect{{gap}} }}

{{Right}} has a parameter "offset" for this:

{{right|This is correct|offset=2em}}
Akun
Ruang nama

Varian
Tindakan
Navigasi
Komunitas
Wikisource
Peralatan
Bahasa lain