Πρότυπο:Βιβλίο: Διαφορά μεταξύ των αναθεωρήσεων

Μετάβαση στην πλοήγηση Πήδηση στην αναζήτηση
καμία σύνοψη επεξεργασίας
(Διαγραφή του περιεχομένου της σελίδας)
Χωρίς σύνοψη επεξεργασίας
Γραμμή 1: Γραμμή 1:
{|  border="0" width="285" style="margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#FFCC33;line-height:1.5em;word-spacing:0.5px;"
|
{| border="0" width="100%" align="center" cellspacing="5" style="background-color:#FFCC33;padding:0px"
! align="center" valign="top"|{{#if:{{{title|}}} | {{{title}}} }}
|-
| align="center" border="0"  | {{#if:{{{book_image|}}} | {{ScaleImage
|imagename={{{book_image}}}
|caption={{{title}}}
|newwidth=200px              <!-- new width=15,scales the image to 15%, new width=80px,scales the image to 80px-->
}} }}
|}
{| border="0" width="100%" cellspacing="5" style="background-color:#FFCC33;padding:0px"
|- valign="top" style="font-size:11px"
| width="20%" |<b>{{#if:{{{author|}}} | '''Author(s)''' }}</b>
||{{#if:{{{author|}}} | {{{author}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{editor|}}} | '''Editor(s)''' }}</b>
||{{#if:{{{editor|}}} | {{{editor}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{pages|}}} | '''Pages''' }}</b>
||{{#if:{{{pages|}}} | {{{pages}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{isbn_13|}}} | '''ISBN-13''' }}</b>
||{{#if:{{{isbn_13|}}} | {{{isbn_13}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{isbn_10|}}} | '''ISBN-10''' }}</b>
||{{#if:{{{isbn_10|}}} | {{{isbn_10}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{lccn|}}} | '''LCCN''' }}</b>
||{{#if:{{{lccn|}}} | {{{lccn}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{bisac|}}} | '''BISAC''' }}</b>
||{{#if:{{{bisac|}}} | {{{bisac}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{year|}}} | '''Year''' }}</b>
||{{#if:{{{year|}}} | {{{year}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{link|}}} | '''Link''' }}</b>
||{{#if:{{{link|}}} | {{{link}}} }}
|}
|}
<noinclude>
<br /><br /><br />
__TOC__
==EXAMPLE ON HOW TO USE THE TEMPLATE==


{{Book                                          <!-- The name of the template -->
  |title=write the title of the book                      <!-- Append to variable acronym the content  acronym of the sdd report -->
|book_image=OrientationManual.png    <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                          appropriate content-->
    |author=write the Author(s) of the book    <!-- if a variable left empty e.g " report_title =" or not used  at all then it will not appear on the template -->
      |editor=write the Editor(s) of the Book
      |pages= write the Pages of the book
      |isbn_13=write the ISBN-13 of the book  <!-- e.g  978-1461083207 -->
      |isbn_10=write the ISBN-10 of the book  <!-- e.g  1461083206 -->
      |lccn=write the LCCN                                  <!-- e.g  2011906993 -->
      |bisac=write the BISAC                                <!-- e.g  Biography & Autobiography / Personal Memoirs  -->
      |year=write the Year of the book
      |link=write the link to the book if any
}}
Copy and paste the code below to the page you wish to add a Book's box such as this one:
<pre>
{{Book                                         
      |title=write the title of the book                     
      |book_image=OrientationManual.png 
      |author=write the Author(s) of the book   
      |editor=write the Editor(s) of the Book
      |pages= write the Pages of the book
      |isbn_13=write the ISBN-13 of the book 
      |isbn_10=write the ISBN-10 of the book 
      |lccn=write the LCCN                                 
      |bisac=write the BISAC                               
      |year=write the Year of the book
      |link=write the link to the book if any
}}
</pre>
Then replace the content of the variables with your own, for example :
  Replace
            title=write the title of the book 
  With
            <span style="color:red">title=Masks of Demons</span>
===List of Variables===
* <b>title</b> : This variable expects from the editor to assign to it the title of the Book.
* <b>book_image</b> : This variable expects from the editor to assign to it the image of the Book. You must first upload an image using the upload file option of the toolbox available on the left column of the page. This option is visible if and only if you are logged in.
* <b>author</b> : This variable expects from the editor to assign to it the author of the Book.
* <b>editor</b> : This variable expects from the editor to assign to it the editor of the Book
* <b>pages</b> : This variable expects from the editor to assign to it the number of pages of the Book
* <b>isbn_13</b> : This variable expects from the editor to assign to it the isbn_13 of the Book. e.g <span style="color:red">978-1461083207</span>
* <b>isbn_10</b> : This variable expects from the editor to assign to it the isbn_10 of the Book.  e.g <span style="color:red">1461083206 </span>
* <b>lccn</b> : This variable expects from the editor to assign to it the lccn of the Book.  e.g <span style="color:red">2011906993 </span>
* <b>bisac</b> : This variable expects from the editor to assign to it the bisac of the Book.  e.g <span style="color:red">Biography & Autobiography / Personal Memoirs</span>
* <b>year</b> : This variable expects from the editor to assign to it the year that the book was published.
* <b>link</b> : This variable expects from the editor to assign to it the link of the Book.
</noinclude>
<noinclude>[[Category:T/Reports]]</noinclude>

Μενού πλοήγησης