Template:Book: Difference between revisions

From Digital Cyprus
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
==EXAMPLE ON HOW TO USE THE TEMPLATE==
==EXAMPLE ON HOW TO USE THE TEMPLATE==


{{Book Chapters                                          <!-- The name of the template e.g "Book Chapters" -->
{{Book                                         <!-- The name of the template e.g "Book Chapters" -->
       |acronym=write the Chapter Title                  <!-- Append to variable Title the content "Masks of Demons" -->
       |acronym=write the Chapter Title                  <!-- Append to variable Title the content "Masks of Demons" -->
       |logo=MasksOfDemonsCover.png                  <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                          appropriate content-->
       |imagename=MasksOfDemonsCover.png                  <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                          appropriate content-->
        
        
       |chapter_authors=write the Chapter Author of the Book
       |chapter_authors=write the Chapter Author of the Book
Line 30: Line 30:
Copy and paste the code below to the page you wish to add an Associate's box such as this one:
Copy and paste the code below to the page you wish to add an Associate's box such as this one:
<pre>
<pre>
{{Book Chapter                                         
{{Book                                        
       |acronym=write the Chapter Title                   
       |acronym=write the Chapter Title                   
       |logo=MasksOfDemonsCover.png  
       |imagename=MasksOfDemonsCover.png  
       |chapter_authors=write the Chapter Author of the Book
       |chapter_authors=write the Chapter Author of the Book
       |book_title=write the Book Tilte
       |book_title=write the Book Tilte

Revision as of 18:12, 26 April 2018





EXAMPLE ON HOW TO USE THE TEMPLATE

Template:Chapter authors
write the Chapter Title
MasksOfDemonsCover.png



Copy and paste the code below to the page you wish to add an Associate's box such as this one:

{{Book                                          
       |acronym=write the Chapter Title                  
       |imagename=MasksOfDemonsCover.png 
       |chapter_authors=write the Chapter Author of the Book
       |book_title=write the Book Tilte
       |book_editor=write the Editor of the Book
       |book_publisher=write the Publisher of the Book
       |publisher_location=write the Publisher Location
       |pages=write the pages of the Book
       |year=write Year of the Book
       |link=write the Link of the Book
}}

Then replace the content of the variables with your own, for example :

  Replace 
            acronym=write the Chapter Title  
  With 
            acronym=Mask Of Demons

List of Variables

  • acronym : This variable expects from the editor to assign to it the Chapter Title
  • logo : This variable expects from the editor to assign to it the First Page 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.
  • chapter_authors : This variable expects from the editor to assign to it the Chapter Authors of the Book
  • book_editor : This variable expects from the editor to assign to it the Book Editor
  • book_publisher : This variable expects from the editor to assign to it the Book Publisher
  • publisher_location : This variable expects from the editor to assign to it the Publisher Location
  • pages : This variable expects from the editor to assign to it the pages of the Book
  • year : This variable expects from the editor to assign to it the year of the Book
  • link : This variable expects from the editor to assign to it the link of the Book