Template:Infobox book: Difference between revisions

Jump to navigation Jump to search
use a single language-name data set;
(Created page with "{{Infobox | italic title = {{{italic title|}}} | bodyclass = vcard | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} <!------------...")
 
(use a single language-name data set;)
Line 41: Line 41:


| label4  = Original&nbsp;title
| label4  = Original&nbsp;title
|  data4  = {{#if:{{{title_orig|}}} |{{#if:{{{orig_lang_code|}}}|{{lang|{{{orig_lang_code|}}} |''{{{title_orig}}}''}}|''{{{title_orig}}}''}} }}
|  data4  = {{#if:{{{title_orig|}}} |{{#if:{{{orig_lang_code|}}}|{{lang|{{{orig_lang_code|}}} |{{{title_orig}}} |italics={{#invoke:lang/utilities|set_italics|{{{orig_lang_code|}}}|{{{title_orig}}}}}}}|''{{{title_orig}}}''}} }}


| label5  = Working&nbsp;title
| label5  = Working&nbsp;title
Line 125: Line 125:


| label36 = {{longitem|Original text}}
| label36 = {{longitem|Original text}}
|  data36 = {{#if:{{{native_wikisource|}}} <!--
|  data36 = {{#if:{{both|{{{native_wikisource|}}}|{{{orig_lang_code|}}}}} <!--
     then:-->| ''{{lang |{{{orig_lang_code|}}}
     then:-->| ''{{lang |{{{orig_lang_code|}}}
                   | [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!--
                   | [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!--
               -->}}'' at <!--
               -->}}'' at <!--
               -->{{#ifeq:{{#language:{{{orig_lang_code}}}}}|{{{orig_lang_code}}} |
               -->{{#if:{{#invoke:lang|is_ietf_code|{{{orig_lang_code}}}}}|{{#invoke:lang|name_from_code|{{{orig_lang_code}}}}}}} [[Wikisource]]<!--
                  | {{iso2lang|{{{orig_lang_code}}}}}<!--
              -->}} [[Wikisource]]<!--
               -->{{main other|[[Category:Articles that link to foreign-language Wikisources]]}} <!--(create hidden category to be monitored by WikiProject:Wikisource)
               -->{{main other|[[Category:Articles that link to foreign-language Wikisources]]}} <!--(create hidden category to be monitored by WikiProject:Wikisource)
     else:-->| {{#if:{{{native_external_url|}}}
     else:-->| {{#if:{{both|{{{native_external_url|}}}|{{{orig_lang_code|}}}}}
                 | ''{{lang |{{{orig_lang_code|}}}
                 | ''{{lang |{{{orig_lang_code|}}}
                     | [{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]<!--
                     | [{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]<!--
Line 159: Line 157:
| 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 | 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 | 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  
}}{{Wikidata image |1={{{image|}}} |2={{{nocat_wdimage|}}}  
}}{{Wikidata image |1={{{image|}}} |2={{{nocat_wdimage|}}}  
}}{{#if:{{{image|}}}|{{#if:{{#property:P18}}||[[Category:Pages to import images to Wikidata]]}}
}}{{#if:{{{image|}}}|{{#if:{{#property:P18}}||[[Category:Pages to import images to Wikidata]]}}
Anonymous user

Navigation menu