Template:Infobox book: Difference between revisions

no edit summary
(Created page with "{{Infobox | italic title = {{{italic title|<noinclude>no</noinclude>}}} | bodyclass = vcard | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width...")
 
No edit summary
Line 6: Line 6:
<!---------------Title----------------->
<!---------------Title----------------->
| titlestyle = font-style:italic;padding-bottom:0.2em<!--(so title doesn't touch border)-->;
| titlestyle = font-style:italic;padding-bottom:0.2em<!--(so title doesn't touch border)-->;
| title = <includeonly>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{editors|{{{editor|}}}}}}{{{authors|{{{author|}}}}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|{{{translator|}}}}}}{{{illustrators|{{{illustrator|}}}}}}{{{cover_artist|}}}{{{country|}}}{{{language|}}}{{{series|}}}{{{release_number|}}}{{{subjects|{{{subject|}}}}}}{{{genres|{{{genre|}}}}}}{{{set_in|}}}{{{published|}}}{{{publisher|}}}{{{publisher2|}}}{{{pub_date|{{{release_date|}}}}}}{{{english_pub_date|{{{english_release_date|}}}}}}{{{media_type|}}}{{{pages|}}}{{{awards|{{{award|}}}}}}{{{isbn_note|{{{ISBN_note|}}}}}}{{{dewey|}}}{{{congress|}}}| }}<!-- hack for ref ordering
| title = <includeonly>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{editors|{{{editor|}}}}}}{{{authors|{{{author|}}}}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|{{{translator|}}}}}}{{{illustrators|{{{illustrator|}}}}}}{{{cover_artist|}}}{{{country|}}}{{{series|}}}{{{release_number|}}}{{{subjects|{{{subject|}}}}}}{{{genres|{{{genre|}}}}}}{{{set_in|}}}{{{published|}}}{{{publisher|}}}{{{publisher2|}}}{{{pub_date|{{{release_date|}}}}}}{{{english_pub_date|{{{english_release_date|}}}}}}{{{media_type|}}}{{{pages|}}}{{{awards|{{{award|}}}}}}{{{isbn_note|{{{ISBN_note|}}}}}}{{{dewey|}}}{{{congress|}}}| }}<!-- hack for ref ordering
  -->{{{name|{{PAGENAMEBASE}}}}} <!--
  -->{{{name|{{PAGENAMEBASE}}}}} <!--
  --><span class="Z3988"
  --><span class="Z3988"
Line 124: Line 124:
             }}
             }}


| label36 = {{longitem|Original text}}
| label36 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }}
|  data36 = {{#if:{{both|{{{native_wikisource|}}}|{{{orig_lang_code|}}}}} <!--
data36 = {{#if:{{{wikisource|}}} <!--
    then:-->| ''{{lang |{{{orig_lang_code|}}}
                  | [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!--
              -->}}'' at <!--
              -->{{#if:{{#invoke:lang|is_ietf_tag|{{{orig_lang_code}}}}}|{{#invoke:lang|name_from_tag|{{{orig_lang_code}}}}}}} [[Wikisource]]<!--
              -->{{main other|[[Category:Articles that link to foreign-language Wikisources]]}} <!--(create hidden category to be monitored by WikiProject:Wikisource)
    else:-->| {{#if:{{both|{{{native_external_url|}}}|{{{orig_lang_code|}}}}}
                | ''{{lang |{{{orig_lang_code|}}}
                    | [{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]<!--
                -->}}'' <!--
                -->{{#if:{{{native_external_host|}}} |at {{{native_external_host|}}} |online}}
            }} }}
 
| label37 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }}
data37 = {{#if:{{{wikisource|}}} <!--
     then:-->| ''[[s:{{{wikisource|}}}|{{{name|{{PAGENAME}}}}}]]'' at <!--
     then:-->| ''[[s:{{{wikisource|}}}|{{{name|{{PAGENAME}}}}}]]'' at <!--
               -->{{#if:{{{native_wikisource|}}} |Wikisource |[[Wikisource]]}}<!--
               -->{{#if:{{{native_wikisource|}}} |Wikisource |[[Wikisource]]}}<!--
Line 148: Line 134:
             }} }}
             }} }}


| label38   = Website
| label37   = Website
| data38   = {{{website|{{{homepage|{{{URL|{{#ifeq:{{{website|{{{homepage|{{{URL|}}}}}}}}}
| data37   = {{{website|{{{homepage|{{{URL|{{#ifeq:{{{website|{{{homepage|{{{URL|}}}}}}}}}
     | FETCH_WIKIDATA
     | FETCH_WIKIDATA
     | {{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }}
     | {{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }}
Line 157: Line 143:
| below = {{{notes|{{{note|}}}}}}
| below = {{{notes|{{{note|}}}}}}


}}{{#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 | english_pub_date | english_release_date | exclude_cover | external_host | external_url | first | followed_by | followed_by_quotation_marks | genre | genres | homepage | illustrator | illustrators | image | image_caption | image_size | infoboxwidth | isbn | ISBN  | isbn_note | ISBN_note | italic title | language | last | location | media_type | name | native_external_host | native_external_url | native_wikisource | nocat_wdimage | note | notes | oclc | orig_lang_code | pages | preceded_by | preceded_by_quotation_marks | pub_date | published | publisher | publisher2 | release_date | release_number | series | set_in | subject | subjects | title_orig | title_working | translator | translators | URL | website | width | wikisource  
}}{{#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 | english_pub_date | english_release_date | exclude_cover | external_host | external_url | first | followed_by | followed_by_quotation_marks | genre | genres | homepage | illustrator | illustrators | image | image_caption | image_size | infoboxwidth | isbn | ISBN  | isbn_note | ISBN_note | italic title | language | last | location | media_type | name | native_external_host | native_external_url | native_wikisource | nocat_wdimage | note | notes | oclc | pages | preceded_by | preceded_by_quotation_marks | pub_date | published | publisher | publisher2 | release_date | release_number | series | set_in | subject | subjects | title_orig | title_working | translator | translators | URL | website | width | wikisource  
}}{{Wikidata image |1={{{image|}}} |2={{{nocat_wdimage|}}}  
}}{{Wikidata image |1={{{image|}}} |2={{{nocat_wdimage|}}}  
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>