Template:Pline/doc

This template expands to a bit of whitespace and a line number, which is formatted in small coloured text in order not to distract from the actual text of the poem or play. The line number also includes an  attribute, which can be used as a label to hyperlink directly to a particular line:  [[Hellas#line300 ]]


 * gives:


 * Note: the contents doesn't have to be numerical.

Alignment
If a second parameter is given as "l", the line number will float left, past the left margin of the text. The text will be right-aligned.

If a second parameter is given as "r", the line number will float right. This is only generally useful when the poem is enclosed in a limited-width environment, particularly block center, which "contracts" to the minimum width required by the contents.

If a second parameter is given as "or", the line number will overfloat right, past the right margin of the text.

Italics
If the third parameter is given as 'i' the numbers will be italicised.

If the third parameter is given as 'n' the numbers will be in a 'normal' font-style (de-italicised). This can be useful when the template is placed in a run of text which would otherwise be in italics.

ID tags
If no parameter is given, the "id" of the span will be "lineXXX", where XXX is the given line number. If is given, the "id" will be that instead.

Example
Hence! home, you idle creatures, get you home Is this a holiday? what! know you not, Being mechanical, you ought not walk Upon a labouring day without the sign

Hence! home, you idle creatures, get you home Is this a holiday? what! know you not, Being mechanical, you ought not walk Upon a labouring day without the sign