Template:Goodbook/

From Flip City Wiki
Revision as of 13:37, 23 October 2023 by Webmaster (talk | contribs) (Created page with "<includeonly> {{image|{{{cover|Nuvola apps bookcase.svg}}}|{{px|{{{size|}}}|{{#ifeq:{{{edit|}}}|1|x150px|x210px}}}}|center|4=link={{{title}}}}} <div style="margin-top:10px;">{{{desc}}}</div> <div class="noprint" style="float:right; font-size:80%;">[[:{{file title|{{{cover}}}}}|Image credit]]</div> {{#ifeq:{{{edit|}}}|||  <small class="noprint plainlinks">[{{fullurl:Template:Goodbook/{{{title}}}|action=edit}} edit blurb]</small><br /><br />}}</includeonly>{{#ife...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#ifeq:"{{#titleparts:Template:Goodbook/|1}}"|"Template:Goodbook"|[[Category:Wikibooks featured-book templates/Goodbook|Template:CHAPTERNAME ]]}} This template is used to show a blurb of a book, with associated cover image. The arguments are: .

title=<TITLE>
Where <TITLE> is the title of the book
cover=<COVERIMAGE>
Where <COVERIMAGE> is the name of the book's cover image, if any.
desc=<DESCRIPTION>
Where <DESCRIPTION> is a short paragraph about the book, to be displayed alongside the cover image.
size=<SIZE>
Where <SIZE> is the width/height of the book's cover image; defaults to 210px tall; specify for SVGs which don't scale with only the height specified (use a width that creates a thumbnail 210px tall)

New Goodbook

Create a new featured book by entering its name in the field below, then add it to the list in alphabetical order, and then update the total at Main Page/Featured. Semi-protect the page after creation.

<inputbox> type = create buttonlabel= Create a new featured book default = Template:Goodbook/ preload = Template:Goodbook/Blank editintro = Template:Goodbook/Editintro break = no width = 40 </inputbox>

Putting it in the list of all featured books

Add the title of the book to the list in alphabetical order.

Putting it on the front page

Increment the total number of featured books at Main Page/Featured by one.