User:Dick Bos/Templates

A list of templates I often use, and some other editing helps.

Editing templates

 * Large initial and
 * rop initial


 * Bar: short line in text. makes ;  makes ;  makes  (=mdash);
 * there's nothing between and  ; so  =


 * Rule: inserts a horizontal rule: makes:


 * Graphic rule: makes
 * (with optional parameters)
 * also   gives:

Dit staat links gives: Dit staat links en Dit staat links gives: Dit staat links
 * Frame: a frame around text.
 * block center: text in the middle, left aligned.
 * c: center
 * clear: adds html clear:both
 * dhr: double height row: two textrows between paragraphs (or more with parms)
 * ditto: for aligning text in tables etc. with quotation marks. See e.g. this page
 * DJVU page link
 * frac: making fractions with 1,2 or 3 parameters! $a b/c$ makes $a b/c$; * and sfrac: a (vertical) fraction, like $5⁄6$.
 * gap: to create some space
 * hi -> Hanging indent
 * hidden text -> for aligning e.g. this (contents) page
 * hws: hyphenated word start - syntax: For hws and hwe combined with italics, see: doc on Template (below)
 * hwe: hyphenated word end - syntax:
 * left: for aligning left (with a  !), like:


 * Loop: for repeating a string
 * nop: end of paragraph
 * nowrap: to avoid wrapping
 * rh: RunningHeader - syntax: left See also: Template:rvh for easy use on recto-verso pages


 * separator - syntax: - means: 7 dots


 * SIC - mind the capitals! example: taping mistaketyping mistake [sic] gives: taping mistaketyping mistake [sic]. Another example: The Voyage Out (my predecessor used "sic" and the word disappeared completely!)
 * Help about sidenotes, with links to different templates


 * sc, also Template:Small-caps
 * sp, more generally: Template:Letter-spacing


 * smallrefs; with optional font size!


 * underline - e.g. in: Page:William_Petty_-_Economic_Writings_(1899)_vol_1.djvu/205 (footnote 1), overline - e.g. in: Page:William_Petty_-_Economic_Writings_(1899)_vol_1.djvu/240 (footnote 1) and strikethrough - e.g. in: Page:William_Petty_-_Economic_Writings_(1899)_vol_1.djvu/239 (footnote 5).
 * ts: table style - syntax for instance: (in format modifier-section) - means: cell gets centered and small txt (help on tables: mediawiki help-page)


 * Dotted TOC page listing (TOC=Table Of Contents); example: The Economic Journal Vol.1. And see Category:TOC templates


 * linkable phrase start and linkable phrase end for a link on two pages; compare e.g. Page:The_Economic_Journal_Volume_1.djvu/144 (and the next page, of course); see also: scriptorium: "Link at two pages" (dec. 2013)


 * left margin and both margins - example here
 * align right - syntax: Example text ; And Template:float right for an element on the same line. See Scriptorium/Help/Archives/2017. Thanx to User:Beleg Tâl.

Rem:
 * Template:User annotation: for footnotes by Wikisource contributor.
 * Template:W: short linking to Wikipedia
 * poem is not a template, but a tag: .... !

Font size
see also: and:
 * larger - This is larger;
 * x-larger - ;
 * xx-larger - ;
 * xxx-larger - ;
 * fine -, but smaller than normal;
 * smaller - This is smaller;
 * x-smaller - ;
 * xx-smaller -
 * smaller block; with smaller block/s and smaller block/e
 * fine block: not as small as "smaller"
 * Font-size90% (or: fs90) - to slightly reduce the font size in quotes etc.

Special characters

 * mdash: &mdash;  — nl: gedachtestreepje or kastlijntje
 * ndash: –  — nl: halfkastlijntje

and see also:
 * Help on dashes on Wikipedia-en and Wikipedia-en on "Dashes"
 * Liggend streepje in de Nederlandse spelling
 * How to render dashes on a keyboard

For differences between block and inline templates: Help:Block and inline elements

Tables

 * Table-styles: w:Help:Table
 * Make a table centered: style="margin: 1em auto 1em auto;" (w:Help:TABLECENTER) - see for instance: Page:The_Economic_Journal_Volume_1.djvu/67
 * and centered width 90%: style="width: 90%; margin-left: auto; margin-right: auto; border: none;" - see e.g. Page:PettyWilliam1899EconomicWritingsVol2.djvu/56
 * and align right: style="margin-left: auto; margin-right: 1em; border: none;" - see e.g.: Page:Petty_1851_The_Down_Survey.djvu/53
 * Help with tables and some styles used in formatting tables
 * template Table style
 * Tables across page breaks: Help:Page_breaks
 * for adjusting line-height: see e.g. Page:The Zoologist, 4th series, vol 1 (1897).djvu/447

Dotted tables (table with leader dots)

 * User:Dick Bos/Templates/Dottables

Tables with braces

 * Template:Brace or Template:Brace2 -  makes:,  makes: ,  makes:  etc.

Footnotes, endnotes and sidenotes

 * Help:Footnotes and endnotes
 * Help:Sidenotes

Footnotes that spread over more than one page

 * Help: footnote over page break; see p. 106 and p. 107 in An_Essay_on_the_Principle_of_Population (1798) by Malthus. And see page 220 of Life of Petty for a footnote over two pages, with a hyphen in it.
 * and for a footnote over two pages with a hyphenated word, see: Life_of_Sir_William_Petty_1623_-_1687/Chapter_VII / p. 221 -> footnote 96.
 * for a footnote over three pages see Page:Principles_of_Political_Economy_Vol_1.djvu/129 and the following pages. And what it looks like in the main namespace: Principles of Political Economy (J.S. Mill, 1871), vol. 1/Book I, Chapter V.
 * And here one over four pages: Page:George Archdall Reid 1896 The present evolution of man.djvu/169

Images

 * missing image: Template:Missing image
 * if a raw scan is usable (temporary): Template:Raw image
 * see: Help:Adding images
 * use: Template:Img float

About removing line breaks

 * Scriptorium/Archives/2011-12

Colours
syntax: span style to create a background color
 * background: span style to create a background color ;
 * list of colors in Dutch, in English

Index namespace

 * Help:Index pages
 * Example of Index with missing page(s): Index:Petty 1851 The Down Survey.djvu - last two pages; don't forget to transclude them separately into the main namespace!

Main namespace

 * Help:Beginner's guide to transclusion, and
 * Help:Transclusion
 * Template:anchor to make an anchorpoint for linking; e.g. in Petty's Place in the History of Economic Theory to Contents.
 * Help:Redirects and Help:Disambiguation; see e.g. Author:Robert Hall

Author namespace

 * Template:Small scan link - link to Index; examples in: Author:Edmund Selous
 * Template:Ext scan link - link to external text; id.

linking to wikidata

 * Template:Wikidata link
 * Template:Cite Q now available!

Some special templates

 * Template:Aut from en-wiki
 * Template:DNB link for link to DNB
 * Template:scan for linking to a work, and its Index
 * Template:header for use in the main namespace, at the top of a "Work"
 * Template:Page for including a page in the main namespace; example: Political Arithmetick (1899)
 * Template:Delete en Template:Sdelete

Some help pages

 * Help:Beginner's guide to typography
 * Help with templates
 * Help with page breaks, for instance with tables across pages

Sections: when chapters start halfway the page
When a chapter starts halfway the page, like on Page:Sir William Petty - A Study in English Economic Literature - 1894.djvu/39, use section headers; and link to these headers in the main namespace: Bevan - Sir William Petty (1894)/II and Bevan - Sir William Petty (1894)/III. See: Help:Transclusion.

Cleanup OCR tool
See: TemplateScript