Template:Book: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
no edit summary
No edit summary
No edit summary
Line 40: Line 40:
|}
|}
|}
|}
<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=image.jpg    <!-- 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 an SDD Report table such as this one:
<pre>
{{Book                                         
      |title=write the title of the book                     
      |book_image=image.jpg 
      |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>

Navigation menu