Difference between revisions of "Template:Featured book"

From Pathfinder Wiki
(Remove extra linefeed)
 
m (55 revisions: re-import from WB, including edit history)
 
(43 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| align="center" style="width:95%; background-color: #FFFFFF; border: 1px solid #CCCCCC;" cellpadding="5px"
+
{{ambox|type=notice|image=[[File:Featured book en.svg|50px|link=]]|{{#ifeq:{{{image|}}}|{{{image|}}}||imageright=[[File:{{{image|}}}|{{{size|50px}}}]]}}|text=''{{ROOTBOOKNAME}}'' is a [[Wikibooks:Featured books|featured book]] on Wikibooks because it contains substantial content, it is well-formatted, and the Wikibooks community {{#if:{{{page|}}}|[[{{{page}}}|has decided]]|{{#ifexist:Wikibooks:Featured books/Nominations/Addition/{{SUBJECTPAGENAME}}|[[Wikibooks:Featured books/Nominations/Addition/{{SUBJECTPAGENAME}}|has decided]]|has decided}}}} to feature it on the [[Main Page|main page]] or in other places. Please continue to improve it and thanks for the great work so far! {{#ifexist:Template:{{Featured book/Ad base}}/{{PAGENAME}}|You can edit its [[Template:{{Featured book/Ad base}}/{{PAGENAME}}|advertisement template]].|A {{tlx|{{Featured book/Ad base}}}} template should be created to [{{fullurl:Template:{{Featured book/Ad base}}/{{PAGENAME}}|action=edit&preload=Template:{{anchorencode:{{Featured book/Ad base}}}}/Blank&editintro=Template:{{anchorencode:{{Featured book/Ad base}}}}/Editintro}} advertise it].}} {{#if:{{{print|{{{PDF|}}}}}}|This book is also available as {{#if:{{{print|}}}|a [[File:Document-print.svg|20px|link=]] '''[{{fullurl:{{existlist|{{ROOTBOOKNAME}}/{{{print}}}|/{{{print}}}|{{{print}}}}}|printable=yes}} print version]''' {{#if:{{{PDF|}}}|&nbsp;and as|.}} <includeonly>[[Category:Books with print version|{{PAGENAME}}]]</includeonly>}} {{#if:{{{PDF|}}}|a [[File:Gnome-mime-application-pdf.svg|20px|link=]] '''[[Media:{{{PDF}}}.pdf|PDF version]]'''. <includeonly>[[Category:Books with PDF version|{{PAGENAME}}]]</includeonly>}}}}<includeonly>{{#ifeq:{{{example|no}}}|no| {{#ifeq: {{#titleparts:{{PAGENAME}}||2}} | | [[Category:Featured books|{{PAGENAME}}]] }} }}</includeonly>}}<noinclude>
|- align=center
+
==Parameters==
| [[Image:Featured article star.svg|50px]] || This book is a [[Wikibooks:Featured books|featured book]] on Wikibooks because it contains substantial content, it is well-formatted, and the Wikibooks community has voted to feature it. This book may appear on the [[Main Page|main page]], or be featured in other places. {{#ifexist: Template:Goodbook/{{PAGENAME}} | Authors can edit the [[Template:Goodbook/{{PAGENAME}}|advertisement template]]. | Authors should construct a {{tl|Goodbook}} template to advertise this book [{{fullurl:Template:Goodbook/{{PAGENAME}}|action=edit}} HERE].}}
+
*<tt>image</tt>: a thumbnail image representing the book; usually the same as the one on the good book template
|}
+
*<tt>size</tt>: for the size of the optional image (defaults to 50px)
 +
*<tt>print</tt>: the subpage name of the print version with no slash
 +
*<tt>PDF</tt>: the name of the book's PDF file with no ".pdf" at the end
 +
 
 +
[[Category:Featured-book templates|Book]]</noinclude>

Latest revision as of 19:15, 5 July 2012

Parameters

  • image: a thumbnail image representing the book; usually the same as the one on the good book template
  • size: for the size of the optional image (defaults to 50px)
  • print: the subpage name of the print version with no slash
  • PDF: the name of the book's PDF file with no ".pdf" at the end