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

Από Digital Cyprus
Μετάβαση στην πλοήγηση Πήδηση στην αναζήτηση
Χωρίς σύνοψη επεξεργασίας
Χωρίς σύνοψη επεξεργασίας
Γραμμή 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="285" style="margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#E5E5E5;line-height:1.5em;word-spacing:0.5px;"
|
|
{| border="0" width="100%" align="center" cellspacing="5" style="background-color:#FFCC33;padding:0px"
{{Person
! align="center" valign="top"|{{#if:{{{title|}}} | {{{title}}} }}
|color=#E5E5E5;
|-
|image={{{logo}}}
| align="center" border="0"  | {{#if:{{{book_image|}}} | {{ScaleImage
|name={{{acronym}}}
|imagename={{{book_image}}}
}}
|caption={{{title}}}
{| border="0" width="100%" cellspacing="5" style="background-color:#E5E5E5;padding:0px"
|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"
|- valign="top" style="font-size:11px"
| width="20%" |<b>{{#if:{{{author|}}} | '''Author(s)''' }}</b>
| <b>{{#if:{{{chapter_authors|}}} | '''Chapter Authors''' }}</b>
||{{#if:{{{author|}}} | {{{author}}} }}
||{{#if:{{{chapter_authors|}}} | {{{chapter_authors}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{editor|}}} | '''Editor(s)''' }}</b>
| <b>{{#if:{{{book_title|}}} | '''Book Title''' }}</b>
||{{#if:{{{editor|}}} | {{{editor}}} }}
||{{#if:{{{book_title|}}} | {{{book_title}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{pages|}}} | '''Pages''' }}</b>
| <b>{{#if:{{{book_editor|}}} | '''Book Editor''' }}</b>
||{{#if:{{{pages|}}} | {{{pages}}} }}
||{{#if:{{{book_editor|}}} | {{{book_editor}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{isbn_13|}}} | '''ISBN-13''' }}</b>
| <b>{{#if:{{{book_publisher|}}} | '''Book Publisher''' }}</b>
||{{#if:{{{isbn_13|}}} | {{{isbn_13}}} }}
||{{#if:{{{book_publisher|}}} | {{{book_publisher}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{isbn_10|}}} | '''ISBN-10''' }}</b>
| <b>{{#if:{{{publisher_location|}}} | '''Publisher Location''' }}</b>
||{{#if:{{{isbn_10|}}} | {{{isbn_10}}} }}
||{{#if:{{{publisher_location|}}} | {{{publisher_location}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{lccn|}}} | '''LCCN''' }}</b>
| <b>{{#if:{{{pages|}}} | '''Pages''' }}</b>
||{{#if:{{{lccn|}}} | {{{lccn}}} }}
||{{#if:{{{pages|}}} | {{{pages}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{bisac|}}} | '''BISAC''' }}</b>
||{{#if:{{{bisac|}}} | {{{bisac}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{year|}}} | '''Year''' }}</b>
| <b>{{#if:{{{year|}}} | '''Year''' }}</b>
Γραμμή 40: Γραμμή 33:
|}
|}
|}
|}
<noinclude>
<noinclude>
<br /><br /><br />
<br /><br /><br />
Γραμμή 45: Γραμμή 39:
==EXAMPLE ON HOW TO USE THE TEMPLATE==
==EXAMPLE ON HOW TO USE THE TEMPLATE==


{{Book                                          <!-- The name of the template -->
{{Book Chapters                                           <!-- The name of the template e.g "Book Chapters" -->
  |title=write the title of the book                      <!-- Append to variable acronym the content   acronym of the sdd report -->
      |acronym=write the Chapter Title                  <!-- Append to variable Title the content "Masks of Demons" -->
|book_image=OrientationManual.png     <!-- 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-->
    |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
      |chapter_authors=write the Chapter Author of the Book
       |pages= write the Pages of the book
       |book_title=write the Book Tilte
       |isbn_13=write the ISBN-13 of the book  <!-- e.g  978-1461083207 -->
       |book_editor=write the Editor of the Book
       |isbn_10=write the ISBN-10 of the book  <!-- e.g  1461083206 -->
       |book_publisher=write the Publisher of the Book
       |lccn=write the LCCN                                  <!-- e.g  2011906993 -->
       |publisher_location=write the Publisher Location
      |bisac=write the BISAC                                <!-- e.g  Biography & Autobiography / Personal Memoirs  -->
       |pages=write the pages of the Book
       |year=write the Year of the book
       |year=write Year of the Book
       |link=write the link to the book if any
       |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:
 
Copy and paste the code below to the page you wish to add a Book's box such as this one:
<pre>
<pre>
{{Book                                           
{{Book Chapter                                            
       |title=write the title of the book                     
       |acronym=write the Chapter Title                 
       |book_image=OrientationManual.png
       |logo=MasksOfDemonsCover.png  
       |author=write the Author(s) of the book   
       |chapter_authors=write the Chapter Author of the Book
       |editor=write the Editor(s) of the Book
       |book_title=write the Book Tilte
       |pages= write the Pages of the book
       |book_editor=write the Editor of the Book
       |isbn_13=write the ISBN-13 of the book 
       |book_publisher=write the Publisher of the Book
       |isbn_10=write the ISBN-10 of the book 
       |publisher_location=write the Publisher Location
       |lccn=write the LCCN                                 
       |pages=write the pages of the Book
      |bisac=write the BISAC                               
       |year=write Year of the Book
       |year=write the Year of the book
       |link=write the Link of the Book
       |link=write the link to the book if any
}}
}}
</pre>
</pre>
Γραμμή 81: Γραμμή 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  
             title=write the title of the book 
             acronym=write the Chapter Title 
   With  
   With  
             <span style="color:red">title=Masks of Demons</span>
             <span style="color:red">acronym=Mask Of Demons</span>
===List of Variables===
===List of Variables===
* <b>title</b> : This variable expects from the editor to assign to it the title of the Book.
* <b>acronym</b> : This variable expects from the editor to assign to it the Chapter Title
* <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>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>author</b> : This variable expects from the editor to assign to it the author of the Book.
* <b>chapter_authors</b> : This variable expects from the editor to assign to it the Chapter Authors of the Book
* <b>editor</b> : This variable expects from the editor to assign to it the editor of the Book
* <b>book_editor</b> : This variable expects from the editor to assign to it the Book Editor
* <b>pages</b> : This variable expects from the editor to assign to it the number of pages of the Book
* <b>book_publisher</b> : This variable expects from the editor to assign to it the Book Publisher
* <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>publisher_location</b> : This variable expects from the editor to assign to it the Publisher Location
* <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>pages</b> : This variable expects from the editor to assign to it the pages of the Book
* <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>year</b> : This variable expects from the editor to assign to it the year of the Book
* <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>link</b> : This variable expects from the editor to assign to it the link of the Book
* <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>
<noinclude>[[Category:T/Reports]]</noinclude>
<noinclude>[[Category:T/Reports]]</noinclude>

Αναθεώρηση της 15:01, 26 Απριλίου 2018

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





EXAMPLE ON HOW TO USE THE TEMPLATE

Πρότυπο:Book Chapters


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