Difference between revisions of "Template:Featured book"

From Pathfinder Wiki
 
m (55 revisions: re-import from WB, including edit history)
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{mbox|type=growth|image=Featured book en.svg|msg={{BOOKNAME}} is a [[Wikibooks:Featured books|featured book]] on Wikibooks because it contains substantial content, it is well-formatted, and the Wikibooks community 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:Goodbook/{{PAGENAME}}|You can edit its [[Template:Goodbook/{{PAGENAME}}|advertisement template]].|A {{tlx|Goodbook}} template should be created to [{{fullurl:Template:Goodbook/{{PAGENAME}}|action=edit}} advertise it].}} {{#if:{{{print|{{{PDF|}}}}}}|This book is also available as {{#if:{{{print|}}}|a single [[Image:Document-print.svg|20px]] '''[{{fullurl:{{existlist|{{BOOKNAME}}/{{{print}}}|/{{{print}}}|{{{print}}}}}|printable=yes}} HTML Document]''' {{#if:{{{PDF|}}}|&nbsp;and as|.}} <includeonly>[[Category:Books with print version|{{PAGENAME}}]]</includeonly>}} {{#if:{{{PDF|}}}|a [[Image:Gnome-mime-application-pdf.svg|20px]] '''[[Media:{{{PDF}}}.pdf|PDF document]]'''. <includeonly>[[Category:Books with PDF version]]</includeonly>}}}}<includeonly>[[Category:Featured book]]</includeonly>}}
+
{{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>
 +
==Parameters==
 +
*<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