İçeriğe atla

Şablon:Kısım

Vikikaynak, özgür kütüphane

{{{2}}}

Şablon belgelemesi Belgeleme

Şablon for creating an anchor for Kısıms:

  • chapter (or parameter 1), the chapter the Kısım belongs to
  • Kısım (or parameter 2), the Kısım being linked to
  • color (or colour, or parameter 3), over-ride the green colour of the Kısıms
  • notext, define as blank to over-ride the display of the Kısım number
  • align, use to control positioning

Positioning

When the "align" parameter is unset, the Kısım number appears inline:

{{Kısım||1|}} Now I am become Death, the destroyer of worlds.

1

Now I am become Death, the destroyer of worlds.

align

When the align=left, the Kısım number is set to the margin:

{{Kısım||1|align=left}} Now I am become Death, the destroyer of worlds.

1

Now I am become Death, the destroyer of worlds.

This is useful when use in poems, as it can be floated out of the way of the poem's structure, and doesn't affect the start of the line. You probably need to use a div class such as "indented-page" (designed for this case) or even "prose" to keep the text's left margin away from the Kısım number:

<div class=indented-page><poem>
{{Kısım||1|align=left}} To see a world in a grain of sand,
{{Kısım||2|align=left}} And heaven in a wild flower;
{{Kısım||3|align=left}} To hold infinity in the palm of your hand,
{{Kısım||4|align=left}} And eternity in an hour.
</poem></div>

1

To see a world in a grain of sand,

2

And heaven in a wild flower;

3

To hold infinity in the palm of your hand,

4

And eternity in an hour.

When the align=float, the Kısım number is left floated to the margin:

{{Kısım||2|align=float}} She weepeth sore in the night,

2

She weepeth sore in the night,

This option is useful in poems where the Kısım number needs to be closer to the text, because other items appear in the margin, or where the Kısım number would otherwise overlap the text:

:{{overfloat left|align=right|padding=1em|{{hebrew|ב}}}}{{Kısım|1|2|align=float}}She weepeth sore in the night,
:And her tears are on her cheeks;
:She hath none to comfort her
:Among all her lovers;
Şablon:Overfloat left2

She weepeth sore in the night,

And her tears are on her cheeks;
She hath none to comfort her
Among all her lovers;

Anchoring

This Şablon creates anchors based on the chapter and Kısım supplied.

To use this tool for navigation, type [[Article name#Chapter:Kısım]], like this: Bible (King James)/Genesis#4:5