Template:Goodbook/: Difference between revisions
(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...") |
No edit summary |
||
Line 24: | Line 24: | ||
</inputbox> | </inputbox> | ||
=== Putting it in the list of all featured books === | === Putting it in the list of all featured books === |
Latest revision as of 12:16, 18 December 2023
{{#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.