Πρότυπο:Book: Διαφορά μεταξύ των αναθεωρήσεων
Μετάβαση στην πλοήγηση
Πήδηση στην αναζήτηση
Χωρίς σύνοψη επεξεργασίας |
Χωρίς σύνοψη επεξεργασίας |
||
Γραμμή 1: | Γραμμή 1: | ||
{| 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;" | |||
{| | | | ||
{{Person | |||
|- | |color=#E5E5E5; | ||
{{#if:{{{ | |image={{{logo}}} | ||
|- | |name={{{acronym}}} | ||
{{| | }} | ||
{| 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}}} }} | |||
|} | |} | ||
|} | |||
<noinclude> | <noinclude> | ||
<br /><br /><br /> | |||
__TOC__ | __TOC__ | ||
==EXAMPLE ON HOW TO USE THE TEMPLATE== | ==EXAMPLE ON HOW TO USE THE TEMPLATE== | ||
{{Book | {{Book <!-- The name of the template e.g "Book Chapters" --> | ||
|acronym= write the Book Title | |acronym=write the Book 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--> | ||
|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 | ||
|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 | |link=write the Link of the Book | ||
|link= write the Link of the Book | |||
}} | }} | ||
Γραμμή 32: | Γραμμή 57: | ||
<pre> | <pre> | ||
{{Book | {{Book | ||
|acronym= write the Book Title | |acronym=write the Book Title | ||
| | |logo=MasksOfDemonsCover.png | ||
|chapter_authors=write the Chapter Author of the Book | |||
|book_title=write the Book Tilte | |||
|chapter_authors= write the Chapter Author of the Book | |book_editor=write the Editor of the Book | ||
|book_title= write the Book Tilte | |book_publisher=write the Publisher of the Book | ||
|book_editor= write the Editor of the Book | |publisher_location=write the Publisher Location | ||
|book_publisher= write the Publisher of the Book | |pages=write the pages of the Book | ||
|publisher_location= write the Publisher Location | |year=write Year of the Book | ||
|pages= write the pages of the Book | |link=write the Link of the Book | ||
|year= write Year of the Book | |||
|link= write the Link of the Book | |||
}} | }} | ||
</pre> | </pre> | ||
Then replace the content of the variables with your own, for example : | |||
Replace | |||
acronym=write the Chapter Title | |||
With | |||
<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 Book Title | * <b>acronym</b> : This variable expects from the editor to assign to it the Book Title | ||
* <b> | * <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 | ||
* <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 | ||
Γραμμή 59: | Γραμμή 86: | ||
* <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> | ||
Τελευταία αναθεώρηση της 19:13, 26 Απριλίου 2018
|
EXAMPLE ON HOW TO USE THE TEMPLATE
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 Book 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 Book 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