Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Difference between revisions of "Template:Saved book/doc"

From Appropedia
Jump to: navigation, search
(cover-color=white)
 
(8 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
==Optional input==
 
==Optional input==
 +
 +
<pre>
 +
{{saved book|title=|subtitle=|cover-image=|cover-color=|text-color=|description=|sort as=|editor=|bug=}}
 +
 +
or
 +
 +
{{saved book
 +
|title      =
 +
|subtitle    =
 +
|cover-image =
 +
|cover-color =
 +
|text-color  =
 +
|description =
 +
|sort as    =
 +
|editor      =
 +
|bug        =
 +
}}
 +
</pre>
 +
 
{|class=wikitable
 
{|class=wikitable
 
|-
 
|-
 
!Input !! What it does
 
!Input !! What it does
 
|-
 
|-
|{{para|cover-image}} || Select the default cover image for the book. Just give the file name (for example, {{para|cover-image|[[:File:Appropedia Logo small no text.png‎|Appropedia Logo small no text.png‎]]}}).
+
| {{para|title}}       || The title of the book. (This is only used to give a preview of the book cover.)
 
|-
 
|-
|{{para|cover-color}} || Select the default cover color for the book. Default color is "white". Colors are those named in [[Wikipedia:HTML color#X11 color names]] or using the #RRGGBB format.
+
| {{para|subtitle}}   || The subtitle of the book (optional). (This is only used to give a preview of the book cover.)
 
|-
 
|-
|{{para|text-color}}   || Select the default cover text color for the book. Default color is black.  Colors are those named in [[Wikipedia:HTML color#X11 color names]] or using the #RRGGBB format.
+
|{{para|cover-image}} || Select the cover image for the book. Just give the file name (for example, {{para|cover-image|[[:File:Imageneeded.png‎|Imageneeded.png‎]]}}).
 
|-
 
|-
| {{para|title}}       || The title of the book. (This is only used to give a preview of the book cover.)
+
|{{para|cover-color}} || Select the cover color for the book. Default color is "white". Colors are those named in [[Wikipedia:HTML color#X11 color names]] or using the #RRGGBB format.
 
|-
 
|-
| {{para|subtitle}}   || The subtitle of the book (optional). (This is only used to give a preview of the book cover.)
+
|{{para|text-color}}   || Select the cover text color for the book. Default color is black.  Colors are those named in [[Wikipedia:HTML color#X11 color names]] or using the #RRGGBB format.
 
|-
 
|-
| {{para|description}} || A description of the scope of the book.
+
| {{para|description}}&nbsp; || A description of the scope of the book.
 
|-
 
|-
 
| {{para|sort_as}}    || The default [[Wikipedia:WP:SORT|sort key]] for the book.
 
| {{para|sort_as}}    || The default [[Wikipedia:WP:SORT|sort key]] for the book.
Line 32: Line 51:
  
 
{{attrib wikipedia|Template:Saved book}}
 
{{attrib wikipedia|Template:Saved book}}
 
 
[[Category:appropedia book tool]]
 
[[Category:appropedia book tool]]
 
 
</includeonly>
 
</includeonly>

Latest revision as of 03:33, 23 December 2011

This template is automatically included at the top of stored books, and automatically categorizes pages in Category:Appropedia books (community books), Category:Appropedia books (user books) and Category:Appropedia books (incorrectly categorized books), as appropriate.

Optional input[edit]

{{saved book|title=|subtitle=|cover-image=|cover-color=|text-color=|description=|sort as=|editor=|bug=}}

or

{{saved book
 |title       = 
 |subtitle    = 
 |cover-image = 
 |cover-color = 
 |text-color  = 
 |description = 
 |sort as     = 
 |editor      = 
 |bug         = 
}}
Input What it does
|title= The title of the book. (This is only used to give a preview of the book cover.)
|subtitle= The subtitle of the book (optional). (This is only used to give a preview of the book cover.)
|cover-image= Select the cover image for the book. Just give the file name (for example, |cover-image=Imageneeded.png‎).
|cover-color= Select the cover color for the book. Default color is "white". Colors are those named in Wikipedia:HTML color#X11 color names or using the #RRGGBB format.
|text-color= Select the cover text color for the book. Default color is black. Colors are those named in Wikipedia:HTML color#X11 color names or using the #RRGGBB format.
|description=  A description of the scope of the book.
|sort_as= The default sort key for the book.
|editor= For user books only. Specifies the editor of the book. By default this is the username.
|bug= If the book does not render properly, describe the problem here.