Template:Infobox book/sandbox: Difference between revisions

From Celestial Lance Universe Wiki
Jump to navigation Jump to search
(Created page with " ")
 
No edit summary
 
Line 1: Line 1:
 
{{Infobox
| templatestyles = Infobox book/styles.css
| italic title = {{if empty|{{{italic title|}}}|<noinclude>no</noinclude>}}
| bodyclass = ib-book vcard
 
<!---------------Title----------------->
| title = <includeonly>{{#if:{{{name|}}}{{{caption|}}}{{{image_caption|}}}{{{editors|}}}{{{editor|}}}{{{authors|}}}{{{author|}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|}}}{{{translator|}}}{{{illustrators|}}}{{{illustrator|}}}{{{cover_artist|}}}{{{pub_place|}}}{{{country|}}}{{{language|}}}{{{series|}}}{{{release_number|}}}{{{subjects|}}}{{{subject|}}}{{{genres|}}}{{{genre|}}}{{{set_in|}}}{{{set_on|}}}{{{published|}}}{{{publisher|}}}{{{publisher2|}}}{{{pub_date|}}}{{{release_date|}}}{{{media_type|}}}{{{pages|}}}{{{awards|}}}{{{award|}}}{{{isbn_note|}}}{{{ISBN_note|}}}{{{dewey|}}}{{{congress|}}}| }}<!-- hack for ref ordering
-->{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} <!--
--><span class="Z3988"
          title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}&rft.genre=book&rft.btitle={{urlencode:{{{name|}}}}}<!--
                -->{{#if:{{{author|}}}    |&rft.author={{urlencode:{{{author}}}}}}}<!--
                -->{{#if:{{{last|}}}      |&rft.aulast={{urlencode:{{{last}}}}}}}<!--
                -->{{#if:{{{first|}}}    |&rft.aufirst={{urlencode:{{{first}}}}}}}<!--
                -->{{#if:{{{pub_date|}}}{{{release_date|}}} |&rft.date={{urlencode:{{if empty|{{{pub_date|}}}|{{{release_date}}}}}}}}}<!--
                -->{{#if:{{{publisher|}}} |&rft.pub={{urlencode:{{{publisher}}}}}}}<!--
                -->{{#if:{{{pub_place|}}}{{{country|}}} |&rft.place={{urlencode:{{if empty|{{{pub_place|}}}|{{{country|}}}}}}}}}<!--
                -->{{#if:{{{pages|}}}    |&rft.pages={{urlencode:{{{pages}}}}}}}<!--
                -->{{#if:{{{series|}}}    |&rft.series={{urlencode:{{{series}}}}}}}<!--
                -->{{#if:{{{oclc|}}}      |&rft_id=info:oclcnum/{{{oclc}}}}}"><!--
--></span><!--
      --></includeonly>
 
<!---------------Image----------------->
| image = {{#if:{{{image|}}} <!--
  then:-->|  {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |title={{{alt|}}} |border={{{border|}}} |suppressplaceholder=yes}}
          }}
| caption = {{if empty|{{{caption|}}}|{{{image_caption|}}}}}
 
<!---------------Data------------------>
| label1  = Editor{{#if:{{{editors|}}}|s}}
|  data1  = {{if empty|{{{editors|}}}|{{{editor|}}}}}
 
| label2  = Author{{#if:{{{authors|}}}|s}}
|  data2  = {{if empty|{{{authors|}}}|{{{author|}}}}}
 
| label3  = Audio&nbsp;read&nbsp;by
|  data3  = {{{audio_read_by|}}}
 
| label4  = Original&nbsp;title
|  data4  = {{#if:{{{title_orig|}}} |{{#if:{{{orig_lang_code|}}}|{{lang|{{{orig_lang_code|}}} |{{{title_orig}}} |italics={{#invoke:infobox/utilities|set_italics|{{{orig_lang_code|}}}|{{{title_orig}}}}}}}|''{{{title_orig}}}''}} }}
 
| label5  = Working&nbsp;title
|  data5  = {{#if:{{{title_working|}}} |''{{{title_working}}}''}}
 
| label6  = Translator{{#if:{{{translators|}}}|s}}
|  data6  = {{if empty|{{{translators|}}}|{{{translator|}}}}}
 
| label7  = Illustrator{{#if:{{{illustrators|}}}|s}}
|  data7  = {{if empty|{{{illustrators|}}}|{{{illustrator|}}}}}
 
| label8  = Cover&nbsp;artist
|  data8  = {{{cover_artist|}}}
 
| label11 = Language
|  data11 = {{{language|}}}
 
| label12 = Series
|  data12 = {{{series|}}}
 
| label13 = {{longitem|Release number}}
|  data13 = {{{release_number|}}}
 
| label14 = Subject{{#if:{{{subjects|}}}|s}}
|  data14 = {{if empty|{{{subjects|}}}|{{{subject|}}}}}
 
| label15 = Genre{{#if:{{{genres|}}}|s}}
|  data15 = {{{genres|{{{genre|}}}}}}
 
| label16 = {{#if:{{{set_on|}}}|Set&nbsp;on|Set&nbsp;in}}
|  data16 = {{ifempty|{{{set_on|}}}|{{{set_in|}}}}}
 
| label17 = Published
|  data17 = {{{published|}}}
 
| label18 = Publisher
|  data18 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }}
 
| label19 = {{longitem|Publication date}}
|  data19 = {{{pub_date|{{{release_date|}}}}}}
 
| label20 = Publication place
|  data20 = {{if empty|{{{pub_place|}}}|{{{country|}}}}}
 
| label24 = Media&nbsp;type
|  data24 = {{{media_type|}}}
 
| label25 = Pages
|  data25 = {{{pages|}}}
 
| label26 = Award{{#if:{{{awards|}}}|s}}
|  data26 = {{if empty|{{{awards|}}}|{{{award|}}} }}
 
| label30 = ISBN
|  data30 = {{{isbn|{{{ISBN|}}}}}}
 
| label31 = OCLC
|  data31 = {{{oclc|}}}
 
| label32 = {{longitem|Dewey Decimal}}
|  data32 = {{{dewey|}}}
 
| label34 = Preceded&nbsp;by
|  data34 = {{#if:{{{preceded_by|}}} |''{{{preceded_by|}}}&nbsp;''
            | {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}}
            }}
 
| label35 = Followed&nbsp;by
|  data35 = {{#if:{{{followed_by|}}} |''{{{followed_by|}}}&nbsp;''
            | {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}}
            }}
 
| label38  = Website
| data38    = {{if empty|{{{website|}}}|{{{homepage|}}}|{{{URL|}}}}}
 
| data60 = {{{module|}}}
 
| below = {{if empty|{{{notes|}}}|{{{note|}}}}}
 
}}{{#if:{{{image|}}}||{{#ifeq:{{yesno|{{lc:{{if empty|{{{exclude_cover|}}}|no}}}}}}|yes | |{{main other|[[Category:Books with missing cover]]}} }}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox book with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox book]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | audio_read_by | author | authors | award | awards | border | caption | congress | country | cover_artist | dewey | editor | editors | exclude_cover | external_host | external_url | first | followed_by | followed_by_quotation_marks | genre | genres | homepage | illustrator | illustrators | image | image_caption | image_size | isbn | ISBN  | isbn_note | ISBN_note | italic title | language | last | media_type | module | name | nocat_wdimage | note | notes | oclc | orig_lang_code | pages | preceded_by | preceded_by_quotation_marks | pub_date | pub_place | published | publisher | publisher2 | release_date | release_number | series | set_in | set_on | subject | subjects | title_orig | title_working | translator | translators | URL | website
}}{{#invoke:Check for conflicting parameters|check
| template = [[Template:Infobox book]]
| cat = {{main other|Category:Pages using infobox book with conflicting parameters}}
| pub_date; release_date
| caption; image_caption
| editors; editor
| authors; author
| translators; translator
| illustrators; illustrator
| set_on; set_in
| subjects; subject
| genres; genre
| pub_date; release_date
| pub_place; country
| awards; award
| isbn; ISBN
| isbn_note; ISBN_note
| website; homepage; URL
| notes; note
}}<noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 20:28, 29 April 2026