Template:StandardEbooks/doc

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

General usage
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, so "Pygmalion (play)" simply becomes "Pygmalion" when it goes into the template.

Template data
{	"params": { "Standard Ebooks URL": { "description": "Standard Ebooks URL", "example": "https://standardebooks.org/ebooks/george-bernard-shaw/pygmalion", "required": true, "aliases": [ "url" ]		},		"Display Name": { "aliases": [ "name" ],			"description": "Title of the book, name of the author, name of collection", "example": "Pygmalion", "autovalue": "", "suggested": true, "default": "" },		"noitalics": { "description": "If true, book title is not italicised.", "default": "false" }	},	"description": "Insert external link to Standard Ebooks production of public-domain work.", "paramOrder": [ "Standard Ebooks URL", "Display Name", "noitalics" ] }