Template:Long s

From Wikisource
(Redirected from Template:Ls)
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]


Usage[edit]

{{ls}} redirects here. Use this shorter form of the template if you prefer.

This template is for displaying the HTML entity for the long 's', unicode characters U+017F: ſ.

{{Long s}} gives either a standard long-s( ſ ) or a standard letter "s".

Main namespace[edit]

The appearance of long-s or "s" can be modified through two ways:

CSS (old)[edit]

Add two lines to your CSS, in which case the special s characters will appear in the main namespace:

.selective-replace-archaic-typography-1{ display: inline !important; }
.selective-replace-archaic-typography-2{ display: none   !important; }

This method may be superseded by the JS method (below)

JS (experimental)[edit]

Add the following to your JS, in which case the special s characters can be toggled with a button in the "Toolbar" in the left sidebar of the interface. Remember to hard-refresh the JS.

importScript('User:Inductiveload/Visibility.js');

This method is an experimental feature, and can be discussed at User talk:Inductiveload/Visibility.js.

For more on the underlying template's functionality, see Template:Custom substitution.