Jump to content

Template:SimpleLeader/doc

From Wikisource

 DRAFT

Description

[edit]
  • This template generates simple leader lines. It is, at present, much less of a system burden than is dotted TOC page listing; but at the same time it is also less capable of internally handling complex formatting.
  • This template is effective only when enclosed by {{SimpleLeader block/s}} and {{SimpleLeader block/e}}, as it relies upon the class/style directives established by these bracketing template calls.

Usage

[edit]

{{SimpleLeader block/s}} {{SimpleLeader|Title|Reference}} {{SimpleLeader block/e}}
produces:

Title....................................................................................................................................................................................................................................................Reference

Parameters

[edit]
left
Text to be rendered in front of the leader (may be also specified as first unnamed parameter; default: nothing/empty.)
right
Text to be rendered after the leader (may be also specified as second unnamed parameter; default: nothing/empty.)
mright
Sets value for right margin of left text entry. default: "auto".)
pmleft
Sets value for left margin of enclosing paragraph. default: "0.0em".)
ptxtalign
Sets text alignment for enclosing paragraph. default: "justify".)
ptxtindent
Sets value for first-line text indent of enclosing paragraph. default: "0.0em".)
slpadleft
Sets value for left padding of line. default: "0px".)
fill
Text fragment to be repeated to represent the leader itself (default: ".".)
fillsp
Spacing between repeated text fragments (default: "6px".)
rwidth
Sets width of right text entry. default: "auto". Text will be right-aligned within this column.)
background
Permit control of background style attributes. default "white".
lstyle
Permit entry of arbitrary additional style to "left" text field. default: nothing/empty.
rstyle
Permit entry of arbitrary additional style to "right" text. default: nothing/empty.
pstyle
Permit entry of arbitrary additional style to paragraph-level container. default: nothing/empty.

Examples

[edit]

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.....................................................................................................................................................................................................................................................Page xlvi

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Page xlviii

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna...>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Page xlviii

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.…………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………Page xlxiii

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.....................................................................................................................................................................................................................................................Page xlxiv

*38. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat..................................................................................................................................................................................................................................................... Page xlxiv

*38. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat..................................................................................................................................................................................................................................................... Page xlxiv

 ^^^ There ought not to be any leader dots visible above the indicated region! Nor should the background shift for content at the right!

See also

[edit]