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

Μετάβαση στην πλοήγηση Πήδηση στην αναζήτηση
καμία σύνοψη επεξεργασίας
Χωρίς σύνοψη επεξεργασίας
Χωρίς σύνοψη επεξεργασίας
 
(21 ενδιάμεσες αναθεωρήσεις από τον ίδιο χρήστη δεν εμφανίζεται)
Γραμμή 1: Γραμμή 1:
<includeonly>
{| 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;"
{| class=infobox width="285" style="padding-top: 3px;padding-left: 3px;padding-right: 3px;margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#FFFFFF;line-height:1.5em;word-spacing:0.5px; font-size: 14px"
|
!align=center style="background:{{MasterColor| masterCategory=yes}}" colspan="2"|{{{acronym}}}
{{Person
|-
|color=#E5E5E5;
{{#if:{{{imagename|}}} |{{Εικόνα |newwidth={{{newwidth|270px}}} |imagename={{{imagename}}}|imageCaption={{{imageCaption|}}} }}|}}
|image={{{logo}}}
|-
|name={{{acronym}}}
{{Book| color={{MasterColor| masterCategory=yes}}| chapter_authors={{{chapter_authors}}}| book_title={{{book_title}}}|book_editor={{{book_editor}}}|book_publisher={{{book_publisher}}}|publisher_location={{{publisher_location}}}| pages={{{pages}}}| year={{{year}}} |link={{{link}}} }}
}}
{| border="0" width="100%" cellspacing="5" style="background-color:#E5E5E5;padding:0px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{chapter_authors|}}} | '''Chapter Authors''' }}</b>
||{{#if:{{{chapter_authors|}}} | {{{chapter_authors}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{book_title|}}} | '''Book Title''' }}</b>
||{{#if:{{{book_title|}}} | {{{book_title}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{book_editor|}}} | '''Book Editor''' }}</b>
||{{#if:{{{book_editor|}}} | {{{book_editor}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{book_publisher|}}} | '''Book Publisher''' }}</b>
||{{#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"
| <b>{{#if:{{{pages|}}} | '''Pages'''  }}</b>
||{{#if:{{{pages|}}} | {{{pages}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{year|}}} | '''Year''' }}</b>
||{{#if:{{{year|}}} | {{{year}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{link|}}} | '''Link''' }}</b>
||{{#if:{{{link|}}} | {{{link}}} }}
|}
|}
</includeonly>
|}
 
<noinclude>
<noinclude>
<br /><br /><br />
<br /><br /><br />
Γραμμή 13: Γραμμή 39:
==EXAMPLE ON HOW TO USE THE TEMPLATE==
==EXAMPLE ON HOW TO USE THE TEMPLATE==


{{Book                                         <!-- The name of the template e.g "Book" -->
{{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 Book Title                  <!-- Append to variable Title the content "Masks of Demons" -->
       |imagename=MasksOfDemonsCover.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-->
        
        
       |chapter_authors=write the Chapter Author of the Book
       |chapter_authors=write the Chapter Author of the Book
Γραμμή 31: Γραμμή 57:
<pre>
<pre>
{{Book                                           
{{Book                                           
       |acronym=write the Chapter Title                   
       |acronym=write the Book Title                   
       |imagename=MasksOfDemonsCover.png  
       |logo=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
Γραμμή 50: Γραμμή 76:
             <span style="color:red">acronym=Mask Of Demons</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 Chapter Title
* <b>acronym</b> : This variable expects from the editor to assign to it the Book Title
* <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>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_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

Μενού πλοήγησης