Template:Infobox book: Difference between revisions

    From WikiPasokh
    No edit summary
    No edit summary
     
    Line 1: Line 1:
    {{Infobox
    {{Infobox
      | bodystyle = border-radius:4px; background-color:#F4FFF5; max-width:25%; width:{{{width|}}};  
      | bodystyle = border-radius:4px; background-color:#F4FFF5; max-width:25%; width:{{{width|}}}; border: green 1px solid


      | titlestyle = padding: 3px
      | titlestyle = padding: 3px
    Line 13: Line 13:
      | header1 = Book Information
      | header1 = Book Information


      | label2 = other names
      | label2 = Other names
      | data2 = {{{other names|}}}
      | data2 = {{{other names|}}}


      | label3 = author
      | label3 = Author
      | data3 = {{{author|}}}
      | data3 = {{{author|}}}


      | label4 = date of writing
      | label4 = Date of writing
      | data4 = {{{date of writing|}}}
      | data4 = {{{date of writing|}}}


      | label6 = subject
      | label6 = Subject
      | data6 = {{{subject|}}}
      | data6 = {{{subject|}}}


      | label8 = style
      | label8 = Style
      | data8 = {{{style|}}}
      | data8 = {{{style|}}}


      | label10 = language
      | label10 = Language
      | data10 = {{{language|}}}
      | data10 = {{{language|}}}


      | label12 = editor
      | label12 = Editor
      | data12 = {{{editor|}}}
      | data12 = {{{editor|}}}


      | label13 = by efforts
      | label13 = By efforts
      | data13 = {{{by efforts|}}}
      | data13 = {{{by efforts|}}}


      | label14 = correction
      | label14 = Correction
      | data14 = {{{correction|}}}
      | data14 = {{{correction|}}}


      | label16 = volumes
      | label16 = Volumes
      | data16 = {{{volumes|}}}
      | data16 = {{{volumes|}}}


      | label18 = pages
      | label18 = Pages
      | data18 = {{{pages|}}}
      | data18 = {{{pages|}}}


      | label20 = size
      | label20 = Size
      | data20 = {{{size|}}}
      | data20 = {{{size|}}}


      | label21 = collection
      | label21 = Collection
      | data21 = {{{collection|}}}
      | data21 = {{{collection|}}}


      | label22 = illustrator
      | label22 = Illustrator
      | data22 = {{{illustrator|}}}
      | data22 = {{{illustrator|}}}


      | label23 = cover artist
      | label23 = Cover artist
      | data23 = {{{cover artist|}}}
      | data23 = {{{cover artist|}}}


      | label25 = translations
      | label25 = Translations
      | data25 = {{{translations|}}}
      | data25 = {{{translations|}}}




      | header30 = {{#if: {{{publisher ||}}}{{{publication place|}}}{{{publication date|}}}{{{نوبت چاپ|}}}{{{شمارگان|}}}{{{شابک|}}}{{{نوع رسانه|}}}{{{وبسایت publisher|}}} | اطلاعات نشر}}
      | header30 = {{#if: {{{publisher ||}}}{{{publication place|}}}{{{publication date|}}}{{{print order|}}}{{{print run|}}}{{{ISBN|}}}{{{type of media|}}}{{{website of publisher|}}} |Publication Information}}


      | label32 = publisher
      | label32 = Publisher
      | data32 = {{{publisher|}}}
      | data32 = {{{publisher|}}}


      | label33 = publication place
      | label33 = Publication place
      | data33 = {{{publication place|}}}
      | data33 = {{{publication place|}}}


      | label35 = publication date
      | label35 = Publication date
      | data35 = {{{publication date|}}}
      | data35 = {{{publication date|}}}


      | label36 = نوبت چاپ
      | label36 = Print order
      | data36 = {{{نوبت چاپ|}}}
      | data36 = {{{print order|}}}


      | label38 = شمارگان
      | label38 = Print run
      | data38 = {{{شمارگان|}}}
      | data38 = {{{print run|}}}


      | label39 = شابک
      | label39 = ISBN
      | data39 = {{{شابک|}}}
      | data39 = {{{ISBN|}}}


      | label40 = نوع رسانه
      | label40 = Type of media
      | data40 = {{{نوع رسانه|}}}
      | data40 = {{{type of media|}}}


      | label42 = وبسایت publisher
      | label42 = Website of publisher
      | data42 = {{{وبسایت publisher|}}}
      | data42 = {{{website of publisher|}}}


      | header46 = {{#if: {{{name کتاب|}}}{{{مترجم|}}}{{{مشخصات نشر|}}} | ترجمه فارسی}}
      | header46 = {{#if: {{{name of english translation|}}}{{{translator|}}}{{{publication info|}}} |Translation to English}}


      | label48 = نام کتاب
      | label48 = Name of English translation
      | data48 = {{{name کتاب|}}}
      | data48 = {{{name of english translation|}}}


      | label50 = مترجم
      | label50 = Translator
      | data50 = {{{مترجم|}}}
      | data50 = {{{translator|}}}


      | label51 = مشخصات نشر
      | label51 = Publication info
      | data51 = {{{مشخصات نشر|}}}
      | data51 = {{{publication info|}}}


      | label61 = نسخه الکترونیکی
      | label61 = Electronic version
      | data61 = {{{نسخه الکترونیکی|}}}
      | data61 = {{{electronic version|}}}


    }}<noinclude>
    }}<noinclude>


    == طرز استفاده ==
    == Usage ==
    <pre>
    <pre>
    {{Infobox book
    {{Infobox book
    Line 130: Line 130:
      | publication place =  
      | publication place =  
      | publication date =  
      | publication date =  
      | نوبت چاپ =  
      | print order =  
      | شمارگان =  
      | print run =  
      | شابک =  
      | ISBN =  
      | نوع رسانه =  
      | type of media =  
      | وبسایت publisher =  
      | website of publisher =  
      | نام کتاب = <!-- نام کتاب به language فارسی -->
      | name of english translation = <!-- name of english translation -->
      | مترجم = <!-- مترجم به فارسی -->
      | translator = <!-- translator -->
      | مشخصات نشر = <!-- مشخصات نشر در language فارسی -->
      | publication info = <!-- english publication info -->
      | نسخه الکترونیکی =  
      | electronic version =  
    }}
    }}
    </pre>
    </pre>
    = = مثال = =  
     
    ==Example==


    {{Infobox book
    {{Infobox book
      | عنوان = 1
      | title = 1
      | تصویر = Din va Azadi.JPG
      | image = Din va Azadi.JPG
      | image size = 100px
      | image size = 100px
      | caption = 2
      | caption = 2
    Line 163: Line 164:
      | size = 16
      | size = 16
      | collection = 17
      | collection = 17
      | ترجمه به دیگر language‌ها = 18
      | translations = 18
      | publisher = 19
      | publisher = 19
      | publication place = 20
      | publication place = 20
      | publication date = 21
      | publication date = 21
      | نوبت چاپ = 22
      | print order = 22
      | شمارگان = 23
      | print run = 23
      | شابک = 24
      | ISBN = 24
      | نوع رسانه = 25
      | type of media = 25
      | وبسایت publisher = 26
      | website of publisher = 26
      | نام کتاب = 27
      | name of english translation = 27
      | مترجم = 28
      | translator = 28
      | مشخصات نشر = 29
      | publication info = 29
      | نسخه الکترونیکی = 30
      | electronic version = 30
    }}
    }}
    </noinclude>
    </noinclude>

    Latest revision as of 20:01, 8 November 2024

    Book Information

    Usage

    {{Infobox book
     | title = 
     | image = 
     | image size = 
     | caption = 
     | other names = 
     | author = 
     | date of writing = 
     | subject = 
     | style = 
     | language = 
     | editor = 
     | correction = 
     | by efforts = 
     | illustrator = 
     | cover artist = 
     | volumes = 
     | pages = 
     | size = 
     | collection = 
     | translations = 
     | publisher = 
     | publication place = 
     | publication date = 
     | print order = 
     | print run = 
     | ISBN = 
     | type of media = 
     | website of publisher = 
     | name of english translation = <!-- name of english translation -->
     | translator = <!-- translator -->
     | publication info = <!-- english publication info -->
     | electronic version = 
    }}
    

    Example

    1
    Infobox book
    2
    Book Information
    Other names3
    Author4
    Date of writing5
    Subject6
    Style7
    Language8
    Editor9
    By efforts11
    Correction10
    Volumes14
    Pages15
    Size16
    Collection17
    Illustrator12
    Cover artist13
    Translations18
    Publication Information
    Publisher19
    Publication place20
    Publication date21
    Print order22
    Print run23
    ISBN24
    Type of media25
    Website of publisher26
    Translation to English
    Name of English translation27
    Translator28
    Publication info29
    Electronic version30