Lompat ke isi

Templat:Sidenotes begin/dok

Dari Wikisumber bahasa Indonesia, perpustakaan bebas
Ini adalah subhalaman dokumentasi untuk Templat:Sidenotes begin.
Halaman ini mengandung informasi penggunaan, kategori, pranala antarbahasa, dan lain-lain yang bukan merupakan bagian dari halaman templat asli.
Halaman ini belum selesai diterjemahkan. Anda dapat melihat terjemahannya dengan menggunakan Google Translate™.
Hanya karya dan terjemahan dalam bahasa Indonesia yang diperbolehkan di Wikisumber. Bantulah untuk menerjemahkannya.

Usage

[sunting]

Templates {{Sidenotes begin}}, {{Sidenotes end}}, {{Right sidenote}}, and {{Left sidenote}} are used to create a text in which notes appear to the side of the text, rather than as footnotes at the end. Usage is as follows:


{{Sidenotes begin}} appears at the beginning of the section containing sidenotes.

Parameters
Parameter Mandatory Definition Default
1 no The width of the main text body in ems 35
2 No The width of the total space for notes (on either side of the main body) in ems. This space is the sum of the width of the note and the width of the space (padding) between the note and the main text body. 11
align no template defaults to fully justified text, can set align=left to have ragged right edge without justified text.

{{Sidenotes end}} is placed at the end of the section containing sidenotes.

Parameters
Parameter Mandatory Definition Default
None. None. None. None.

{{Right sidenote}} is used to create a sidenote appearing to the right of the text.

Parameters
Parameter Mandatory Definition Default
1 Yes The text to appear at the right, possibly including wiki markup.
2 No The width of the note text in ems. 10
3 No The space (padding) between the note text and the main text body. 1
align No text alignment of the note [right, left, center, justify]. left
size No font size of note [xx-small, x-small, small, medium, large, x-large, xx-large] or [smaller, larger] or [%] or [length (in px or em)]. smaller

{{Left sidenote}} is used to create a sidenote appearing to the left of the text.

Parameters
Parameter Mandatory Definition Default
1 Yes The text to appear at the left, possibly including wiki markup.
2 No The width of the note text in ems. 10
3 No The space (padding) between the note text and the main text body. 1
align No text alignment of the note [right, left, center, justify]. right
size No font size of note [xx-small, x-small, small, medium, large, x-large, xx-large] or [smaller, larger] or [%] or [length (in px or em)]. smaller


Example:

{{sidenotes begin}}

''...yet if any impertinent Person shall, either to get Himself a Name, 
or for what other end soever, wilfully or carelesly mistake the State of 
the Controversie, or the sence of his Arguments, or shall rail instead 
of arguing, as hath been done of Late in Print by divers Chymists ; 
''{{left sidenote|G. and F. and H. and others, in their books 
against one another.}}''or lastly, shall write against them in 
a canting way ; I mean, shall express himself in ambiguous or obscure 
terms, or argue from experiments not intelligibly enough Deliver'd, 
''Carneades'' professes, That he values his time so much, as not to 
think the answering such Trifles worth the loss of it.''

{{sidenotes end}}


...yet if any impertinent Person shall, either to get Himself a Name, or for what other end soever, wilfully or carelesly mistake the State of the Controversie, or the sence of his Arguments, or shall rail instead of arguing, as hath been done of Late in Print by divers Chymists ; G. and F. and H. and others, in their books against one another.or lastly, shall write against them in a canting way ; I mean, shall express himself in ambiguous or obscure terms, or argue from experiments not intelligibly enough Deliver'd, Carneades professes, That he values his time so much, as not to think the answering such Trifles worth the loss of it.


Note: Non-default values should be used consistently in both the {{Sidenotes begin}} template, and the {{Right sidenote}} and {{Left sidenote}} templates. For example, for a text body width of 25em, and a note width of 15em, with a padding of 2em, you should use the following:

{{Sidenotes begin|25|17}}

...body text... {{left sidenote|note text|15|2}}  ...body text...

{{Sidenotes end}}


...yet if any impertinent Person shall, either to get Himself a Name, or for what other end soever, wilfully or carelesly mistake the State of the Controversie, or the sence of his Arguments, or shall rail instead of arguing, as hath been done of Late in Print by divers Chymists ; G. and F. and H. and others, in their books against one another.or lastly, shall write against them in a canting way ; I mean, shall express himself in ambiguous or obscure terms, or argue from experiments not intelligibly enough Deliver'd, Carneades professes, That he values his time so much, as not to think the answering such Trifles worth the loss of it.


Use of inconsistent values will result in one set of parameters for the body text, and a different set for the sidenotes, which may or may not be desirable.