Template:Book Chapters: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 42: Line 42:
==EXAMPLE ON HOW TO USE THE TEMPLATE==
==EXAMPLE ON HOW TO USE THE TEMPLATE==


{{Bookchapter                                           <!-- The name of the template e.g "Bookchapter" -->
{{Book Chapters                                           <!-- The name of the template e.g "Book Chapters" -->
       |acronym=write the Book acronym                  <!-- Append to variable acronym the content "moblang" -->
       |acronym=write the Book acronym                  <!-- Append to variable acronym the content "moblang" -->
       |logo=Moblang.jpg                  <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                          appropriate content-->
       |logo=Moblang.jpg                  <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                          appropriate content-->
Line 59: Line 59:
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>
{{Bookchapter                                            
{{Book Chapter                                            
       |acronym=write the Book acronym                   
       |acronym=write the Book acronym                   
       |logo=moblang.jpg  
       |logo=moblang.jpg  

Revision as of 00:39, 27 October 2014

{{{acronym}}}
[[File:{{{logo}}}|200px|text-top|{{{acronym}}}]]





EXAMPLE ON HOW TO USE THE TEMPLATE

write the Book acronym
write the Book acronym
Chapter Title write the Chapter Title
FirstPage Image Moblang.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
Pages write the pages of the Book
Year write Year of the Book
Link write the Link of the Book



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

{{Book Chapter                                           
       |acronym=write the Book acronym                   
       |logo=moblang.jpg 
       |chapter_title=write the Chapter Title 
       |firstpage_image=Moblang.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
       |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 Book acronym  
  With 
            acronym=Moblang

List of Variables

  • acronym : This variable expects from the editor to assign to it the acronym of the Book
  • logo : This variable expects from the editor to assign to it the logo 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_title : This variable expects from the editor to the Chapter Title (write the chapter title)
  • firstpage_image : This variable expects from the editor to assign to it the FirstPage Image for the Book
  • 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
  • pages : This variable expects from the editor to assign to it the pages of the Book
  • partners : This variable expects from the editor to assign to it the partner(s) involved in the Project
  • 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