Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a26617967ca9cf77

Jump to content

Template:StandardEbooks/doc

From Wikipedia, the free encyclopedia

This is a template to link to pages on Standard Ebooks. It currently is able to link to books, authors, and collections.

General usage

[edit]
{{StandardEbooks | Standard Ebooks URL= | Display Name= | noitalics= }}
{{StandardEbooks | url= | name= | noitalics=}}

By default, all you need to do is put the Standard Ebooks URL into the template, and the template will detect what you're linking to and the name of the Wikipedia page you are linking from. As such, you only need to put a display name in if the name of the Wikipedia page is not the name of the book/author/collection.

The template wraps authors so they look like "The works of [Author] in eBook form" and collections so they look like "A collection of [Page] eBooks." It takes the {{PAGENAMEBASE}} , so "Pygmalion (play)" simply becomes "Pygmalion" when it goes into the template.

Examples

[edit]

Books

[edit]
MarkupRenders as
{{StandardEbooks|Standard Ebooks URL=https://standardebooks.org/ebooks/george-bernard-shaw/pygmalion}}
{{StandardEbooks|Standard Ebooks URL=https://standardebooks.org/ebooks/anonymous/beowulf/john-lesslie-hall |Display Name=''Beowulf,'' translated by John Lesslie Hall | noitalics=true}}

Authors

[edit]
MarkupRenders as
{{StandardEbooks|Standard Ebooks URL=https://standardebooks.org/ebooks/george-bernard-shaw}}

Collections

[edit]
MarkupRenders as
{{StandardEbooks|Standard Ebooks URL=https://standardebooks.org/collections/arsene-lupin}}
{{StandardEbooks|Standard Ebooks URL=https://standardebooks.org/collections/the-guardians-best-100-novels-in-english-2015|Display Name=the public domain entries on the 2015 Guardian list as}}

Template data

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:StandardEbooks in articles based on its TemplateData.

TemplateData for StandardEbooks

Insert external link to Standard Ebooks production of public-domain work.

Template parameters

ParameterDescriptionTypeStatus
Standard Ebooks URLStandard Ebooks URL url

URL to Standard Ebooks page for a book, author, or collection

Example
https://standardebooks.org/ebooks/george-bernard-shaw/pygmalion
URLrequired
Display NameDisplay Name name

Title of the book, name of the author, name of collection

Default
{{PAGENAMEBASE}}
Example
Pygmalion
Auto value
Stringoptional
noitalicsnoitalics

If true, book title is not italicised.

Suggested values
false true
Default
false
Stringoptional