Template:Book Chapters: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 7: Line 7:
}}
}}
{| border="0" width="100%" cellspacing="5" style="background-color:#E5E5E5;padding:0px"
{| border="0" width="100%" cellspacing="5" style="background-color:#E5E5E5;padding:0px"
|- valign="top" style="font-size:11px"
| width="25%" |<b>{{#if:{{{chapter_title|}}} | '''Chapter Title''' }}</b>
||{{#if:{{{chapter_title|}}} | {{{chapter_title}}} }}
|- valign="top" style="font-size:11px"
| width="25%" |<b>{{#if:{{{firstpage_image|}}} | '''FirstPage Image''' }}</b>
||{{#if:{{{firstpage_image|}}} | {{{firstpage_image}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{chapter_authors|}}} | '''Chapter Authors''' }}</b>
| <b>{{#if:{{{chapter_authors|}}} | '''Chapter Authors''' }}</b>
Line 25: Line 19:
| <b>{{#if:{{{book_publisher|}}} | '''Book Publisher''' }}</b>
| <b>{{#if:{{{book_publisher|}}} | '''Book Publisher''' }}</b>
||{{#if:{{{book_publisher|}}} | {{{book_publisher}}} }}
||{{#if:{{{book_publisher|}}} | {{{book_publisher}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{publisher_location|}}} | '''Publisher Location''' }}</b>
||{{#if:{{{publisher_location|}}} | {{{publisher_location}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{pages|}}} | '''Pages'''  }}</b>
| <b>{{#if:{{{pages|}}} | '''Pages'''  }}</b>
Line 43: Line 40:


{{Book Chapters                                          <!-- The name of the template e.g "Book Chapters" -->
{{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 Chapter Title                   <!-- Append to variable Title the content "Masks of Demons" -->
       |logo=Moblang.jpg                   <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                          appropriate content-->
       |logo=MasksOfDemonsCover.png                   <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                          appropriate content-->
       |chapter_title=write the Chapter Title
        
      |firstpage_image=Moblang.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
       |book_editor=write the Editor of the Book
       |book_editor=write the Editor of the Book
       |book_publisher=write the Publisher of the Book
       |book_publisher=write the Publisher of the Book
      |publisher_location=write the Publisher Location
       |pages=write the pages of the Book
       |pages=write the pages of the Book
       |year=write Year of the Book
       |year=write Year of the Book
Line 60: Line 57:
<pre>
<pre>
{{Book Chapter                                           
{{Book Chapter                                           
       |acronym=write the Book acronym                 
       |acronym=write the Chapter Title                
      |logo=moblang.jpg
       |logo=MasksOfDemonsCover.png  
      |chapter_title=write the Chapter Title  
       |firstpage_image=Moblang.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
       |book_editor=write the Editor of the Book
       |book_editor=write the Editor of the Book
       |book_publisher=write the Publisher of the Book
       |book_publisher=write the Publisher of the Book
      |publisher_location=write the Publisher Location
       |pages=write the pages of the Book
       |pages=write the pages of the Book
       |year=write Year of the Book
       |year=write Year of the Book
Line 76: Line 72:
Then replace the content of the variables with your own, for example :
Then replace the content of the variables with your own, for example :
   Replace  
   Replace  
             acronym=write the Book acronym  
             acronym=write the Chapter Title  
   With  
   With  
             <span style="color:red">acronym=Moblang</span>
             <span style="color:red">acronym=Mask Of Demons</span>
===List of Variables===
===List of Variables===
* <b>acronym</b> : This variable expects from the editor to assign to it the acronym of the Book
* <b>acronym</b> : This variable expects from the editor to assign to it the Chapter Title
* <b>logo</b> : 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.
* <b>logo</b> : 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.
* <b>chapter_title</b> : This variable expects from the editor to the Chapter Title (write the chapter title)
* <b>firstpage_image</b> : This variable expects from the editor to assign to it the FirstPage Image for the Book
* <b>chapter_authors</b> : This variable expects from the editor to assign to it the Chapter Authors of the Book
* <b>chapter_authors</b> : This variable expects from the editor to assign to it the Chapter Authors of the Book
* <b>book_editor</b> : This variable expects from the editor to assign to it the Book Editor
* <b>book_editor</b> : This variable expects from the editor to assign to it the Book Editor
* <b>book_publisher</b> : This variable expects from the editor to assign to it the Book Publisher
* <b>book_publisher</b> : This variable expects from the editor to assign to it the Book Publisher
* <b>publisher_location</b> : This variable expects from the editor to assign to it the Publisher Location
* <b>pages</b> : This variable expects from the editor to assign to it the pages of the Book
* <b>pages</b> : This variable expects from the editor to assign to it the pages of the Book
* <b>partners</b> : This variable expects from the editor to assign to it the partner(s) involved in the Project
* <b>year</b> : This variable expects from the editor to assign to it the year of the Book
* <b>year</b> : This variable expects from the editor to assign to it the year of the Book
* <b>link</b> : This variable expects from the editor to assign to it the link of the Book
* <b>link</b> : This variable expects from the editor to assign to it the link of the Book
</noinclude>
</noinclude>
<noinclude>[[Category:Book Chapter]]</noinclude>
<noinclude>[[Category:T/Reports]]</noinclude>

Latest revision as of 03:10, 23 April 2018

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





EXAMPLE ON HOW TO USE THE TEMPLATE

write the Chapter Title
write the Chapter Title
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



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 Chapter Title                  
       |logo=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