# User:Arjunaraoc/enwikisource-formatting-templates

{{abbr}} is an abbreviation template. It works similarly to the w:HTML <abbr> or <acronym> tags.

## Usage

{{abbr}} takes two unnamed parameters, in order:

1. The short form, which shows as text on the page.
2. The long form, which many w:web browsers show as a w:tooltip when a user hovers over the text.

### Example

{{abbr
|MSLP
|Mean Sea Level Pressure
}}

appears as MSLP. When hovering over the text, Mean Sea Level Pressure will appear as a tooltip.

### Abbreviation templates for specific works

• {{Nornabr}} for An Etymological Dictionary of the Norn Language in Shetland

This template creates the style tag needed to easily create uniform columns of adverts of the kind often found in magazine letter pages.

### Usage

{{advert column style|align=|gap=|flip=|width=|style=}}

To be used in tables, to set the style. For example:

{| {{advert column style}}
| Foo
|-
| Bar
|-
| Baz
|}


### Parameters

All parameters are optional.

• align: (1st unnamed parameter) Sets the alignment of the column, can be either right or left. (default: right)
• gap: (2nd unnamed parameter) Sets the margin around the column; ie. the gap between the column edge and the text. Measured in em, do not include the units. (default: 2)
• flip: If used, this will use the opposite alignment in the mainspace and use the given alignment in all other namespaces. This may be the only way to get separate columns to fit in the mainspace, although it does slightly undermine the faithfulness of the reproduction. 0=No, don't flip. 1=Yes, flip the alignment. (default: 0)
• width: Sets the width of the advert column. Measured in pixels, do not include units. (default: 250)
• size: Sets the height of the text in the advert column. Measured as a percentage, do not include the percentage sign. (default: 90)
• style: Any additional style settings not included as standard can be entered manually in this parameter.

### Examples

{{advert column style}}

style="width: 250px; font-size: 90%; line-height: 95%; float: right; margin: 2em 0 2em 2em;"
Standard, right floating column style.

{{advert column style|left}}

style="width: 250px; font-size: 90%; line-height: 95%; float: left; margin: 2em 2em 2em 0;"
Left floating column style.

{{advert column style|flip=1}}

style="width: 250px; font-size: 90%; line-height: 95%; float: right; margin: 2em 0 2em 2em;"
This won't change here, producing a standard right floating style, but in the mainspace this would produce the left floating style.

{{advert column style|width=300|gap=1|style=border:1px solid black}}

style="width: 300px; font-size: 90%; line-height: 95%; float: right; margin: 1em 0 1em 1em;border:1px solid black;"
Right floating column style with additional parameters to change its appearance. This column will be wider, with a smaller margin, and a one-pixel border.

### Usage

Template used to align text with its translation. (extension DoubleWiki)

{{Aligned couplet|top1|top2|top3|top4|....|btm1|btm2|btm3|btm4|....|bottom=|top=|height=}}

This template uses a small wiki table to display two lines, probably of poetry, broken into words or groups so that the groups on the two lines are (left) aligned with each other. The first half of the groups are placed on the top line and the second half on the bottom; if there are an odd number the one in the middle is placed at the end of the top line. Up to 10 groups on each line can be handled.

height= The height (with unit) of each line. The default is 2.3ex, found by experiment to give the same line spacing between the two lines as a <br> in normal text.

bottom= Adjust the bottom margin of the table to give a pleasing space before the following text. The default is -0.8ex, found by experiment to give the same spacing to a following text line as as a normal <br> between two text lines. A value of +0.6ex gives the same spacing to the first line of a second {{Aligned couplet immediately following; a positive value will give white space in between.

top= Adjust the top margin of the table to give a pleasing space after the preceding text. The default is -0.9ex, found by experiment to give the same spacing after a preceding text line as as a normal <br> between two text lines. A larger (less negative) value will produce white space after a preceding text line.

### Example

{{Aligned couplet|margin=1ex
| Ti | rat&nbsp;&nbsp; | pari
| Am&nbsp; | I | living (my life)
}}
{{Aligned couplet
| Tiras | ta | kawahat
| You (who) | possess | the skies
}}

 Ti rat pari Am I living (my life)
 Tiras ta kawahat You (who) possess the skies

The non-breaking spaces above are aesthetic, adding a bit of space between the columns. But if an aligned group is intended to be blank, it may need to contain a non-breaking space. Otherwise it may be skipped when rendering, misaligning the rows. Example:

{{Aligned couplet
| a |   |   | a |
|   | a | a |   |
}}


 a a a a

{{Aligned couplet
| a | &nbsp; | &nbsp; | a |
| &nbsp; | a | a | &nbsp; |
}}


 a a a a

Publications may have text that is to be interpreted as capitals, but is presented as small caps for readability, stylistic, or traditional reasons. Converting the source to lower-case and applying small-caps may be undesirable since readers copying the rendered text will get the lower-case version. Additionally, software that doesn't support small-caps (e.g. some e-readers) will show all-lower-case text.

This template allows you to represent the appearance of the original and maintain the intended meaning.

A short version {{asc}} is provided, analogous to {{sc}}.

### Usage

This template takes a single un-named parameter: the text to be styled.

{{All small caps|Wikisource MXIX A.D.}} = Wikisource MXIX A.D.

#### Comparison

• {{sc|wikisource mxix a.d.}} = wikisource mxix a.d. (looks the same but copies as "wikisource mxix a.d.")
• {{sc|Wikisource MXIX A.D.}} = Wikisource MXIX A.D.
• Wikisource {{fs70|MXIX A.D.}} = Wikisource MXIX A.D.

#### Examples

In some versions of the Christian Holy Bible, the Tetragrammaton is represented as Lord. This should be copyable and machine-processable as "Lord" or "LORD", but not "lord".

Roman numerals like LXVI may be printed at a small size, but be clearly distinct from uses of "lxvi" forms in the same work.

In modern use, a.m./p.m., A.M./P.M., and A.M./P.M are all acceptable. A.D., B.C., A.H., etc. are not presented as "a.d.", "b.c.", or "a.h.".

### Implementation details

This template uses the CSS property font-variant: all-small-caps. The expected rendering behaviour is:

• If supported by both web browser and font, true small-caps glyphs will be used.
• If supported by the browser but not the font, normal upper-case glyphs will be used, scaled down to the x-height.
• If the web browser doesn't recognise the property, all-caps and mixed case will remain unaltered.

• {{Small-caps}} (equivalently {{Small caps}}, {{sc}}) convert lower-case source to small-caps glyphs, but leave upper-case as large capitals.
• {{fs70}}, {{fs75}}, etc. can be used to scale down capitals without requesting small-cap glyphs.

This template is used to insert two-rows-text into a line. This might be useful for some East-Asia language practice.

### Usage

{{Annotate partition | First-row-text. | Second-row-text. }}

Some how it will show like this. First-row-text. Second-row-text. And continue in one line.

But please note that the copy-text would become like this:

Some how it will show like this.
First-row-text.
Second-row-text.
And continue in one line.

Parameters

There is also some useful parameters:

| size = font-size, default 0.8em
| align = text-align, default left
| valign = vertical-align, default middle
| weight = font-weight, default inherit

Example

Redirect

• {{Ruby}} for ruby characters. Another similar annotations form and most commonly used as pronunciation guides for characters.

### Usage

Produces a small-caps initialism: {{Arjunaraoc}} → Template:Arjunaraoc

There is a small gap between the letters (roughly the size of an HTML &thinsp; as is common in typesetting. If this is not what you need, you can either target index CSS at the .wst-asc-initials class, or use {{asc}} directly. This space is made with CSS, so it will not interfere with copy-paste or searching for text like "{{{text}}}".

 The following use of {{sc}} is incorrect, as it copy-pastes as "{{{text}}}", not "{{{text}}}": {{sc|{{{text}}}}}. Even if you do not use this template, use {{asc|{{{text}}}}}.

• {{all small caps}}.
• {{BC}} → B.C.
• {{AH}} → A.H.

## Usage

The template gives an inline straight line, sometimes used to mark redactions, missing text or the continuation of a excerpt.

You should not use a sequence of em-dashes to produce this effect, as with some browsers or fonts this appears as a dashed line. This template is not suitable for a centred dividing line - the template {{rule}} is for that.

There is one parameter, the length of the line, in "ems", which default to "6" if left out.

### Examples

{{bar}}{{lorem ipsum}}


——————Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

<poem>
{{bar|3}}continued line
whole line here, which is all very well until
half a line{{bar|3}}
</poem>


———continued line
whole line here, which is all very well until
half a line———

### Technical

This template uses two "span" tags, one to give the strike-though and one inside that holding invisible em-dashes. This has the following benefits:

• does not use the deprecated (in HTML 4.01) and redefined (in HTML 5) <s> tag
• copy-pastes as em-dashes (—) instead of blank space
• shows em-dashes if CSS is disabled or not available

## Usage

This template formats text as "Bigger bolder small caps".

## Example

{{bbsc|Bigger bolder small caps}}

Bigger bolder small caps

## Documentation

This template simplifies small-capital [letter] formatting of Big text in order to desnot the editbox.

nb: The span tag takes control of the font-size and sets bold, too… semantically, this should be done with explicit strength/boldness with either a strong or b element added to the wrap (or wiki-style apostrophes; I would favor using strong).

## Example

{{big small-caps|Big Small-Caps}}


Big Small-Caps

### Usage

This template renders text in a blackletter ("fraktur" or "gothic") typeface using webfonts.

{{blackletter|Text}}

Alphabet: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z

### Typeface

This template uses the UnifrakturMaguntia font, which is released under the SIL Open Font License.

By default, this template uses optional modern glyphs for certain letters rather than the standard glyphs for this font. See "Modes" for details.

### Examples

{{blackletter|Hello, world}}

Hello, world

{{blackletter|{{lorem ipsum}}}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

{{blackletter|{{xx-larger|'''Hello''', {{red|world!}}}}}}

{{blackletter|This {{green|template}} is fully '''''compatible''''' with:}}
* {{blackletter|{{larger|Other}} {{smaller|formatting}} templates.}}
* {{blackletter|Wikicode formatting like ''italic'', '''bold''' and '''''bold italics'''''.}}


Hello, world!

This template is fully compatible with:

• Other formatting templates.
• Wikicode formatting like italic, bold and bold italics.

### Modes

Optionally certain glyphs can be altered, via different modes, to use a more modern version than is standard for this font. Mode 0 is the default; mode 1 uses the standard glyphs for the font.

{{blackletter|Text|mode=}}
Modes for Template:Blackletter
Mode Glyph(s) Example
0 A, S, V, Y, k, s, x, y Your Very Mixed Snakes Are Sneaking South
1 n/a Your Very Mixed Snakes Are Sneaking South
2 S Your Very Mixed Snakes Are Sneaking South
3 k Your Very Mixed Snakes Are Sneaking South
4 S, k Your Very Mixed Snakes Are Sneaking South
5 A, S, k Your Very Mixed Snakes Are Sneaking South

### Inline variant

The template {{Blackletter/inline}} (or convenience abbreviation {{Bl/il}}) takes the same parameters, but has an artificially short line height to integrate it in a paragraph's text without creating a potentially taller line for some users. This is best used in passages which have a book's normal typeface with only a little bit of blackletter.

The following example paragraph begins with this inline version, then has a simulated exaggeration of the problem it is intended to avoid. The second paragraph is a demonstration that a longer passage likely appears unobjectionable in standards-compliant browsers (see {{Line-height}} for the technical reason); however, since this doesn't respect the font's recommended spacing, avoid this unless similarity to nearby text is the required effect.

{{blackletter/inline|Even}} {{lorem ipsum}} <span style="vertical-align: text-top;">{{blackletter/inline|line-height=200%|Uneven}}</span> {{lorem ipsum}}

{{blackletter/inline|{{lorem ipsum}}}}

Even Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Uneven Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

### Redirects

Only uses the Blackletter font in the Page namespace, similarly to the {{long s}} template.

### Usage

{{blpo|text}}

{{blpo|text|lang=de}}


Lightweight alternative to the {{Blackletter}} template.

### Usage

{{blackletter light|Text}}
 Alphabet: A Ä B C D E F G H I J K L M N O Ö P Q R S T U Ü V W X Y Z a ä b c d e f g h i j k l m n o ö p q r s ß t u ü v w x y z Numbers: 1 2 3 4 5 6 7 8 9 0 Punctuation: . , ; : ! ? ( ) [ ] ‚ ‘ ’ „ “ ”

## Usage

This template places a block of text in the center of the page, without affecting the text alignment within that block.

{{bc}} is a shorter form of this template that redirects here.

Comparison of {{Block center}} and {{Center}}

This template retains the current text alignment (usually left), but moves the entire block of text into the center. To change to centred text alignment, use {{Center}} instead.

Block center

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

Center

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

### Parameters

All parameters are optional.

• title: Title of the block (optional)
• width: the width of the block
• max-width: the maximum width of the block. Optional: default 100%.
• align: the text alignment within the block. One of left, right, center, justify, default is unspecified and so inherits from the parent.
• class: additional CSS classes, which can be used in conjunction with Help:Page styles CSS. The classes wst-block-center and wst-block-center-title are always applied to the block and to the title respectively.
• style: additional CSS styles (prefer a class if the style is re-used within a work)

#### title

Where there is a need to give the title of the work, an optional "title" parameter can be used. Sometimes this is will center the title better than a stand-alone line will; other times not - it usually depends on if a fixed width (next example) is forced or not.

{{block center|title=LOREM IPSUM|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/>
Aenean commodo ligula eget dolor.

Aenean massa.}}

LOREM IPSUM

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

#### width

Where there is a requirement to fix the width of the block, an optional "width" parameter can be used. Sometimes this is required to force a wider width when line wrap occurs.

{{block center|width=25em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/>
Aenean commodo ligula eget dolor.

Aenean massa.}}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

Note: this will force the width even when the page is narrower than the given width, up to the maximum specified by max-width, or 100% if that's not given.

Note: generally, avoid using percentages, as this will probably be unreasonably narrow on small screens. If the content is text, prefer text-relative CSS units, such as em. See H:PXWIDTH for more details.

#### max-width

This parameter provides a maximum width for the block, such that no matter how wide the parent container, the centred block will be no wider than this. Very often, this is a better choice than width, because it allows content to shrink on smaller screens like e-readers.

{{block center|max-width=15em|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna }}

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

However, if the parent container is smaller that this value, the block will shrink as normal:

<div style="width:10em; margin:auto;">
{{block center|max-width=15em|
Lorem ipsum dolor sit amet, consectetur adipisicing elit
}}
</div>


Lorem ipsum dolor sit amet, consectetur adipisicing elit

The two parameters can be combined. In this case, the width will be set according to the width parameter on small screens (below the max-width value), and then will be limited to the max-width value on large screens. Note that the width value has to change according to the parent size, so it's normally a percentage value (often 100%).

This is useful when there are floated blocks that don't cause the block to expand to the correct width, but where it's still desirable for the block to shrink on smaller screens:

<div style="width:100%; border:1px dashed green;">
{{block center|max-width=40em|width=100%
|Wide parent: max-width of 40em applies.{{-}}{{float right|''Text on the right.''}}
}}
</div>

Wide parent: max-width of 40em applies.
Text on the right.
<div style="width:30em; margin:auto; border:1px dashed green;">
{{block center|max-width=40em|width=100%
|Narrow parent: 100% width{{-}}{{float right|''Text on the right.''}}
}}
</div>

Narrow parent: 100% width
No overflow of parent.

#### style

Where there is a need to specify the style of the text, an optional "style" parameter can be used. This parameter takes the same style attributes that can be set for any table.

{{block center|style=font-style:italic|<poem>
Lorem ipsum dolor sit amet,
Aenean commodo ligula eget dolor;
{{gap}}Aenean massa.
</poem>}}

Lorem ipsum dolor sit amet,
Aenean commodo ligula eget dolor;
Aenean massa.

#### align

The text alignment within the (overall) centered block may be controlled using this (default: left):

{{block center|align=right|<poem>
Lorem ipsum dolor sit amet,
Aenean commodo ligula eget dolor;
{{gap}}Aenean massa.
</poem>}}

Lorem ipsum dolor sit amet,
Aenean commodo ligula eget dolor;
Aenean massa.

## Spanning multiple pages

If you use many separate block centers you will find that every page has a slightly different alignment, however this template cannot be left "dangling" and closed on another page to create one big block center. If you have a multipage block center, you can use {{block center/s}} and {{block center/e}} to open and close it on each page. Every page must have one of each, one at the start and one at the end. However, you may place one or both of them in the header or footer, so they will not be transcluded to the main namespace. When the pages are all transcluded, you will end up with just one {{block center/s}} and just one {{block center/e}} at the start and end of the section, respectively.

### First page

Nothing is required in the header

Body
{{block center/s}}
Start of the block center text.
Contents of the block center goes here.

Footer
{{block center/e}}


### Middle pages

{{block center/s}}

Body
Contents of the block center go here; this continues the previous page.

Footer
{{block center/e}}


### Last page

{{block center/s}}


Body
Contents of the block center go here; this continues the previous page.
Last bit of block center text
{{block center/e}}

Footer

Nothing is required in the footer of the last page.

## Usage

This template places a block of text in the left of the page, without affecting the text alignment within that block.

Comparison of {{Block left}} and {{left}}

This template retains the current text alignment (usually left), but moves the entire block of text into the left. To change to left text alignment, use {{left}} instead.

Block left

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.
left
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

Aenean commodo ligula eget dolor.

Aenean massa.

### Parameter

Where there is a requirement to fix the width of the block, an optional "width" parameter can be used.

Note: when the content is text, prefer text-relative units like em to absolute units like px. See H:PXWIDTH for more details.

{{block left|width=25em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/>
Aenean commodo ligula eget dolor.

Aenean massa.}}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

Aenean commodo ligula eget dolor.

Aenean massa.

## Usage

This template places a block of text in the right of the page, without affecting the text alignment within that block.

Comparison of {{Block right}} and {{right}}

This template retains the current text alignment (usually left), but moves the entire block of text into the right. To change to right text alignment, use {{right}} instead.

Block right

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

Right

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

### Parameters

All parameters are optional.

• width set the width of the block
• offset set the distance ("indent") from the right margin
• gutter set the gap between the normal content and the block
• align set the internal alignment of the block
• collapse remove gaps between paragraphs inside the block
• style add other kinds of style

#### Width

Where there is a requirement to fix the width of the block, an optional width parameter can be used. Avoid px units and prefer a text-relative unit such as em when the content is textual[1].

Example

{{block right|width=25em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/>
Aenean commodo ligula eget dolor.

Aenean massa.}}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

#### Offset

To offset the entire block back from the right margin, an optional offset parameter may be used:

Example

{{block right|offset=4em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/>
Aenean commodo ligula eget dolor.

Aenean massa.}}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

#### Gutter

To specify the gap between normal content and the right-floated content, use the gutter parameter:

Example

{{right block
| width=50%
| gutter=10em
| align=center
| [[File:Traffic-signs-manual-chapter-3-diagram 622-2 (2008).svg]]
}} {{lorem ipsum}}


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

To align the content of the right-aligned block within the block, an optional align parameter may be used:

Example

{{block right|align=center|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/>
Aenean commodo ligula eget dolor.

Aenean massa.}}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

#### Collapse

To remove vertical spacing between paragraphs inside the block (for example, when you want a centered line, and the right-aligned line[2]), the collapse parameter may be used:

Example

{{lorem ipsum}}
{{block right|collapse=y|width=20em|
{{center|Centered text goes here}}
Left-aligned text goes here
{{right|Right-aligned text goes here}}
}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Centered text goes here

Left-aligned text goes here

Right-aligned text goes here

1. See H:PXWIDTH for further details.
2. Common in some signature blocks

### Usage

An easy way to insert blockquotes without using HTML and with less typing.

For instance:

Example

{{Blockquote|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}}


renders as:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

{{blockquote/s}} and {{blockquote/e}} can be used across page breaks.

## Documentation

This template simplifies formatting text that is bolder.

## Example

{{bolder|bolder}}


Weight template Sample
{{lighter}} Lorem ipsum dolor sit amet,
{{font-weight-normal}} Lorem ipsum dolor sit amet,
{{bold}} Lorem ipsum dolor sit amet,
{{bolder}} Lorem ipsum dolor sit amet,

### Usage

This template includes mw:TemplateStyles CSS that applies to a specific work (or group of works). This allows the use of more semantically-correct markup rather than purely stylistic markup[1].

#### In Page: namespace

Place {{BookCSS}} in the header.

If you have a CSS that is not specific to the Index name (for example, a common CSS shared by a series), use {{BookCSS|Title of CSS}}, which will use Template:BookCSS/Title of CSS.css.

#### In main namespace

For the Main namespace, place {{BookCSS}} just before the transclusions:

{{BookCSS|Sandbox.djvu}}
<pages index="Sandbox.djvu" from=1 to=2 />


### Notes

1. For example, the use of === Heading === rather than {{center|{{x-larger|'''Heading'''}}}}, or the ability to add styles to certain lists.

## Usage

This specialized template creates a box to display text or combined text/images in; it creates a border around whatever you would like. Each property has a default so you do not need to define the setting if what you want is already the default.

You can embed other templates within this one (e.g. {{rule}} or {{sc}} or even another {{border}}). However, embedded templates that contain parameters, and things like tables, may cause this template to not work properly. In that case, use {{border/s}} and {{border/e}} instead.

Note: If you place images inside this box, be sure to define it so that the box is larger than the image.

### Basic template

This template is without the optional parameters.

{{border|Your content here}}

### Full template

This template includes all optional parameters. Note that you may need to delete unused parameters for the template to work correctly.

{{border |2= |3= |4= |5= |6= |7= |8= |9= |style= |
Content
}}
{{border |max-width= |bstyle= |bthickness= |color= |bgcolor= |align= |position= |padding= |style= |
Content
}}

### Parameters

• 1: whatever goes in the box
• maxwidth (2): maximum width of the content area in pixels or percentage (default: null/full width)
• Note: You probably don't want 100% as it doesn't mean 100% of that "section" of the page. It means 100% of the screen size. So, if you choose 100%, it will end up going off the screen as the screen size will be added to the size of the navigation bar on the left. If you want it to just fill the content area of the screen, leave the option empty.
• Note 2: Maximum width is used so that the box is responsive to screen sizes smaller that won't allow the box to fit without scrolling right. ie. mobile browsers
• Note 3: If your box contains text, do not use px as a unit, as this will scale badly if text is a different size (mobile, export, and visually-impaired users with large system fonts). Use a text-relative size like em instead. See H:PXWIDTH for details.
• bstyle (3): border style (default: solid)
• Options: solid, dotted, dashed, double, groove, ridge, inset, outset
• Note: If you choose a border such as double but a thickness of 1px, it will still appear to be a single border because it is only 1px thick. Therefore, for the non-solid borders it is recommended to choose a value greater than 1px.
• bthickness (4): border thickness in pixels (default: 1px)
• color (5): border color (default: #000000, black)
• bgcolor (6): background color (default: #FFFFFF, white)
• Note: You can define the color in plain English (e.g. white) or hexadecimal (e.g. #FFFFFF). See Web Colors for more information.
• align (7): alignment within the box (default: left)
• Options: left, center, right, justify
• position (8): alignment of the box (default: center)
• Options: left, center, right
• padding (9): padding, the space between the border and the content inside it, in pixels (default: 5px)
• style: CSS, which will override any styles defined before it

## Examples

### Default

{{border|

{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.
{{rule|3em}}
1834.
}}


Displays as:

McCARTY & DAVIS, No. 171, MARKET STREET.

1834.

### Example 1

{{border|maxwidth=25em|bstyle=dashed|bthickness=5px|color=black|align=center|

{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.
{{rule|3em}}
1834.
}}


Displays as:

McCARTY & DAVIS, No. 171, MARKET STREET.

1834.

### Example 2

{{border|maxwidth=25em|color=black|position=right|padding=40px|

{{right|{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.}}
}}


Displays as:

McCARTY & DAVIS, No. 171, MARKET STREET.

### Example 3

{{border|maxwidth=25%|bthickness=2px|color=#FF0000|bgcolor=aqua|position=left|

{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.
{{rule|3em}}
1834.
}}


Displays as:

McCARTY & DAVIS, No. 171, MARKET STREET.

1834.

### Example 4

{{border|maxwidth=25em|bstyle=ridge|bthickness=10px|color=navy|bgcolor=#66FF99|align=center|padding=20px|style=border-radius:25px|

{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.
{{rule|3em}}
1834.
}}


Displays as:

McCARTY & DAVIS, No. 171, MARKET STREET.

1834.

### Example 5

{{border/s|maxwidth=25em|bstyle=ridge|bthickness=10px|color=navy|bgcolor=transparent|align=center|padding=20px|style=border-radius:25px}}

{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.
{{rule|3em}}
1834.
{{border/e}}


Displays as:

McCARTY & DAVIS, No. 171, MARKET STREET.

1834.

### "Double Border"

#### Standard

There are two ways to make a double border. One is to use the standard "double border" feature of CSS. It is simple and only requires that parameter 3 be equal to double. Here is what this will look like:

{{border|maxwidth=25em|bstyle=double|bthickness=8px|align=center|padding=20px|

{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.
{{rule|3em}}
1834.
}}


Displays as:

McCARTY & DAVIS, No. 171, MARKET STREET.

1834.
{{border|maxwidth=15em|bstyle=double|bthickness=20px|align=center|padding=20px|

{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.
{{rule|3em}}
1834.
}}


Displays as:

McCARTY & DAVIS, No. 171, MARKET STREET.

1834.

#### Creative / Controllable

However, for more control, you may wish to use a border within another border:

{{border|maxwidth=25em|bthickness=2px|position=center|padding=7px|

{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.
{{rule|3em}}
1834.
}}}}


Displays as:

McCARTY & DAVIS, No. 171, MARKET STREET.

1834.

• {{Ruled box}}: for boxes with borders only on top and bottom
• {{Centered Box}}: centered box, width to fit text
• {{Frame}}: full width frame around content

Inserts a line break without using HTML tags in the body of MediaWiki code.

### Usage

Break up lines of text as such:

Roses are red{{br}}
Violets are blue

• {{lb}} which outputs a line break that is not shown in the Page: namespace
• {{!lb}} which outputs a line break that is only shown in the Page: namespace
• {{wbr}}, which recommends line breaks to the browser

This template inserts a "brace segment": part of a brace (curly bracket) that can be put into a table to span multiple items.

## Usage

• Parameter 1 determines the orientation of the brace: l (left - { ), r (right - } ), o (over - ⏞ ) or u (under - ⏟⏟ ).
• Parameter 2 determines the part of the brace:
• t: top end:
• b: bottom end:
• m: middle (for braces with odd number of sections):
• mt: middle, top (for braces with even numbers of segments):
• mb: middle, bottom (for braces with even numbers of segments):
• s: span (between middle and end):
• ht: half-brace top (for 2-segment braces)
• hb: half-brace bottom (for 2-segment braces)
• l: left end:
• r: right end:
• ml: middle, left (for braces with even numbers of segments):
• mr: middle, right (for braces with even numbers of segments):
• hl: half-brace left (for 2-segment braces)
• hr: half-brace right (for 2-segment braces)
• Parameter 3 is an optional width for the segment tiles (default is 25) in pixels. All tiles in one brace must be the same for alignment.
• Note that the table needs to have zero padding and cell spacing. The template {{brace table parameters}} will set these for you.
• In the case of horizontal (under and over) brace, left is the "top" and right the "bottom"

## Example

 Foo {{brace|r|t}} Bar {{brace|r|s}} Spam {{brace|r|mt}} Eggs {{brace|r|mb}} Bread {{brace|r|s}} Text {{brace|r|m}} Text {{brace|r|b}} Stuff {{brace|r|ht}} Things {{brace|r|hb}}

## Usage

The template generates a variable height brace using LaTeX math markup. These are especially useful in tables where they are used to group items. For the technical details, see: mw:Extension:Math.

Parameters
• 1: the height of the brace in lines (this is not necessarily the same as lines of text, you may need to tweak it). Optional, default: 1
• 2: the direction of the brace ("up", "u", "down", "d", "left", "l", "right" or "r"). Optional, default: right.

## Examples

### Plain use

{{brace2|}}
{{brace2|2}}
{{brace2|4|r}}
{{brace2|1|l}}
{{brace2|3|l}}
{{brace2|1|u}}
{{brace2|6|u}}
{{brace2|1|d}}
{{brace2|6|d}}


${\displaystyle \scriptstyle {\left.{\begin{matrix}\ \end{matrix}}\right\}\,}}$  ${\displaystyle \scriptstyle {\left.{\begin{matrix}\ \\\ \end{matrix}}\right\}\,}}$  ${\displaystyle \scriptstyle {\left.{\begin{matrix}\ \\\\\ \\\ \ \end{matrix}}\right\}\,}}$  ${\displaystyle \scriptstyle {\left\{{\begin{matrix}\ \end{matrix}}\right.}}$  ${\displaystyle \scriptstyle {\left\{{\begin{matrix}\ \\\\\ \ \end{matrix}}\right.}}$  ${\displaystyle \scriptstyle {\overbrace {} }}$  ${\displaystyle \scriptstyle {\overbrace {\quad \quad \quad \quad \quad } }}$  ${\displaystyle \scriptstyle {\underbrace {} }}$  ${\displaystyle \scriptstyle {\underbrace {\quad \quad \quad \quad \quad } }}$

### Formatting with tables

{|
| Item 1
| rowspan=2|{{brace2|2|r}}
|-
| Item 2
|}

 Item 1 ${\displaystyle \scriptstyle {\left.{\begin{matrix}\ \\\ \end{matrix}}\right\}\,}}$ Item 2

For putting a line on the right side of the brace, as well as for creating this brace in case of Non-English Wikisource if this template is not present, see example here. However, if the line on right is to be put immediately after or at slight gap from the brace, it can be done as per here.

### Usage

Create a box with "brace borders"

• side: one of left, right, lr, top, bottom, tb
• outside: outset the border so the contents is inline with neighbouring content.
• shrink: Shrink to fit content as inline block element (optional - by default fills horizontal space)

Example

{{brace border|side=lr|shrink=y|Some content}}
{{brace border|side=right|shrink=y|Some content}}
{{brace border|side=top|shrink=y|Some content}}


Some content

Some content

Some content

Example: Use of outside parameter

You can use some padding on the containing element to give the border a space to "spill" into:

{| class="wikitable"
|-
| style="padding-left:10px;" | {{brace border|side=lr|Content is inset by border width}}
|-
| style="padding-left:10px;" | {{brace border|side=lr|outside=y|Same left margin as top cell}}
|}

 Some content Content is inset by border width Same left margin as top cell

## Notes

• The border width is 10px.
• This will not export properly until phab:T256780 is resolved (but then neither will {{brace2}} until phab:T270589 is resolved)

Sets padding and spacing to zero in tables where images (especially brace segments) need to butt together seamlessly.

## Usage

Call this template last in your table options:

{| align=center {{brace table parameters}}
|CELL 1||CELL 2...


This template may be used to generate a bulleted list in similar vein to HTML's <ul></ul> list. A typical application is within captions, where the equivalent wiki markup (asterisks at the starts of new lines) may be awkward or impossible to use.

## Usage

{{bulleted list |item1 |item2 |...}}

## Parameters

• Positional parameters (1, 2, 3...) – these are the list items. If no list items are present, the module will output nothing.
• class – a custom class for the <div></div> tags surrounding the list, e.g. plainlinks.
• style – a custom css style for the <div></div> tags surrounding the list, e.g. font-size: 90%;.
• list_style – a custom css style for the list itself. The format is the same as for the |style= parameter.
• item_style – a custom css style for all of the list items (the <li></li> tags). The format is the same as for the |style= parameter.
• item1_style, item2_style, item3_style... – custom CSS styles for each of the list items. The format is the same as for the |style= parameter.

## Example

• one
• two
• three
[[File:Example.png|thumb|100px|{{bulleted list |one |two |three}}]]


• {{unbulleted list}} / {{plainlist}}, templates producing vertical lists without prefixes (e.g. without bullets, other shapes, numbering).
• {{ordered list}}, a template producing a vertical list whose items are prefixed by incremental numbers or letters.

### Usage

Template for documentation that shows inline CSS: .classname { color: green; }

• 1 the content

#### Examples

Example

* {{CSS|.classname { color: green; } }}

• .classname { color: green; }

• {{code}} for generic code

The "CTOC" templates are an attempt to create a custom, collapsable table of contents. Use of the "title" and "content" templates together allow a collapsable table of contents with a depth of one (ex. Title, Chapter). The templates may be nested to create TOCs with more depth (ex. Title, Chapter, Section). See the example below.

## Templates

The templates include:

## Usage

### CTOC-title

"CTOC-title" Parameters
Paramater Mandatory Definition Notes
1 yes The anchor.
3 no indent level. Tabs over 2em for each level (if 2 is entered, text is tabbed 2 x 2em = 4 em). Is "0" if not defined.

### CTOC-title-nl

"CTOC-title-nl" Parameters
Paramater Mandatory Definition Notes
2 no indent level. Tabs over 2em for each level (if 2 is entered, text is tabbed 2 x 2em = 4 em). Is "0" if not defined.

### CTOC-content

"CTOC-content" Parameters
Paramater Mandatory Definition Notes
1 yes The anchor.
3 no indent level. Tabs over 2em for each level (if 2 is entered, text is tabbed 2 x 2em = 4 em). Is "0" if not defined.

### CTOC-content-nl

"CTOC-content" Parameters
Paramater Mandatory Definition Notes
1 yes The anchor.
3 no indent level. Tabs over 2em for each level (if 2 is entered, text is tabbed 2 x 2em = 4 em). Is "0" if not defined.

### End

|} is entered after the last line of content.

## Example

{{CTOC-title|Constitution Act, 1867#act|<u>'''Constitution Act, 1867'''</u>}}
{{CTOC-content-nl|
{{CTOC-title|Constitution Act, 1867#Part I|'''Part I. Preliminary'''|1}}
{{CTOC-content|Constitution Act, 1867#1.|'''1.''' Short title.|4}}
{{CTOC-content|Constitution Act, 1867#2.|'''2.''' [Repealed]|4}}
|}
}}
{{CTOC-content-nl|
{{CTOC-title|Constitution Act, 1867#Part II|'''Part II. Union'''|1}}
{{CTOC-content|Constitution Act, 1867#3.|'''3.''' Declaration of Union.|4}}
{{CTOC-content|Constitution Act, 1867#4.|'''4.''' Construction of subsequent Provisions of Act.|4}}
{{CTOC-content|Constitution Act, 1867#5.|'''5.''' Four Provinces.|4}}
{{CTOC-content|Constitution Act, 1867#6.|'''6.''' Provinces of Ontario and Quebec;|4}}
{{CTOC-content|Constitution Act, 1867#7.|'''7.''' Provinces of Nova Scotia and New Brunswick.|4}}
{{CTOC-content|Constitution Act, 1867#8.|'''8.''' Decennial Census.|4}}
|}
}}
{{CTOC-content-nl|
{{CTOC-title|Constitution Act, 1867#Part III|'''Part III. Executive Power'''|1}}
{{CTOC-content|Constitution Act, 1867#9.|'''9.''' Declaration of Executive Power in the Queen.|4}}
{{CTOC-content|Constitution Act, 1867#10.|'''10.''' Application of Provisions referring to Governor General.|4}}
{{CTOC-content|Constitution Act, 1867#11.|'''11.''' Constitution of Privy Council for Canada.|4}}
{{CTOC-content|Constitution Act, 1867#12.|'''12.''' All Powers under Acts to be exercised by Governor General with Advice of Privy Council, or alone.|4}}
{{CTOC-content|Constitution Act, 1867#13.|'''13.''' Application of Provisions referring to Governor General in Council.|4}}
{{CTOC-content|Constitution Act, 1867#14.|'''14.''' Power to Her Majesty to authorize Governor General to appoint Deputies.|4}}
{{CTOC-content|Constitution Act, 1867#15.|'''15.''' Command of Armed Forces to continue to be vested in the Queen.|4}}
{{CTOC-content|Constitution Act, 1867#16.|'''16.''' Seat of Government of Canada.|4}}
|}
}}
|}


## Documentation

This template simplifies formatting text that is capitalized.

## Example

{{Capitalize|test}}

test

### Usage

For formatting transcluded text in   Castelvines y Monteses (Cosens).

## Usage

This template combines {{center}} and {{Small-caps}}.

## Example

{{Center Small Caps|Foo and Bar}}
{{csc|Foo and Bar}}

Foo and Bar

## Usage

This template centers a block of text, much like {{block center}}.

### Parameters

Where there is a requirement to fix the width or height of the block, optional "width" and "height" parameters can be used. If additional style adjustments are required, use the optional "style" parameter.

#### Example 1

{{center block|width=25em|height=15em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br>
Aenean commodo ligula eget dolor.

Aenean massa.}}


Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

#### Example 2

• For exactly the same "spacing" as rendered by normal paragraph(s) before &/or after the template-inserted content.
<p>By clicking the “Save page” button, you are agreeing to the Terms of Use, the Privacy Policy, and you irrevocably agree to release your contribution under the CC-BY-SA 3.0 License and the GFDL. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.</p>

{{center block|width=25em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br>
Aenean commodo ligula eget dolor.

Aenean massa.}}



Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

#### Example 3

• For slightly larger "spacing" between normal paragraph(s) before &/or after the template-inserted content.
<p>By clicking the “Save page” button, you are agreeing to the Terms of Use, the Privacy Policy, and you irrevocably agree to release your contribution under the CC-BY-SA 3.0 License and the GFDL. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.</p>

{{center block|style=max-width:25em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br>
Aenean commodo ligula eget dolor.

Aenean massa.}}



Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

## Usage

This template centers a block of text, much like {{block center}}.

### Parameters

Where there is a requirement to fix the width or height of the block, optional "width" and "height" parameters can be used. If additional style adjustments are required, use the optional "style" parameter.

#### Example 1

{{center block|width=25em|height=15em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br>
Aenean commodo ligula eget dolor.

Aenean massa.}}


Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

#### Example 2

• For exactly the same "spacing" as rendered by normal paragraph(s) before &/or after the template-inserted content.
<p>By clicking the “Save page” button, you are agreeing to the Terms of Use, the Privacy Policy, and you irrevocably agree to release your contribution under the CC-BY-SA 3.0 License and the GFDL. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.</p>

{{center block|width=25em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br>
Aenean commodo ligula eget dolor.

Aenean massa.}}



Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

#### Example 3

• For slightly larger "spacing" between normal paragraph(s) before &/or after the template-inserted content.
<p>By clicking the “Save page” button, you are agreeing to the Terms of Use, the Privacy Policy, and you irrevocably agree to release your contribution under the CC-BY-SA 3.0 License and the GFDL. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.</p>

{{center block|style=max-width:25em|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br>
Aenean commodo ligula eget dolor.

Aenean massa.}}



Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.

Aenean massa.

### Usage

This template creates a heading that is centred if it is short and fits on a single line, or left aligned with a hanging indent if it's longer and spans multiple lines. This is a common formatting method in some works with a mixture of short and long chapter titles or descriptions.

You can specify an indent by adding a width as the first parameter (just like {{hanging indent}}). For a non-hanging indent, set indent to yes.

Simple usage
{{Center or HI|Short Heading text}}


{{Center or HI|Long heading: {{lorem ipsum}}}}


Long heading: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Specify the hanging indent by putting the indent width first
{{Center or HI|8em|{{lorem ipsum}}}}


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Normal (non-hanging indent)
{{Center or HI|indent=yes|8em|{{lorem ipsum}}}}


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

• {{hanging indent}} for hanging indents that are not centred when short

This template is for creating chapter headings (or titles) with some standard formatting. You may use either {{Chapter heading}} or the shorter {{ch}}.

## Usage

### Defaults

• Font size: 120% (equal to {{larger}})
• Text alignment: center
• Small caps: no
• Uppercase: yes
• Top margin: 2em
• Bottom margin: inherited

#### Uppercase?

Uppercase text, especially in headings, is generally a typographic/stylistic choice, not a statement of emphasis. It is therefore better to type titles in title case and use CSS (via {{uc}} or this template) to style it.

### Basic template

This template is without the optional parameters.

{{ch|Content}}

### Full template

This template includes all optional parameters, except for the extra CSS styling parameter. Note that you may need to delete unused parameters for the template to work correctly.

Labeled:

{{ch|fontsize=|align=|sc=|uc=|margintop=|marginbottom=|Content}}

### Parameters

• 1: Content.
• 2 or fontsize: Size of the font, defined in %, em, px, pt, in or cm. See W3Schools for more possible definitions. Default: 120%
• 3 or align: Text alignment. left, center, right, justify. Default: center
• 4 or sc: Small caps. Use sc=yes for small caps. Cancels out uppercase effect. Default: null
• 5 or uc: Uppercase. Use uc=no for text as written. If sc=yes, then this parameter will be null. Default: uppercase
• 6 or margintop: Margin above the heading, defined in %, em, px, pt, in or cm. Default: 2em
• 7 or marginbottom: Margin below the heading, defined in %, em, px, pt, in or cm. Default: null
• style: CSS, which will override any styles defined before it. Remember to use semicolons to end statements.

## Examples

### Default

{{ch|The Wind at the Back of the House.}}

Produces:

The Wind at the Back of the House.

### Bold and italics

Use can single quotes to define italics and bold as your normally would. (Or, if you know the CSS, you can use that as well.)

#### Bold

{{ch|'''The Wind at the Back of the House.'''}}

Produces:

The Wind at the Back of the House.

#### Italics

{{ch|''The Wind at the Back of the House.''}}

Produces:

The Wind at the Back of the House.

#### Bold italics

{{ch|'''''The Wind at the Back of the House.'''''}}

Produces:

The Wind at the Back of the House.

### Font size

{{ch|fontsize=200%|The Wind at the Back of the House.}}

Produces:

The Wind at the Back of the House.

### Alignment

{{ch|align=left|The Wind at the Back of the House.}}

Produces:

The Wind at the Back of the House.

### Small caps

{{ch|sc=yes|The Wind at the Back of the House.}}

Produce:

The Wind at the Back of the House.

### No uppercase

{{ch|uc=no|The Wind at the Back of the House.}}

Produces:

The Wind at the Back of the House.

### Top and bottom margins (changed)

Text before
{{ch|margintop=1em|marginbottom=3em|The Wind at the Back of the House.}}
Text after

Produces:

Text before

The Wind at the Back of the House.

Text after

### Styling with CSS

{{ch|sc=yes|style=background-color:black; color:white; border:10px outset gray;|'''The Wind at the Back of the House.'''}}

Produces:

The Wind at the Back of the House.

{{ch|uc=no|style=border-bottom:1px solid black|'''The Wind at the Back of the House.'''}}

Produces:

The Wind at the Back of the House.

{{ch|sc=yes|style=font-weight:bold; font-style:italic;|The Wind at the Back of the House.}}

Produces:

The Wind at the Back of the House.

CHAP. II.

### Usage

For chapter headings in   The Case of Charles Dexter Ward.

Example

{{Charles Dexter Ward chapter heading|CHAPTER ONE|A RESULT AND A PROLOGUE}}

CHAPTER ONE

A RESULT AND A PROLOGUE

### Usage

This template formats the character name at the beginning of a passage in a play or drama.

The name will be italicized and followed by a period.

#### Parameters

• 1: Name of the character speaking the line.
• 2: Optional. Establishes the width of space in which the Name will appear. Default width is 5em.
• 3: Optional. Indent width at the head of the line, preceeding the space allocated by 2. Default is 1em of indentation.

#### Examples

{{charname|Ulysses}} That will I never do!<br />
The mighty Troy would be indeed disgraced<br />
If I should fly one man.


Renders as:

Ulysses. That will I never do!
The mighty Troy would be indeed disgraced
If I should fly one man.

{{charname|Œdip|3em}} Soon we shall know.


Renders as:

Œdip. Soon we shall know.

### Usage

Used to show Chinese characters written from right to left.

Parameters
• 1: the word
• style (optional): CSS styles

#### Examples

{{Chinese rtl|我們}}


‮我們‬

{{Chinese rtl|三字經|style=background: orange;}}


‮三字經‬

### Usage

Used to present a block of vertically-formatted Chinese text, as often found in older texts.

#### Parameters

• 1: The contents, formatted into columns with something like {{vertical text}}
• size: Font size (optional, default 150%)
• height: Line height (optional, default 120%)
• border: Border style (optional, default "1px solid black")

#### Examples

{{chinese vertical block|
{{vertical text|千手千眼無礙大悲陀羅尼}}
{{vertical text|阿彌陀佛接引念佛善人往生}}
{{vertical text|西方}}
}}

 千手千眼無礙大悲陀羅尼 阿彌陀佛接引念佛善人往生 西方

### Usage

This template draws a one-pixel thick circle or rounded square around a given string of text in a line.

#### Parameters

• 1: The text to be enclosed.
• size: The size of the shape to be drawn (diameter of the circle), in em. Default: 2.
• radius: The radius of the arcs in the corners of the border, in em. For a circle, this should be set to one half of the size. Default: 1.

#### Examples

{{circled text|AB}} produces:

AB

{{circled text|AB|size=3|radius=1.5}} produces:

AB

{{circled text|AB|size=4|radius=1}} produces:

AB

For an example of usage in a transcription, see Page:The Nestorians and their rituals, volume 1.djvu/24.

### Usage

Create a block that applies one or more classes. This is intended for use in conjunction with CSS via H:Page styles.

The template differs from most other templates in Category:Templates applying classes for page styles in that is has no intrinsic semantic content other than the class provided.

• 1 The class name (or multiple, separated by spaces)
• 2 The block content.
• style 'inline' style overrides on a per invocation basis. USE with caution.

{{class block/s}} and {{class block/e}} are provided for spanning page breaks.

Example

._class_block_demo {
text-align: center;
color: green;
font-size: 150%;
}

{{class block|_class_block_demo|Content}}


Content

### Usage

This generates a HTML heading element for use in applying semantically-correct headings to works when == Equals syntax == is insufficient (perhaps because you want to apply a class, or have multiple lines).

It explicitly has no support for direct CSS formatting: it is designed for use with classes and/or index-specific CSS.

By default, the headings have the normal MediaWiki font sizes for headings, but are centred, not bolded and do not have an underline.

• level The heading level (default: 2)
• class Optional CSS classes (use this if you have multiple heading styles in a single work). The top-level heading element always has class .wst-heading as well as additional classes.
• id Optional ID (used as an anchor). If not given the contents of the first line is used. This parameter should also be used to add an suitable simple id, if markup or complex formatting is used in the first line (such as a footnote directly associated with the heading.)
• 1, 2, etc. The lines of the header. Each line is in a span under the default span with class .wst-heading-line and can be targeted with :nth-child as needed.

Example

{{classed heading|l=2|Line 1|Line 2}}
{{lorem ipsum}}


## Line 1Line 2

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Example

{{classed heading|l=3|Line 1|Line 2}}
{{lorem ipsum}}


### Line 1Line 2

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

### Common CSS examples

There are a few common styling choices you may wish to replicate. You can target specific levels using the hN tag names.

h3 .wst-heading-line {
margin-bottom: 1.5em;
}


#### Small-caps for the second line onwards

h3 .wst-heading-line:nth-child(n+2) {
font-variant: small-caps;
}


Also consider all-small-caps if you want Proper Nouns to appear in "all small caps", including the first letters: e.g. Oxford.

#### Left-aligned titles

h3 .wst-heading {
text-align: left;
}


• {{heading}} if you need to use direct inline CSS formatting rather than via classes

### Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Arjunaraoc

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
levellevel l

Default
3
Example
3
Numbersuggested
11

Example
Chapter 1
Linerequired
22

Example
Down the Rabbit-Hole
Lineoptional
classclass

Optional class to use to target specific CSS

Example
Lineoptional
idid

ID of the header - can be used for linking to sections

Default
Contents of the first line (parameter 1)
Example
chapter1
Unknownoptional

### Usage

In general, this template adds <div style="clear: both"></div>.

With one unnamed parameter, the content will delayed until just the right or left column is complete.

For technical XHTML details see w:Template talk:Clear.

{{clear}}
{{clear|left}}
{{clear|right}}


### Usage

This template uses the same CSS property as {{clear}}, but has additional float property to place on the left or right side of the page. This can insert an invisible breakpoint to indicate that a floating element should be placed at its position. So this template makes element placed under the upper element to make existing content is completed in the maximum width of columns, and make it possible to stop element from flowing next to upper element to produce an useless blank between the element and the side of page.

{{clear2}}
{{clear2|left}}
{{clear2|right}}


## Usage

{{clearright}}: Makes rightward-clinging content appear below preceding rightward-clinging material. Text will probably be flowing on the left side.

### Related

• {{clear}}: Delays content until image display is complete.

Note that this template behaves differently to {{clear}}. This means that the template will have "clear" behaviour for CSS floated content, such as image boxes, but it will not appear to have any effect on standard flowed text. If this is a problem, the simplest fix may be to use {{clear}} instead.

This template produces a collapsible list. It is possible to set w:CSS styles for the "frame" (the <div></div> tags surrounding the list), for the list title, and for the list items. The template supports an unlimited number of list items.

## Syntax

{{collapsible list
|expand     = <!--(optional)-->
|framestyle = <!--(optional)-->
|titlestyle = <!--(optional)-->
|title =
|liststyle  = <!--(optional)-->
|hlist      = <!--(optional)-->
|bullets    = <!--(optional)-->
| [1 = ]      <!--(First item in list; the "1 =" is usually optional)-->
| [2 = ]      <!--(Second item in list; ditto)-->
| [3 = ]      <!--(Third item in list; etc.)--->
| ...
}}


## Parameters

• Positional parameters (1, 2, 3...) - these are the list items. If no list items are present, the module will output nothing.
• expand - specifying expand = true, or any non-blank value, will set the default state to expanded.
• framestyle - a custom css style for the <div></div> tags surrounding the list, e.g. font-size: 90%;.
• titlestyle - a custom css style for the <div></div> tags surrounding the title.
• title - the list title.
• liststyle - a custom css style for the <ul></ul> tags surrounding the list.
• hlist - specifying hlist = true, or any non-blank value, will cause the template to output a horizontal list.
• bullets - specifying bullets = true, or any non-blank value, will cause the template to produce bullets for each list item.

## Examples

{{Collapsible list
|title = List of Gitmo related EOs
|titlestyle = font-weight:bold; color:yellow; margin:0em 4.0em 0.5em 0em; width:400px;
|1 = • [[Military Order of November 13, 2001]]
|2 = • [[Executive Order 13425]], February 14, 2007
|3 = • [[Executive Order 13440]], July 20, 2007
|4 = • [[Executive Order 13492]], January 22, 2009
}}


### Example of a list without borders because it's within an infobox

In these examples, the fields leader_name2 and leader_name3 have been changed to use collapsible list.
{{Infobox settlement
|official_name     = City of Hamilton
|motto             = Together Aspire - Together Achieve
|image_skyline     = HamiltonOntarioSkylineC.JPG
|imagesize         = 250px
|image_caption     =
|image_map         = Map of Ontario HAMILTON.svg
|mapsize           = 200px
|map_caption       = Location in the province of Ontario, Canada
|subdivision_type  = Country
|subdivision_name1 = [[Ontario]]
{{Collapsible list
|framestyle=border:none; padding:0; <!--Hides borders and improves row spacing-->
|title=List of MPs
|1=[[Dean Allison]] |2=[[Chris Charlton]] |3=[[David Christopherson]] |4=[[Wayne Marston]] |5=[[David Sweet]]
}}
|leader_title3     = [[Member of Provincial Parliament (Ontario)|MPPs]]
{{Collapsible list
|title=List of MPPs
|1=[[Marie Bountrogianni]] |2=[[Andrea Horwath]] |3=[[Judy Marsales]] |4=[[Ted McMeekin]] |5=[[Jennifer Mossop]]
}}
|established_title = [[Municipal corporation|Incorporated]]
|established_date  = June 9, 1846
}}
<pre style="font-size:95%; overflow:auto;">
{{Infobox settlement
|official_name     = City of Hamilton
...truncated...
{{Collapsible list
|framestyle=border:none; padding:0; <!--Hides borders and improves row spacing-->
|title=List of MPs
|1=[[Dean Allison]] |2=[[Chris Charlton]] |3=[[David Christopherson]] |4=[[Wayne Marston]] |5=[[David Sweet]]
}}
|leader_title3     = [[Member of Provincial Parliament (Ontario)|MPPs]]
{{Collapsible list
|title=List of MPPs
|1=[[Marie Bountrogianni]] |2=[[Andrea Horwath]] |3=[[Judy Marsales]] |4=[[Ted McMeekin]] |5=[[Jennifer Mossop]]
}}
|established_title = [[Municipal corporation|Incorporated]]
|established_date  = June 9, 1846
(...etc...)
}}


### Usage

{{Colors| background | foreground | text }}

Sets foreground and background colors of a block of inline text. Colors can be specified by name, or (RGB hex triplet) in #DDDDDD format.

Unless in the case of personal use on a user page, use this template with great caution:

• A poor contrast may make the text difficult or impossible to read.
• The contrast can be experienced as even poorer in the case of color blindness.
• Links have a color according to user settings; they become invisible if this color is equal to the background color.

### Standard color names

The HTML 4.01 specification defines sixteen named colors, as follows:

black #000000 silver #c0c0c0
gray #808080 white #ffffff
maroon #800000 red #ff0000
purple #800080 fuchsia #ff00ff
green #008000 lime #00ff00
olive #808000 yellow #ffff00
navy #000080 blue #0000ff
teal #008080 aqua #00ffff

### Usage

{{columns-list|''number of columns''|
''text (usually a list)''
}}

Based on Template:Reflist, but different in that the text to be displayed is manually created rather than a list of references. Also different from Template:Columns in that this template is intended to be used in a list in the article itself, rather than in a navigation template like Template:Navbox.

## Usage

This template is used for verses in "complex" (i.e. non-Latin) scripts that have a Romanised transliteration and translation. Example include Greek, Cyrillic, Sanskrit, etc.

### Layout

All parameters are named: positional arguments will not work.

{{Complex script verse
|chap  =  chapter number
|verse =  verse number
|s1    =  original line 1
|s2    =  original line 2
|r1    =  transliterated line 1
|r2    =  transliterated line 2
|tr    =  translation
}}

{{Complex script verse
|chap  =
|verse =
|s1    =
|s2    =
|r1    =
|r2    =
|tr    =
|nb    =
}}


### General

The template is a left-aligned table, containing a side-by-side comparison of the text and it's transliteration, as these are intrinsically linked. The width of the left cells (original text) is fixed, to ensure each verse aligned with the last.

The original and transliteration are not given special formatting, and are set line-by-line. If either the original or transliteration wraps due to lack of screen space, the lines will not become mis-aligned.

The lines are specified separately, as "s1" (s for script or source) and "r1" (r for Romanisation) for the first line, "s2" and "r2" for the second line and so on. If you require more lines that are supported by the template (currently 4), copy and paste the following code and change the number as appropriate. A comment is provided to indicate the correct spot. Update this documentation when you do this! Lines without an "sX" parameter will not be rendered, even if there is an "rX" parameter.

{{#if:{{{s4|}}}|{{!}}
{{!}} style="border-right:1px solid #2E8B57; padding:0em 1em 0em 0em;" {{!}} {{{s4}}}
{{!}} style="padding:0em 0em 0em 1em;" {{!}}{{{r4}}}
{{!}}-}}


The translation is under this, allowing free-verse translation that doesn't match line-for-line. This translation is bolded, so a casual reader can skip through the translated text without being distracted by the original or transliteration. The translation is set inside <poem> tags, so <br> tags are not required to break to lines.

Comments can be given using the "nb" parameter, these will be under the translation, in smaller font and indented form the left margin.

### Verse numbering and anchoring

• If both "chap" and "verse" are given, chapter and verse numbers will be given in [chapter:verse] format.
• If just "verse" is given, the verse number will be given as [verse].
• If just "chap" is given, the verse number will be given as [chap].
• If neither are given, nothing will be shown.
• If the verse is given, an anchor called "verseX" will be made, allowing direct linking to that verse.
• If just the chapter (and no verse) is give, an anchor named "chapterX" will be made.

### Example

{{Complex script verse
|chap=1
|verse=8
|s1=न मानसं कर्म शुभाशुभं मे
|s2=न कायिकं कर्म शुभाशुभं मे ।
|s3=न वाचिकं कर्म शुभाशुभं मे
|s4=ज्ञानामृतं शुद्धमतीन्द्रियोऽहम् ।।८।।
|r1=na mānasaṁ karma śubhāśubhaṁ me
|r2=na kāyikaṁ karma śubhāśubhaṁ /
|r3=na vācikaṁ karma śubhāśubhaṁ me
|r4=jñānāmṛtaṁ śuddhamatīndriyo'ham //8//
|tr=I have no mental activity, good or bad;
I have no bodily function, good or bad;
I have no verbal action, good or bad.
I am the nectar of Knowledge - beyond the senses, pure.
|nb=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut vel ipsum orci, ac tincidunt sem. Cras libero dolor, gravida at congue in, aliquam non eros. Proin ligula eros, consectetur vitae condi mentum nec, cursus quis est. Aliquam hendrerit lobortis lobortis. Aliquam massa lectus, scelerisque non molestie nec, commodo sed lectus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dui tellus, dictum porttitor mollis nec, tristique eget urna.
}}


 [1:8] न मानसं कर्म शुभाशुभं मे na mānasaṁ karma śubhāśubhaṁ me न कायिकं कर्म शुभाशुभं मे । na kāyikaṁ karma śubhāśubhaṁ / न वाचिकं कर्म शुभाशुभं मे na vācikaṁ karma śubhāśubhaṁ me ज्ञानामृतं शुद्धमतीन्द्रियोऽहम् ।।८।। jñānāmṛtaṁ śuddhamatīndriyo'ham //8// I have no mental activity, good or bad; I have no bodily function, good or bad; I have no verbal action, good or bad. I am the nectar of Knowledge - beyond the senses, pure. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut vel ipsum orci, ac tincidunt sem. Cras libero dolor, gravida at congue in, aliquam non eros. Proin ligula eros, consectetur vitae condi mentum nec, cursus quis est. Aliquam hendrerit lobortis lobortis. Aliquam massa lectus, scelerisque non molestie nec, commodo sed lectus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dui tellus, dictum porttitor mollis nec, tristique eget urna.

### Usage

{{cquote|text|who said it|source}}


Note: This template should probably never be used in the content namespace, where the original quotation formatting must be used.

• $1 = the quote (mandatory) •$2 = person (optional)
• $3 = source, (optional), if exists defaults to Source •$4 = \$quotesize = fontsize of text in quote, (optional, default 40px)

All parameters except the text is optional. Use the 'quotesize' or fourth parameter to override the size of the curly quotes.

## Usage

This template adds a true carriage return and line feed. It is useful in markup when wikimarkup that must start on a new line such as #, * or ; is used in a table or template. For example, the {{markup}} template creates a table:

Including * Text causes the * bullet markup to not be parsed
Markup Renders as

* Text

• Text
Including <br/> parses the bullet markup, but adds a blank line
Markup Renders as

&lt;br /&gt;
* Text


• Text
Using {{crlf2}} parses the bullet markup without extra white space
Markup Renders as

{{crlf2}}
* Text


• Text

## Documentation

This template is used to format text that is cursive or handwritten.

### Note on transcribing handwriting

Wikisource transcriptions do not include notes or markings that are written on the page after publication. We only include the text as published. That being said, there are some situations where cursive text is part of the work itself, such as:

• Manuscripts and facsimiles of manuscripts (including handwritten letters)
• Cursive-style fonts used within a published text, either as a decorative header, an illustration, or otherwise

In these situations, the {{cursive}} template may be appropriate.

### Note on font display

This template uses the cursive CSS value to format the display of text. The font currently used is provided by a user's web browser, so rendering of its display is uncertain.

A cursive font to be used as a default has been requested.

## Example

{{cursive|Curlicue Display}} gives:

Curlicue Display

### Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Arjunaraoc

Cursive (e.g. handwritten) text

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
content1

The cursive text content

Unknownrequired

## Documentation

This template simplifies formatting text that is cursive or handwritten.

### Note on transcribing handwriting

Wikisource transcriptions do not include notes or markings that are written on the page after publication. We only include the text as published. That being said, there are some situations where cursive text is part of the work itself, such as:

• Manuscripts and facsimiles of manuscripts (including handwritten letters)
• Cursive-style fonts used within a published text, either as a decorative header, an illustration, or otherwise

In these situations, the {{cursive block}} template may be appropriate.

### Note on font display

This template uses the cursive CSS value to identify the text as cursive. The actual font used depends on your web browser. Your mileage will vary. You can modify the font used to display cursive text by changing the settings in your web browser.

### As open and close tags

This template is also available in an open and close format where the <div> needs to span a page break in the Page namespace.

The Wikisource community has requested that a cursive font be added to our platform that can be used as the default font for cursive text. This request is still outstanding.

## Example

{{cursive block|cursive}} gives:

cursive

## Usage

This template creates a rule made up of a number of interchangeable image segments. Each element is a pair of parameters, the first selecting the pattern, the second selecting the size, as such there will always be an even number of parameters added.

The parameters are a sequence of identifiers for the type of feature followed by that feature's width in pixels. These always form pairs of parameters. Below is a list of the features available. Update this list if you know of elements that are missing.

Stylistic options for Template:Custom rule
Shorthand Identifier Example Widths available
sp Span   5, 10, 20, 40, 50, 100
atl, atr Arrow Thin (Left, Right)     10
tl Tear Left   20, 40
tr Tear Right   20, 40
str Star   6, 10
w Wave   40
s Square   5, 10
so Square open   5, 10
d Diamond   4, 6, 10
do Diamond open   7
lz Lozenge   20, 40, 60, 140
lzt Lozenge thin   20, 40, 60, 100, 200, 250, 300, 350, 400
c Circle   6
co Circle open   6, 10, 20
r Rectangle   15
crt, crr, crb, crl Crescent         10
el Ellipse   15
col Colon   4, 6
fl, fr Flare (Left, Right)     12, 40
fc Flare Centre   14, 22, 40, 60, 80, 100, 140
fct Flare Centre thin   20, 40, 60, 80, 100, 120, 140
cll, clr Curl (Left,Right)     10
fy1 Fancy1   40
fy2 Fancy2   100
fy3 Fancy3   40

If an an identifier is not available for a segment you want, add it to {{custom rule segment}}, or use the plain identifier without a shorthand. Eg {{custom rule|sp|100}} = {{custom rule|Span|100}}.

The feature must be available as that specific size. If it is not, the image will not be found, and a red link will appear. You can see a full list at the Rule segments category at Commons. If you add your own segments, add them to this category.

## Example

{{Custom rule|sp|100|d|6|sp|10|d|10|sp|10|d|6|sp|100}}


Notice the "flange" for matching to the background rule.

It is easy to add images to the set. In order to be found, the filename must be in the form "Rule Segment - [Identifier] - [Width]px.svg. Example: File:Rule Segment - Span - 10px.svg

Note that it is also required that the image meet up well at the sides. The rule is 1px wide, so the features must have a 1px edge on each side, in the exact centre (vertically) of the edge. To ensure this, run a 1px line through the feature so that it fills in the gaps. See the diagram on the left for an example of how this is done. Ensure that the line is aligned with the pixel grid (but not centred on it), otherwise it will come out blurry when rendered. To fix this, shift up or down by 0.5px. Be careful about edges of features as well, especially horizontal or vertical ones—these should be also aligned to pixel edges.

You will also need to add code to the template that grabs the image segments, {{Custom rule segment}}. Instructions on modifying that template can be found on the documentation there.

For complex rules, more segments can be added. Edit this template and paste in line in the format:

</noinclude>{{#if:{{{17|}}}|{{!!}}{{Custom rule segment|{{{17}}}|{{{18}}}}}}}<noinclude>


Make sure the numbers are continuous through the template, and that you match the first parameter of this line to the second one, otherwise the template will not render reliably.

## Usage

This template is called by the {{custom rule}} template, and should not be used by itself.

Adding feature types is easy: add code=Featuretype to the switch statement in this template. Eg: c=Circle. Remember to add a pipe (|) to delineate it from the next one.

### Usage

This template is used to mark a page as having a default dynamic layout, overriding the standard "Layout 1" and the user's currently set default. This does not set the cookie, so it won't affect the next page the user visits.

There is a single parameter: the name of the layout

 {{default layout|Layout 2}}


This template requires the "Allow layout override" Gadget, which can be enabled or disabled in your your preferences (it is enabled by default). If you do not wish to have the layout overriden for you, turn off this gadget. The gadget's Javascript definition can be found here.

This template will have no effect for users without Javascript, since the whole dynamic layout framework requires Javascript.

#### Usable layouts

You can use any of the standard layouts. You should not use any layouts that exist only for a subset of users, because they will not appear for any other users.

The following table shows the default layouts available for all users.

Layout name Description
Layout 1 The default layout as seen by a user with no options already set. The text spans across the page, sidenotes are enclosed in a bordered box.
Layout 2 The text is justified and enclosed in a centered fixed-width column (36em). Sidenotes are displayed in empty margins of the page, on the left and right. Similar to the style used on the French and Italian Wikisources.
Layout 3 Header is displayed on the right of the pages, the text content on the left, justified. Sidenotes are shown in the space under the header. Similar to the style at German Wikisource.
Layout 4 Equivalent to Layout 2 (central fixed-width column, justified)

### Technical notes

This section describes how this template achieves the default layout. It is only required to read this if you want to modify it.

The template adds a hidden (by display:none) span element to the page with the layout name in the tag body:

<span style="display:none" id="dynamic_layout_overrider">Layout Name<span>


A Javascript function then checks the page when it loads for an element with the id "dynamic_layout_overrider" and if it exists, extracts the name and sets the layout as appropriate. If the layout name does not exist, nothing happens.

• Help:Layout for a description of the dynamic layout system.
• This is a flexible, general template for handing margin and indentation settings. The first argument sets the left margin; the second, the text-indent; the third, the text. All are mandatory.

## Examples

Normal indentation (you can use {{text-indent}} for this)

{{dent|0|2em|{{lorem ipsum}}}}


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Hanging indentation (you can use {{hanging indent}} for this)

{{dent|2em|-2em|{{lorem ipsum}}}}


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Hanging indent with a margin shift (this general template is the simplest tool in this case)

{{dent|4em|-2em|{{lorem ipsum}}}}


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

For an example of the template in use, see Page:Flora Australiensis Volume 5.djvu/329.

### Usage

Hides content on the mobile site. This can be (occasionally) useful when there is auxiliary or decorative content that is more of a hindrance on mobile due to the limited width. For example images that are right-floated "asides" on desktop pages are in the main flow on mobile.

 Do not use this to contain important content, as it will be inaccessible to mobile users.

### Usage

This template is used to indicate that a main namespace page is not to have a dynamic layout style applied under any circumstance. This is for use on pages like Main Page. It should not be used to disable dynamic layouts on content pages - there are more flexible ways to do that.

There are no parameters:

{{disable layouts}}


• {{default layout}} - used to apply a suggested layout to a content page.

### Usage

Closing </div>
Used to close out open templates where text needs to be wrapped.

Note: Number of templates link here. To see the content for the template usage, please see the relevant opening/start tag.

This is the {{Documentation}} template.

For most of the instructions about how and when to use this template, see w:Wikipedia:Template documentation.

This template displays a green doc box like you are seeing now, and automatically loads the content from a /doc subpage. It can also load the content from other places if instructed to.

This template is intended for documenting templates and other pages which are transcluded onto other pages. It can be used in template space and most other namespaces.

Use of this template allows templates to be protected where necessary, while allowing anyone to edit the documentation and categories.

### Usage

Normally this template is used without any parameters, placed at the bottom of the template or page being documented, within <noinclude> tags:

<!--Last line of your template code--><noinclude>
{{Documentation}}

<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>


Then this template automatically loads the content from the /doc subpage of the template it is used on.

This template can also load the content from any other page. Like this:

<!--Last line of your template code--><noinclude>
{{Documentation |Template:Other page/doc}}

<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>


Note that when loading the documentation from a page other than the local /doc page it becomes tricky to handle categories.

The content can also be fed directly as text. Like this:

<!--Last line of your template code--><noinclude>
{{Documentation |content=
Some documentation text.
}}

<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>


When the |content= parameter is used, the doc box normally does not show the  [purge] links in the top right corner. Note that if the /doc page exists a link to it is still shown in the link box below the doc box.

Parameter |1= and the |content= parameter can also be combined, like this:

<!--Last line of your template code--><noinclude>
{{Documentation
|1=Template:Any page/doc
|content=
{{Template:Any page/doc |parameters}}
}}

<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>


Then the pagename fed as parameter 1 is used for the  [purge] links and for the /doc link in the link box below the doc box. But the content parameter is used for the content shown in the doc box. The above code means that the content is transcluded as {{Template:Any page/doc|parameters}}. In this example a parameter is also fed to the /doc page being loaded.

### Best practice

The code should be added at the bottom of the template code, with no space before <noinclude> (which would cause extra space on pages where the template is used).

Categories that apply to the template itself should be added to the bottom of the /doc subpage, inside <includeonly> tags. For more complex cases, see w:Wikipedia:Template documentation#Categories and interwiki links. Interwiki links ahould be added on WikiData.

If the documentation page contains <includeonly> or <noinclude> tags as part of the visible documentation text, replace the "<" with "&lt;".

When in the Template namespace, this template shows this heading:

Template documentation

In most other namespaces, such as "Wikisource:", it shows this heading:

Documentation

But when on File (image) pages it shows this heading:

Summary

The heading parameter can be used to set the heading to something else. Like this:

{{Documentation |heading=Infobox documentation}}

If the heading parameter is empty but defined, no heading is shown and no  [purge] links are shown. Like this:

{{Documentation |heading=}}

The heading-style parameter can be fed optional CSS values. Without quotation marks " " but with the ending semicolons ;. For example:

heading-style = color: red; font-size: 150%;

Below the big doc box is a small link box that shows some meta-data about the documentation. The link box shows different things depending on what parameters are fed to this template, and in which namespace it is used. In some cases the link box is not shown at all.

To hide the link box, add the parameter |link box=off.

You can also insert customised text in the link box, by defining the |link box= parameter. For example: |link box=This documentation is automatically generated by [[Template:Country showdata]]

### Automatic functions

If the documentation page does not exist, the [create] link includes a preload page so that clicking it will pre-fill the edit form with the basic documentation page format. Preload text is also used for the /sandbox and /testcases (create) links.

When this template is on a protected template page it now automatically adds {{pp-template}} which shows the grey or red padlock in the top right corner. So no need to manually add {{pp-template}} to templates that use {{Documentation}}.

When this template is on a /sandbox subpage it automatically adds the {{Template sandbox notice}}.

### Subject namespaces vs. talk namespaces

Terminology: Subject namespaces are the opposite of talk namespaces. For instance "Template:" is the subject space of "Template talk:".

This template is usually placed in a subject namespace, within <noinclude> tags. But in some cases this template needs to be on the talk page:

• In the Mediawiki namespace, since <noinclude> often does not work in system messages, and since the Mediawiki namespace needs to be kept clean for performance reasons.

When placed on talk pages, this template usually is placed near the top of the page and without <noinclude></noinclude>tags.

The /doc, /sandbox and /testcases pages should normally be in the subject namespace, except in the namespaces that do not have the MediaWiki subpage feature enabled: Main, File, Mediawiki and Category. (But currently we only show the /sandbox and /testcases links from User, User talk, Template and Template talk namespaces.) There are also a whole bunch of other technical reasons why the /doc page must be stored under the talk page for those (but only those) namespaces.

This template automatically points its [create] links for the /doc, /sandbox and /testcases to the right namespace.

### Testing

You can simulate the output for a given page by using the |page= parameter. For example, if you use the code |page=Template:Edit protected, the template will behave exactly as if it were on the page Template:Edit protected, including showing the documentation from Template:Edit protected/doc, linking to Template:Edit protected/sandbox, etc. This parameter is useful for testing, and is used extensively on the module test cases page.

### Technical details

This template calls {{Documentation/start box2}} and {{Documentation/end box2}} which in turn call {{Documentation/start box}} and {{documentation/end box}}. The /start box (and /end box) hold most of the code, while this template and /start box2 (and /end box2) do parameter preprocessing.

For more technical details see the talk page.

## Usage

Template for generating characters with a dot above.

shorthand version

No shorthand version exists.

no parameter

Without parameter a superscripted dot is generated:

text{{dot-above}}text


text.text

valid parameter

A valid parameter is one of the letters a, b, c, d, e, f, g, h, i, m, n, o, p, r, s, t, w, x, y, z, or its uppercase pendant. A valid parameter generates a letter with a dot above:

{{dot-above|a}}{{dot-above|A}} {{dot-above|z}}{{dot-above|Z}}


ȧȦ żŻ

invalid parameter

An invalid parameter generates this parameter followed by a superscripted dot:

{{dot-above|k}}{{dot-above|K}}


k.K.

## Usage

Template for generating characters with a dot below.

shorthand version

No shorthand version exists.

no parameter

Without parameter a subscripted dot is generated:

text{{dot-below}}text


text.text

valid parameter

A valid parameter is one of the letters a, b, d, e, h, i, k, l, m, n, o, r, s, t, u, v, w, y, z, or its uppercase pendant. A valid parameter generates a letter with a dot below:

{{dot-below|a}}{{dot-below|A}} {{dot-below|z}}{{dot-below|Z}}


ạẠ ẓẒ

invalid parameter

An invalid parameter generates this parameter followed by a subscripted dot:

{{dot-below|c}}{{dot-below|C}}


c.C.

## Usage

Template for generating a dotless small letter i.

shorthand version

No shorthand version exists.

valid parameter

The only valid parameter is i or I:

{{dotless|i}}{{dotless|I}}


ıI

no/invalid parameter

An invalid or no parameter has no effect:

text{{dotless}}text


texttext

{{dotless|a}}{{dotless|A}}


aA

### Description

A simple template to obtain a dotted row to be used into summaries.

### Example

Code (testing various font-sizes too)

<table width="50%" align="center">{{Dotted summary row|Title of the chapter 1|14}}
{{Dotted summary row|Title of the chapter 2, much longer than a single row because it needs to be to show the wrapping effect|15}}
{{Dotted summary row|{{x-larger|Title of the chapter 1}}|{{x-larger|16}}}}
{{Dotted summary row|{{smaller|Title of the chapter 1}}|{{smaller|17}}}}

Result

 Title of the chapter 1 14 Title of the chapter 2, much longer than a single row because it needs to be to show the wrapping effect 15 Title of the chapter 1, x-larger 16 Title of the chapter 1, smaller 17

### Test implementation

A test implementation can be seen here: Page:The Modern Art of Taming Wild Horses.djvu/7

### css requirements

To see dots you need these css additive settings:

.dotted {
background-repeat:no-repeat;
background-position:left bottom;
}
.opaque {
background-color:white;
}

• {{Dotted summary row no image}} - a similar template with more complicated and uglier HTML, which requires line wraps to be manually inserted, but which allows changing the size of the dots and the use of a solid or dashed line in place of dots.

### Description

A template to obtain a dotted row to be used into summaries. Note that the dots and other border styles may appear differently from browser to browser.

### Usage

You MUST enclose a series of one or more calls to this template with an HTML table tag, as below.

Code:

<table width="500px" align="center" style="background-color:transparent;">{{Dotted summary row no image|Title of chapter 1|14}}
{{Dotted summary row no image|{{x-larger|Title of chapter 2}}|{{x-larger|15}}|border-width=3px}}
{{Dotted summary row no image|{{smaller|Title of chapter 3}}|{{smaller|16}}|border-width=1px}}
{{Dotted summary row no image|Title of chapter 4|17|border-style=dashed}}
{{Dotted summary row no image|Title of chapter 5|18|border-style=solid}}</table>

Result:

 Title of chapter 1 ​ 14
 Title of chapter 2 ​ 15
 Title of chapter 3 ​ 16
 Title of chapter 4 ​ 17
 Title of chapter 5 ​ 18

#### Line breaking

The way the HTML code works, line breaking cannot be handled automatically. By default, the template will force everything onto one line.

If you have a line that is long enough to wrap, you must manually insert the line break into the final line. (The preceding lines can be wrapped automatically.)

Code:
<table width="500px" align="center" style="background-color:transparent;">{{Dotted summary row no image/sandbox|ftplines=Title of chapter 5, Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident,|finalline=sunt in culpa qui officia deserunt mollit anim id est laborum|pagenum=18}}</table>

Result:

 Title of chapter 5, Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum 18

You pass the first few lines as the parameter {{{ftplines}}} (first to penultimate lines) and then the last line as parameter {{{finalline}}}. You must then explicitly pass the page number as parameter {{{pagenum}}} - i.e. you have to say pagenum=n, you can't just leave it as an unnamed parameter.

Note that, unfortunately, the line will probably wrap at a different point on different browsers and on different computers, so you'll probably need to compare and choose a point somewhere in the middle of all those variants. Or of course you could just use {{Dotted summary row}} instead, which is able to wrap automatically.

#### Hanging indent

When breaking across multiple lines there is a {{{hanging indent}}} parameter available.

Code:
<table width="500px" align="center" style="background-color:transparent;"> {{Dotted summary row no image|ftplines=Title of the chapter 5, Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat|finalline=non proident, sunt in culpa qui officia deserunt mollit anim id est laborum|pagenum=18|hanging-indent=2em}}</table>

Result:

 Title of the chapter 5, Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat ​ non proident, sunt in culpa qui officia deserunt mollit anim id est laborum ​ 18

### Parameters

• {{{1}}} or text - The text or section title to appear on the left hand side
• {{{2}}} or pagenum - The page number to appear on the right hand side
• border-width - Controls the size of the dots or other border. Value may be any valid CSS value. Defaults to "2px".
• border-style - Controls the style of the line (CSS border) used. Value may be any valid CSS border-style value: none, hidden, dotted, dashed, solid, double, dot-dash, dot-dot-dash, wave, groove, ridge, inset, or outset as of 2010, though not all values may work in all browsers. Defaults to "dotted".
• finalline - See Line breaking above. No value by default.
• ftplines - See Line breaking above. No value by default.
• hanging-indent - See Hanging indent above. No value by default.

• The necessary HTML code requires any line wraps to be manually inserted as demonstrated above.
• Uses nested HTML tables, stylistically a no-no, to ensure cross-browser compatibility.
• Because the semantics and implementation of dotted and dashed borders are not fully specified as of CSS 3, output may appear different between different browsers.

• {{Dotted summary row}} - a similar template with simpler HTML, using an image for the dots and permitting the summary text to wrap automatically.

### Usage

Use anywhere to substitute two or more text rows between paragraphs, or increase space above and below a graphical object like {{rule}} which has no line height. The default height is 2em and this can be changed optionally, indicated in the table below.

Paragraph end

{{Dhr}}

{{rule|4em}}

{{Dhr}}

Paragraph begin


 Lorem ipsum dolor sit amet, . . .     Curabitur pretium tincidunt lacus. . . .

Optional alternate forms to permit variation in vertical spacing produced:
Markup Result
None Lorem ipsum dolor sit amet, . . .

Curabitur pretium tincidunt lacus. . . .

{{Dhr}} Lorem ipsum dolor sit amet, . . . Curabitur pretium tincidunt lacus. . . .
{{Dhr|110%}} Lorem ipsum dolor sit amet, . . . Curabitur pretium tincidunt lacus. . . .
{{Dhr|height=200%}} Lorem ipsum dolor sit amet, . . . Curabitur pretium tincidunt lacus. . . .
{{Dhr|3em}} Lorem ipsum dolor sit amet, . . . Curabitur pretium tincidunt lacus. . . .

## Template data

Add vertical space to a page.

Template parameters

ParameterDescriptionTypeStatus
heightheight 1

line height

Default
2em
Example
1.5em
Stringoptional

### Usage

This template simplifies formatting text that is double underlined.

Short form
{{du}} redirects here. Use this shorter form if you prefer.

## Examples

{{Double underline|double underlined text}}

double underlined text

{{du|double underlined text}}

double underlined text

{{Underline}}

Creates an in-line block with two lines of text. Useful for representing manual corrections in handwritten documents.

### Usage

{{dual line|top|bottom}}
{{dual line
| top    =
| bottom =
}}

### Examples

#### Example #1

{{dual line|hello|world}}

hello
world

#### Example #2

Two alternative versions of the same thing:

Lorem {{dual line|ipsum dolor|{{strike|dolor ipsum}}}} sit amet.

Lorem ipsum dolor
dolor ipsum
sit amet.

Lorem {{dual line
| top    = ipsum dolor
| bottom = {{strike|dolor ipsum}}
}} sit amet.

Lorem ipsum dolor
dolor ipsum
sit amet.

#### Example #3

To have the bottom row align with surrounding text, use style=vertical-align:baseline;

Lorem {{dual line|ipsum dolor|dolor ipsum|style=vertical-align:baseline;}} sit amet.

Lorem ipsum dolor
dolor ipsum
sit amet.

#### Example #4

To have the top row align with surrounding text, use style=vertical-align:text-top;

Lorem {{dual line|ipsum dolor|dolor ipsum|style=vertical-align:text-top;}} sit amet.

Lorem ipsum dolor
dolor ipsum
sit amet.

• {{sup}} — single raised line of text with smaller font-size
• {{raised text}} — single raised line of text with regular font-size
• {{transl}} ― display a foreign language word with the English translation displayed in a smaller font below it
• {{frac}}, displays common fractions using a fraction slash, e.g. 160
• {{mfrac}}, displays common fractions using LaTeX markup, e.g. ${\displaystyle \scriptstyle {\frac {1}{60}}}$
• {{sfrac}} for horizontal fraction line, e.g. 160
• {{sfrac nobar}}, displays common fractions without a fraction line, e.g. 160
• {{dual line}}, displays two lines of text as an inline block
• {{unifrac}}, displays the Unicode character for a fraction if it exists and otherwise delegates to {{frac}}, e.g. ⅝ but 160
• {{frac13}}, displays ⅓
• {{frac23}}, displays ⅔

## Purpose

This template is used to format the fine-print sections of articles from 1911 Encyclopædia Britannica. It differs from the {{font-size-x}} template in that it also proportionally reduces the line height a bit.

## Usage

For example, many articles have bibliographies at the end which are printed with a smaller-sized font. These sections would be handled as follows:

... Gellert wrote a few comedies: ''Die''
''Betschwester'' (1745), ''Die kranke Frau'' (1748), ''Das Los in der''
''Lotterie'' (1748), and ''Die zärtlichen Schwestern'' (1748), the last of
which was much admired. His novel ''Die schwedische Gräfin''
''von G.'' (1746), a weak imitation of Richardson's ''Pamela'', is
remarkable as being the first German attempt at a psychological
novel. Gellert's ''Briefe'' (letters) were regarded at the time as
models of good style.

{{EB1911 fine print/s}}
See Gellert's ''Sämtliche Schriften'' (first edition, 10 vols., Leipzig,
1769-1774; last edition, Berlin, 1867). ''Sämtliche Fabeln und Erzählungen''
have been often published separately, the latest edition in
1896. A selection of Gellert's poetry (with an excellent introduction)
will be found in F. Muncker, ''Die Bremer Beiträge'' (Stuttgart, 1899).
A translation by J. A. Murke, ''Gellert's Fables and other Poems''
(London, 1851). For a further account of Gellert's life and work
see lives by J. A. Cramer (Leipzig, 1774), H. Döring (Greiz, 1833),
and H. O. Nietschmann (2nd ed., Halle, 1901); also ''Gellerts''
''Tagebuch aus dem Jahre 1761'' (2nd ed., Leipzig, 1863) and ''Gellerts''
''Briefwechsel mit Demoiselle Lucius'' (Leipzig, 1823).
{{EB1911 fine print/e}}


Which yields:

... Gellert wrote a few comedies: Die Betschwester (1745), Die kranke Frau (1748), Das Los in der Lotterie (1748), and Die zärtlichen Schwestern (1748), the last of which was much admired. His novel Die schwedische Gräfin von G. (1746), a weak imitation of Richardson's Pamela, is remarkable as being the first German attempt at a psychological novel. Gellert's Briefe (letters) were regarded at the time as models of good style.

See Gellert's Sämtliche Schriften (first edition, 10 vols., Leipzig, 1769-1774; last edition, Berlin, 1867). Sämtliche Fabeln und Erzählungen have been often published separately, the latest edition in 1896. A selection of Gellert's poetry (with an excellent introduction) will be found in F. Muncker, Die Bremer Beiträge (Stuttgart, 1899). A translation by J. A. Murke, Gellert's Fables and other Poems (London, 1851). For a further account of Gellert's life and work see lives by J. A. Cramer (Leipzig, 1774), H. Döring (Greiz, 1833), and H. O. Nietschmann (2nd ed., Halle, 1901); also Gellerts Tagebuch aus dem Jahre 1761 (2nd ed., Leipzig, 1863) and Gellerts Briefwechsel mit Demoiselle Lucius (Leipzig, 1823).

## Usage tips

### Start and end versions

Where formatting continues through the termination of a page, or there are line breaks, {{EB1911 fine print/s}} and {{EB1911 fine print/e}} should be used.

Need to use {{EB1911 fine print/s}} and {{EB1911 fine print/e}} templates to show the reduced line height, as in example above.

Both templates should be placed on a line of their own, and not on the same line as any of the text they surround.

### Single version

When using {{EB1911 fine print|Fine-print text here.}} and the text contains an equal sign(s), each occurrence of = must be replaced by {{=}}. This template does not work reliably across paragraphs, so the easiest procedure is to apply it paragraph by paragraph when multiple adjacent paragraphs appear in fine print. However, if adjacent fine-print paragraphs contain no links or templates, often one instance of this template can enclose them all.

### Usage

This template formats quotations from The Golden Book of King Edward VII

#### Parameters

• 1: The quotation content (can be multiple paragraphs).

There exist also "split" variant of this template: {{Ed7GoldBookQuote/s}} and {{Ed7GoldBookQuote/e}} which can be used when a quotation spans a page break.

#### Example

{{Ed7GoldBookQuote|I feel now (wrote Albert Edward) what it is to be really happy. If I can make the future life and home of the Princess a happy one, I shall be content. I feel doubly happy in the thought that my approaching marriage is one that has the approval of the Nation: and I only trust that I may not disappoint the expectations that have been formed of me.}}

I feel now (wrote Albert Edward) what it is to be really happy. If I can make the future life and home of the Princess a happy one, I shall be content. I feel doubly happy in the thought that my approaching marriage is one that has the approval of the Nation: and I only trust that I may not disappoint the expectations that have been formed of me.
{{Ed7GoldBookQuote/s}}
I feel now (wrote Albert Edward) what it is to be really happy. If I can make the future life and home of the Princess a happy one, I shall be content. I feel doubly happy in the thought that my approaching marriage is one that has the approval of the Nation: and I only trust that I may not disappoint the expectations that have been formed of me.
{{tl|Ed7GoldBookQuote/e}}


I feel now (wrote Albert Edward) what it is to be really happy. If I can make the future life and home of the Princess a happy one, I shall be content. I feel doubly happy in the thought that my approaching marriage is one that has the approval of the Nation: and I only trust that I may not disappoint the expectations that have been formed of me.

### Usage

This is similar to the {{Gap}} template, but the parameter is always interpreted with em as the unit. An em (or em space) was originally the width of the character “M”.

*Leftward text{{em|.25}}Rightward text.
*Leftward text{{em|.5}}Rightward text.
*Leftward text{{em}}Rightward text.
*Leftward text{{em|2}}Rightward text.
*Leftward text{{em|4}}Rightward text.


results in:

• Leftward textRightward text.
• Leftward textRightward text.
• Leftward textRightward text.
• Leftward textRightward text.
• Leftward textRightward text.

Note that the default is 1 em.

### Usage

A template to offset text as having a stress emphasis. Most browsers will render this with italics. Note that this is distinct from the standard MediaWiki method of generating italics (''example'' or example), as that uses the i HTML tag, which stands for idiomatic text. Use this template for wording that needs to be stressed such as “You cannot be serious…” or “All visitors must sign in at the front desk”. Use the standard MediaWiki italicization for things such as:

• Alternative voice or mood (“Buy our toy kiddos, it's the coolest! This ad was brought to you by UltraCorp Inc.”)
• Certain taxonomic designations, such as species (“The noble guinea pig, or Cavia porcellus eats only vegan food.”)
• Terms or short passages in another language (“Olusegun Obasanjo made an impressive entrance, flanked by over a dozen bodyguards and dressed in an ornate agbada.”) Note that longer passages in another language should not be set this way and that foreign language text should be accompanied with {{lang}}.
• Technical terms (“As the biomass goes through stages of combustion, it will initially pyrolize before reaching full gasification.”)
• Transliterations (“The Book of Genesis is known as בְּרֵאשִׁית (English, Bereshit or Bərēšīṯ) for ‘in the beginning’ in Hebrew.”)
• Thoughts (“While the dull professor drolled on, she wondered will this ever end, just as the bell rang.”)
• Ship or vessel names (“The tragedy of the USS Indianapolis will never be forgotten.”)

Proper usage of this template:

• I have {{em text|never}} been so outraged in all my life!

to produce:

• I have never been so outraged in all my life!

• {{italics}}, for text that is explicitly marked as italicized and not emphasized
• {{strong}}, for strongly emphasized text
• {{cite}}, for titles of creative works

This template is intended for use on the Index:The English hymnal (1906).djvu (i.e. the version with tunes and harmonisations) retranscription project, as a way to standardise and facilitate formatting. It should be placed immediately before the lilypond score.

### Usage

#### Typical use

{{EnglishHymnalHeader
|tune = <!-- the name of the hymn tune, as indicated. No default formatting is applied here, you must add it manually. -->
|metre = <!-- the metre of the hymn, as indicated in the hymnal -->
|number = <!-- the number of the hymn, as it appears at the top. This is by default bolded and larger -->
|tempo text = <!-- the text used to describe the tempo. Italic by default -->
|tempo symbol = <!-- the note value for the tempo, using the same syntax as lilypond (so 4 = quarter, 4. = dotted quarter). Will produce it as corresponding Unicode musical character(s) -->
|tempo = <!-- the tempo indication -->
|description = <!-- whatever is on the right hand side (this will usually be the composer, or other indications of the nature). No default formatting. --> }}


Additional |description-middle= and |description-top= parameters are available if required. |description-alternative= is provided for use with alternative tunes or settings, such as for example Page:The English hymnal (1906).djvu/35.

The template will automatically add a period at the end of the tempo mark and an "equals" sign at the appropriate position, unless no tempo symbol is specified.

#### Example use

{EnglishHymnalHeader|tune='''Yorkshire {{sc|or}} Stockport.'''|metre=10 10. 10 10. 10 10.|number=21|tempo text=In moderate time, dignified|tempo symbol=4|tempo=100|description={{sc|J. Wainwright}}, 1723{{ndash}}68.}}

Which appears as thus:

21

Yorkshire or Stockport. (10 10. 10 10. 10 10.)

In moderate time, dignified 𝅘𝅥𝅭 = 100.

J. Wainwright, 1723–68.

#### Full version

The only parameters which are required (do not have a default value) are |number= and |description=. Everything else can be omitted if not needed.

{{EnglishHymnalHeader
|tune =
|metre =
|number =
|tempo text =
|tempo symbol =
|tempo =
|description-top =
|description-middle =
|description-alternative =
|description = }}


### Usage

#### Required parameters

• equation:
• label: reference label (preferable format: (section number).(equation number))

If label is not specified, id="label" is embedded instead.

#### Other parameters

• name: equation name
• pretext: pre-equation text
• posttext: post-equation text
• tag: equation number
• stretch: line height expressed as a percentage

### Example

{{equation|$\int f(x)dx$
| pretext= For example, | posttext= is displayed.
| name=(integral)| tag= (ex.1) | label=99.1
| stretch= 300}}

For example,
(integral)
is displayed. (ex.1)
${\displaystyle \int f(x)dx}$

## Documentation

This template simplifies formatting text that is fantasy.

Your mileage will vary, depending on how your browser renders text with this attribute.

## Example

{{fantasy|fantasy}} gives: fantasy

This template renders one or more blocks of text in "fine print", which is a smaller font but not as small as {{smaller}}, with reduced line spacing.

e.g.

{{fine block|{{lorem ipsum}}}}

yields

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

To reduce the size of a few words within a block of normal-sized text, use {{smaller}}—this will give you smaller text without breaking up the text, and without interfering in block-level properties like line spacing.

### Spanning page breaks

If you have a fine block that spans a page break, or if you have un-escaped pipes ("|") in the template, you need to use the "split" form of this template: {{fine block/s}} and {{fine block/e}}. This means that only a single "start" and "end" template appear in the transclusion, but each page is also wrapped, using the header and footer fields in the Page: namespace.

First page - body
{{fine block/s}}
First page text

First page footer
{{fine block/e}}

{{fine block/s}}
Second page body
Second page text
{{fine block/e}}


You will need to place {{fine block/s}} and {{fine block/e}} in the headers and footers of intermediate pages.

All Wikisource size templates are relative to the default size. There are two kinds of sizing template: inline and block templates. Inline templates are suitable for use within a paragraph, but can't handle paragraph breaks, and do not adjust line spacing. Block templates can handle paragraph breaks, and adjust line spacing, but are not suitable for use within a paragraph, as they will cause a paragraph break. See H:DIVSPAN for more details.

## Font size definition by relative differences using words

 The line heights of fonts greater than 100% increase proportionally with the font size. The line heights of fonts less than 100% are not proportional but inherit the line height of the font at the 100% size. The smaller the font, the greater the distance between rows of text. For these, see: Fonts smaller than 100% with proportional line heights

.

 Inline template Block template Size 12pt/16pxdefault base[a] Sample {{xx-smaller}} {{xx-smaller block}} 58% 7pt Lorem ipsum dolor sit amet, {{x-smaller}} {{x-smaller block}} 69% 8pt Lorem ipsum dolor sit amet, {{smaller}} {{smaller block}} 83% 10pt Lorem ipsum dolor sit amet, {{fine}} {{fine block}} 92% 11pt Lorem ipsum dolor sit amet, — — 100% 12pt Lorem ipsum dolor sit amet, {{larger}} {{larger block}} 120% 14pt Lorem ipsum dolor sit amet, {{x-larger}} {{x-larger block}} 144% 17pt Lorem ipsum dolor sit amet, {{xx-larger}} {{xx-larger block}} 182% 22pt Lorem ipsum dolor sit {{xxx-larger}} {{xxx-larger block}} 207% 25pt Lorem ipsum dolor {{xxxx-larger}} {{xxxx-larger block}} 249% 30pt Lorem ipsum

a^  Contemporary web browsers have largely standardized on a default base font size of 16px or 12pt.

### Usage

Produces a simple flex-box layout that allows content to be displayed side-by-side on wide screens and containers, but have it wrap "responsively" on narrow screens or containers.

This often happens when images are side-by-side, and do not fix on narrow screens, such as phones and e-readers, but can also but used in general for any content which was originally side-by-side but can be usefully wrapped on a small screen.

Additionally, images in the cells will be rescaled proportionally to not exceed the cell boundaries and "spill out" over other content or off the screen.

### Parameters

• 1, 2, 3, 4: the context of each child "cell"
• Styling
• align: text alignment of the whole structure Optional, default: center.
• max-width: max-width of the whole structure to for wrapping before 100% page width. Optional, default: not set.
• align-items: alignment of cells on the cross-axis (usually vertical). Any valid CSS for align-items, but most useful are stretch (default), flex-begin, center and flex-end (align top, middle and bottom, respectively).
• align-content: behaviour of cells on the cross-axis (usually vertical) when there is more than one row. Any valid CSS for align-content.
• class, style: extra CSS classes and styles for the parent container. Optional.
• child_class, child_style: extra CSS class an styles to apply to every child cell. Optional.
• child_classN, child_styleN (where N is 1,2,3,..): extra CSS class an styles to apply to individual child cells. Optional.

### CSS

• The parent container has the class _flex_wrap_centre
• Each child has the class _flex_child

By default, a 0.5em margin is applied to each child cell to keep images slightly apart. This can be overridden either by adding the class _no_margin to the children (with child_class, etc.), or by manually setting the margin as needed with child_style, etc..

### Split usage

There is a split template pair, {{flex wrap centre/s}} and {{flex wrap centre/e}}, which can be used to open the flex environment. Within this environment, block elements (e.g. <div> and tables) will be flexibly wrapped. You can use the class _flex_child to apply the default child padding, or you can do this manually if that is not suitable.

Other child formatting (child_class, etc.) has to be applied manually in this case - only the parent-level parameters can be passed to {{flex wrap centre/s}}.

### Examples

Example: Wide container

In a wide container, the content displays side-by-side

{{flex wrap centre
| [[File:Old man's wish (circa. 1813-1820) - page 1.png|250px]]
Caption A
| [[File:Old man's wish (circa. 1813-1820) - page 1.png|250px]]
Caption B
}}




Caption A




Caption B

Example: Narrow container

In a narrow container, the content wraps as needed:

<div style="width:400px; margin:auto; border:1px solid red;">
{{flex wrap centre
| [[File:Old man's wish (circa. 1813-1820) - page 1.png|250px]]
Caption A
| [[File:Old man's wish (circa. 1813-1820) - page 1.png|250px]]
Caption B
}}
</div>




Caption A




Caption B

Example: Image auto scaling

In a very narrow container, the content wraps as needed, and the images shrink so as not to overspill the container:

<div style="width:150px; margin:auto; border:1px solid red;">
{{flex wrap centre
| [[File:Old man's wish (circa. 1813-1820) - page 1.png|250px]]
Caption A
| [[File:Old man's wish (circa. 1813-1820) - page 1.png|250px]]
Caption B
}}
</div>




Caption A




Caption B

Example: Styles

Add styles to the parent and children:

{{flex wrap centre
| style = border: 1px double blue;
| child_style = background-color:grey;
| child_style1 = border: 1px solid red;
| [[File:Old man's wish (circa. 1813-1820) - page 1.png|250px]]
| [[File:Old man's wish (circa. 1813-1820) - page 1.png|250px]]
}}
</div>







#### Split template example

Use the split template to make it easier to use table markup, which is otherwise awkward to place within a template parameter.

{{flex wrap centre/s}}
{| class="wikitable _flex_child"
| This || is || a
| colspan=3 | table
|}
<div class="_flex_child" style="background-color:lightgrey;">
This is a a div.

Padding is provided by <code>_flex child</code>
[[File:Old man's wish (circa. 1813-1820) - page 1.png|250px|center]]
</div>
{{flex wrap centre/e}}
</div>

 This is a table

This is a a div.

Padding is provided by _flex child

• {{block centre}} for centering a single block in the page.
• {{div col}} for columns of content where the break-point don't need to be set manually

Flow text beneath an element (nominally a transparent image.)

### Usage

{{flow under|image=[[File:Pinafore-91.png|frameless|200px]]|side=left|height1=70px|width1=100%|height2=6em|width2=105px}}

### Parameters

• image: Basic element to be displayed; typically an image with transparency capabilities, specified in full [[File:...|frameless|size]] format.
• watermark: Alternate name for element above.
• side: Either "left" (default) or "right": specifies toward which margin to align above element.
• caption: Optional title to be added beneath image centred within the last-specified widthn value (assumed to be full usable width of bottom of image.) Caption is presented as bold, yet marginally smaller than normal text in order to distinguish it from the latter.
• width: Optional: specify maximum width of element. Default: 100%.
• heightn: height of n-th box area to preserve from text flow. n may range from 1 to 9.
• widthn: width of n-th box area to preserve from text flow. n may range from 1 to 9.

The "boxes" described by the various numbered heightn and widthn parameters designate regions protected from normal text flow. Regions cascade down the side margin specified starting at the top of element, and are intended to mark areas of the element which are opaque. As normal text flow occurs "beneath" the element, such parts of the element can (and will) obscure text.

#### "Helper" templates

To assist with situations where the text flow might itself contain links subject to usurpation by the overlying primary element (say, a large image), these associated simple templates have been provided to mark regions of text which must be "elevated" to the foreground (i.e. whose contained links should take precedence over the primary element):

{{flow under/text|foreground text}}
Ensure text (typically an entire paragraph) is elevated into the foreground.
{{flow under/text/s}}
Start region of text to be "foregrounded".
{{flow under/text/e}}
End region of text to be "foregrounded.

The last pair of templates may be used to cross from one Page: to another; but do not cater for internal paragraphs.

Please note, these templates highlight the affected region when used in the Template: or any *Talk: namespace as a visual aid to discussions, as seen in the example below. However this behaviour is suppressed in all other namespaces and, apart from effect, these templates are "invisible" in normal use.

### Example

HE ward-room lunch was finished, and all the ladies were playing "Bridge" for nuts with the officers, except Josephine, whose thoughts were too much occupied with other and more important matters. So she came on deck to indulge in a rêverie all alone.

"It is useless," said she to herself; "Sir Joseph's attentions disgust me. I know that he is a truly great and good man, for he told me so himself, and of course he would know;…

• {{Overfloat image}}: performs reverse operation to this template, i.e. text is floated above an image element
• {{Img float}}: allows for text to flow over images using more complex polygons

### Usage

Formats condensed or expanded text, sometimes used titles and headers.

Basic usage - default 0.7 width factor
Normal text {{Font-stretch|Condensed by 0.7}} More normal text


Normal text Condensed by 0.7 More normal text

Custom width factors - set parameter 1
* Normal text {{Font-stretch|0.5|Condensed by 0.5}} More normal text
* Normal text {{Font-stretch|1.5|Expanded by 1.5}} More normal text

• Normal text Condensed by 0.5 More normal text
• Normal text Expanded by 1.5 More normal text

Implementation note: this simulates the effect by scaling the font, rather than using the CSS font-stretch property, because font-stretch only works if the font supports it, which most do not.

### Usage

Creates a span element with a given font-style CSS value.

 {{font-style|italic|hello}} hello {{font-style|oblique|hello}} hello ''{{font-style|normal|hello}}'' hello

## Usage

Removes CSS font-variant (i.e. small-caps) from a span. Useful when you have a template that produces small caps, but for some reason you need to override this.

### Example

{{small-caps|This text is in Small-Caps, {{font-variant normal|this isn't}}, and this is back to Small-Caps}}


This text is in Small-Caps, this isn't, and this is back to Small-Caps

Removes CSS font-variant (i.e. small-caps) from a span

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text content1

no description

Contentrequired

## Documentation

This template simplifies formatting text that has a font-weight of normal.

This to be used as a override of an ambient boldness… i.e.

• We are bold; exception, bold again.

## Example

{{font-weight-normal|normal}}


Weight template Sample
{{lighter}} Lorem ipsum dolor sit amet,
{{font-weight-normal}} Lorem ipsum dolor sit amet,
{{bold}} Lorem ipsum dolor sit amet,
{{bolder}} Lorem ipsum dolor sit amet,

### Usage

This template creates a font element with the "lang" and "xml:lang" attributes.

Parameters
• 1: the language code, e.g. "ko"
• 2: the contents to put in the font element

#### Example

令, {{font lang|ko|令}}


### Usage

{{Font outline|Example text}}
Gives:
Example text

#### Colors

Parameters |color= and |outline= can be used to specify the colour of the font and its outline respectively.

{{Font outline|Example text|color=Red|outline=green}}
Gives:
Example text

## Usage

### Footnote end

This template is used to enclose the second page of a footnote overflow in the page namespace. When used in conjunction with {{Footnote overflow}}, the enclosed text will appear as a continuation of the footnote on the previous page when it is transcluded into the main namespace.

### Footnote overflow

This template is used to include the second (and optionally third) page of a footnote overflow in the main footnote. When used in conjunction with {{Footnote end}}, the overflow will appear as a continuation of the footnote when it is transcluded into the main namespace.

### Alternative method

Use <ref name="whatever">...</ref> on the first part of the footnote, and <ref follow="whatever">...</ref> on the second. The value of "whatever" will need to be unique for the transclusion in the main namespace.

## Usage

This template builds common fractions, using a fraction slash. It takes one, two or three parameters: the optional integer (may be signed), the optional numerator and the required denominator; in this order.

{{frac|A|B|C}}
ABC (integer, numerator and denominator)
A<s style="display:none">+</s><small><sup>B</sup>⁄<sub>C</sub></small>
{{frac|A|B}}
AB (numerator and denominator)
<small><sup>A</sup>⁄<sub>B</sub></small>
{{frac|A}}
1A (denominator only)
<small><sup>1</sup>⁄<sub>A</sub></small>

• {{frac}}, displays common fractions using a fraction slash, e.g. 160
• {{mfrac}}, displays common fractions using LaTeX markup, e.g. ${\displaystyle \scriptstyle {\frac {1}{60}}}$
• {{sfrac}} for horizontal fraction line, e.g. 160
• {{sfrac nobar}}, displays common fractions without a fraction line, e.g. 160
• {{dual line}}, displays two lines of text as an inline block
• {{unifrac}}, displays the Unicode character for a fraction if it exists and otherwise delegates to {{frac}}, e.g. ⅝ but 160
• {{frac13}}, displays ⅓
• {{frac23}}, displays ⅔
• This template uses {{FreedImg}}, but limits the initial width. Similar to the width in layout 2 in {{Default layout}}, it limits the image width portrait-oriented to 400px, but can shrink as in FreedImg when the screen width of the book is smaller than 400px. 100% gives a width of 400px, 50% gives a width of 200px and so on.

## Usage

{{FreedImg/400
| type         =
| file         =
| orientation  =
| width        =
| cclass       =
| float        =
| margin-left  =
| margin-right =
| clear        =
| caption      =
| mleft        =
| indent       =
| tstyle       =
| talign       =
| alt          =
| anchor       =
}}

### Parameters

for the Image itself
• file: The file name (without the "File:" prefix) (mandatory parameter)
• alt: Image alt-text, ie. for mouse-over text box or for use with a screenreader for the visually impaired (optional)
• Currently no possibility for inline link re-assignment using the |link= parameter.
when ( type=user ) is present & set
• Images generated by certain wikicode extensions (e.g. the default User preference, <score>, etc.) may be entered in the named file parameter instead. Primary DIV container • orientation: Default orientation is portrait, at 400px. Setting the parameter to landscape will default the width to 540px. • width: The width of the primary container, by percentage (present, variable, default 400px) • cclass: The class for the primary container, (present, variable, default floatnone [a null undefined classname just for placeholder purposes]) • float: The alignment of the primary container (not present; must be added, options are "left" or "right"; otherwise remains centered). • clear: The margin(s) of the primary container to be cleared (not present; must be added, options are "left", "right" or "both"). • margin-left,margin-right : Any special margins to be applied to the primary container (defaults appropriate for centered result). Image Caption • caption: The image caption (not present; must be added). • tstyle,talign: Any special text style or alignment to apply to caption block (if present). • mleft,indent: Any special text-flow (e.g. hanging indent etc.) control to apply to caption (if present). Others • anchor, uses this {{anchor}} template, for linking to an image. ### Examples ## Using the template Page scan (banner set to roughly 400px for comparison) • Banner spans 100% of the portrait-oriented page width. • The W spans roughly 25% of the portrait-oriented page width. Transclusion using {{FI/400}} {{FI/400 | file = History of Hudson County and of the Old Village of Bergen largeband.png }} {{FI/400 | file = History of Hudson County and of the Old Village of Bergen W.png | width = 25% | float = left }}   .mw-parser-output .wst-freedimg{max-width:100%;text-align:center;margin:0.40em auto 0.5em auto;page-break-inside:avoid;break-inside:avoid}.mw-parser-output .wst-freedimg img[src*="wikipedia"],.mw-parser-output .wst-freedimg img[src*="wikisource"],.mw-parser-output .wst-freedimg img[src*="score"],.mw-parser-output .wst-freedimg img[src*="math"]{width:100%;height:auto}.mw-parser-output .wst-freedimg-caption{display:block;font-size:94%;line-height:normal;padding:0.25em 1px 0.75px 1px;text-indent:0}.mw-parser-output .wst-freedimg-missing{display:block;border:1px solid grey;font-size:83%;font-style:italic}.mw-parser-output .rotp90,.mw-parser-output .rot90{transform:rotate(90deg)}.mw-parser-output .rot180{transform:rotate(180deg)}.mw-parser-output .rotn90,.mw-parser-output .rot270{transform:rotate(-90deg)} The Old Village of Bergen A History of the First Settlement in New Jersey hen the first representatives of the Amsterdam Licensed Trading West India Company built four houses on Manhattan Island in 1610—1612, one could hardly consider the territory crowded. Those ancestors of New York and New Jersey, however, had more spacious ideas than are held by their apartment-dwelling descendants. The charter of the Dutch East India Company, which had granted the trading monopoly to its West India Company, designated New Netherland as comprising "the unoccupied region between Virginia and Canada"—a little tract that must forever inspire pained admiration in modern real estate dealers. It was bounded approximately on the south by the South River, as the Dutch called the stream that the English afterward re-christened the Delaware. And because the Delaware was South River, the river explored by Henry Hudson in 1609, which first was called Mauritius River in honor of Maurice of Nassau, Prince of Orange, came to be referred to as North River, which explains why we today call it Hudson River or North River, just as the words happen. Henry, we may suspect, always had remained a little disappointed, if not indignant, about that river. He had no ## Using the landscape parameters Page scan (image width set roughly to match transclusion for comparison) *page rotated from landscape orientation. Transclusion using {{FI/400}} {{FI/400 | file = Brisbane, from the air, pg 12.jpg | orientation = landscape | caption = Overlooking the Valley to New Farm and Bulimba }}  Overlooking the Valley to New Farm and Bulimba ## FreedImage comparison • All of the following three examples have the image parameters set to the same value, but are adjusted dependent on the screen width. ## 250px screen width  THE TRAVELER AND THE LION. TRAVELER in South Africa once set out on a journey. When far from home he had to cross a wide plain, where he saw a Lion at a distance. The Lion saw him at the same time, and began slowly to follow him. When the Traveler walked fast, the Lion walked fast; and when he stopped, the Lion stopped! The man saw that the Lion meant to follow him until dark, and then spring upon him. He was not able to run away from the Lion, for the Lion could run faster than he could. So he thought of a plan to cheat him. He came to a high cliff, below which was a deep hollow. Creeping down, he hid behind a rock, where the Lion could not seehim. Then taking a stick which he found among the rocks, he put on it his coat and his hat, so as to make them look like a man. He then held the stick above the rock behind which he was hid. Soon the Lion came creeping slyly along. The moment he saw the coat and the hat, he made a sudden spring at them. He bounded right over the place where the man lay, and falling down among the rocks, was killed! The Traveler was saved, and ere long he reached his own home. ## 400px screen width  THE TRAVELER AND THE LION. TRAVELER in South Africa once set out on a journey. When far from home he had to cross a wide plain, where he saw a Lion at a distance. The Lion saw him at the same time, and began slowly to follow him. When the Traveler walked fast, the Lion walked fast; and when he stopped, the Lion stopped! The man saw that the Lion meant to follow him until dark, and then spring upon him. He was not able to run away from the Lion, for the Lion could run faster than he could. So he thought of a plan to cheat him. He came to a high cliff, below which was a deep hollow. Creeping down, he hid behind a rock, where the Lion could not seehim. Then taking a stick which he found among the rocks, he put on it his coat and his hat, so as to make them look like a man. He then held the stick above the rock behind which he was hid. Soon the Lion came creeping slyly along. The moment he saw the coat and the hat, he made a sudden spring at them. He bounded right over the place where the man lay, and falling down among the rocks, was killed! The Traveler was saved, and ere long he reached his own home. ## Full screen  THE TRAVELER AND THE LION. TRAVELER in South Africa once set out on a journey. When far from home he had to cross a wide plain, where he saw a Lion at a distance. The Lion saw him at the same time, and began slowly to follow him. When the Traveler walked fast, the Lion walked fast; and when he stopped, the Lion stopped! The man saw that the Lion meant to follow him until dark, and then spring upon him. He was not able to run away from the Lion, for the Lion could run faster than he could. So he thought of a plan to cheat him. He came to a high cliff, below which was a deep hollow. Creeping down, he hid behind a rock, where the Lion could not seehim. Then taking a stick which he found among the rocks, he put on it his coat and his hat, so as to make them look like a man. He then held the stick above the rock behind which he was hid. Soon the Lion came creeping slyly along. The moment he saw the coat and the hat, he made a sudden spring at them. He bounded right over the place where the man lay, and falling down among the rocks, was killed! The Traveler was saved, and ere long he reached his own home. ## See also • Use this image container template to display INLINE OFFSET images. • Resizes the container dynamically and provides additional image related features. • When used to display an offset image, the surrounding text flows around the container. ## Usage • Always please use the shortcut to FreedImg/span, {{FIS}}, rather than the long template name. {{FIS | type = | file = | width = | height = | cclass = | cstyle = | float = | margin-left = | margin-right = | clear = | caption = | top-caption = | tmleft = | indent = | tstyle = | talign = | alt = | link = | page = }} For true block element usage, please see FreedImg, {{FI}}, instead. ### Parameters For the Image itself • file: The file name (without the "File:" prefix) (optional; if lacking, a caption-only block is created.) • alt: Image alt-text, ie. for mouse-over text box or for use with a screenreader for the visually impaired (optional) • link: link redirect for image (default no redirect) • page: Select individual image page within a multi-page file (PDF/DJVU etc.; optional); when ( type=user ) is present & set • imgwidth: request this size of image from the server, rather than computing a guess. This can help to reduce file size, for example, when you know the image will be used in a narrow container. • Images generated by certain wikicode extensions (e.g. the default [itex] User preference, <score>, etc.) may be entered in the named file parameter instead. Primary DIV container • width: The width of the primary container, by percentage (present, variable, default 100%) • cclass: The class for the primary container, (present, variable, default floatnone [a null undefined classname just for placeholder purposes]) • cstyle: Any special overall styles to apply to primary container (default: no extra CSS). • float: The alignment of the primary container (not present; must be added, options are "left" or "right"; otherwise remains centered). • clear: The margin(s) of the primary container to be cleared (not present; must be added, options are "left", "right" or "both"). • margin-left,margin-right : Any special margins to be applied to the primary container (defaults appropriate for centered result). Image Caption • caption: The image caption below the image, if any. • top-caption:an image caption above the image, if any • tstyle, talign: Any special text style or alignment to apply to caption block (if present). • tmleft, tmright, indent: Any special text-flow (e.g. margins, indent, hanging indent etc.) control to apply to caption (if present). ### Examples #### Example 1: Simple inline image When used with default parameters, the image is inlined into the surrounding paragraph. text before{{FIS | file = Iceberg.jpg | width = 100px | alt = WS Iceberg | link = w:Iceberg{{!}}Iceberg article at Wikipedia }}text after  text before text after #### Example 2: Simple inline image, with caption text before{{FIS | file = Iceberg.jpg | width = 100px | top-caption = An iceberg | caption = Still an iceberg }}text after  text beforeAn iceberg Still an icebergtext after #### Example 3: Musical Score This example does not currently render properly owing to limitations in the Score extension.[1] text before{{FIS | type = user | file = <score inline=yes>{ \clef bass \time 3/4 g,4 (b,4 [d4 f4 a4]) r4 \bar "|." }</score> }}text after  text before text after #### Example 4: Mathematical Equation N.B. This only works if the user's Preferences are set to the default (i.e. Preference/Appearance/Math is "Always render PNG". Choice "MathJax" causes any formulæ to be rendered entirely in text, completely bypassing any effect {{FreedImg}} may have.) text before {{FIS | type = math | file = [itex]sin x = {e^{ix} - e^{-ix} \over 2i}
}} text after


text before ${\displaystyle sinx={e^{ix}-e^{-ix} \over 2i}}$  text after

#### Example 5: Floating centred image

This is a very common use of the template: to provide an image that "floats" in the centre of the page, but does not cause a hard paragraph break at the image location.

For this to work, float must be set to "left" or "right", and the width, margin-left and margin-right must sum to 100%, otherwise this template will not take up a full width, and some surrounding text may creep into the same line (as in example 1).

{{FIS
| file     = Iceberg.jpg
| width    = 20%
| margin-right=40%
| margin-left=40%
| float    = right
| alt      = WS Iceberg
| caption  = {{Sc|An Iceberg. Plaintiff alleges that she participated in a group training program conducted by Lifespring in Philadelphia, Pennsylvania during April 1981.}}
}}


Plaintiff alleges that she participated in a group training program conducted by Lifespring in Philadelphia, Pennsylvania during April 1981. She contends that she was subjected to psychological manipulation resulting in psychological and emotional injuries. She contends that Lifespring, [FIS here!]  An Iceberg. Plaintiff alleges that she participated in a group training program conducted by Lifespring in Philadelphia, Pennsylvania during April 1981.under whose auspices the program was conducted, is liable to her essentially in tort. She further contends that Hanley is individually liable to her because he controlled the training offered by Lifespring. She contends that he was personally involved in the development and operation of the training program. Service of the complaint was made upon Hanley by registered mail. He states in an affidavit that he lacks any personal contact with Pennsylvania other than through his affiliation with Lifespring in his corporate capacity. Plaintiff argues that such contact is sufficient.

#### Example 6: Single page of a multi-page document

{{FIS
| file     = Character of Renaissance Architecture.djvu
| width    = 15%
| alt      = Plate III: Cvpola Di S Pietro
| link     = Character of Renaissance Architecture
| page     = 91
}}