Template:Infobox Literary Works: Difference between revisions

→‎top: More test
(Start)
 
(→‎top: More test)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| italic title = {{{italic title|}}}
| italic title = {{{italic title|}}}
| bodyclass = vcard
| above      = {{PAGENAME}}
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }}
| image     = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}}
 
| caption   = {{{caption|}}}
<!---------------Title----------------->
| titlestyle = font-style:italic;padding-bottom:0.2em<!--(so title doesn't touch border)-->;
| title = <includeonly><!--
-->{{{name|{{PAGENAME}}}}} <!--
--><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:{{{pub_date|{{{release_date}}}}}}}}}}<!--
                -->{{#if:{{{publisher|}}} |&rft.pub={{urlencode:{{{publisher}}}}}}}<!--
                -->{{#if:{{{location|}}}  |&rft.place={{urlencode:{{{location}}}}}}}<!--
                -->{{#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:-->|  {{#ifeq:{{str left|{{{image|}}}|1}}|[ |[[Category:Infobox book image param needs updating]]}}<!--
            -->{{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |border={{{border|}}} |suppressplaceholder=yes}}<!--
  else:-->| {{#ifeq:{{yesno|{{lc:{{{exclude_cover|no}}}}}}}|yes | |{{main other|[[Category:Books with missing cover]]}} }}
          }}
| caption = {{{caption|{{{image_caption|}}}}}}


<!---------------Data------------------>
<!---------------Data------------------>
Line 113: Line 88:
             }}
             }}


| label26 = {{longitem|Original text}}
|  data26 = {{#if:{{{native_wikisource|}}} <!--
    then:-->| ''{{lang |{{{orig_lang_code|}}}
                  | [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!--
              -->}}'' at <!--
              -->{{#ifeq:{{#language:{{{orig_lang_code}}}}}|{{{orig_lang_code}}} |
                  | {{iso2lang|{{{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:{{{native_external_url|}}}
                | ''{{lang |{{{orig_lang_code|}}}
                    | [{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]<!--
                -->}}'' <!--
                -->{{#if:{{{native_external_host|}}} |at {{{native_external_host|}}} |online}}
            }} }}


| label27 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }}
| data27  = {{#if:{{{wikisource|}}} <!--
    then:-->| ''[[s:{{{wikisource|}}}|{{{name|{{PAGENAME}}}}}]]'' at <!--
              -->{{#if:{{{native_wikisource|}}} |Wikisource |[[Wikisource]]}}<!--
              -->{{main other|[[Category:Articles that link to Wikisource]]}} <!--(create hidden category to be monitored by WikiProject:Wikisource)
    else:-->| {{#if:{{{external_url|}}}
                | ''[{{{external_url|}}} {{{name|{{PAGENAME}}}}}]'' <!--
                -->{{#if:{{{external_host|}}} |at {{{external_host|}}} |online}}
            }} }}


| belowstyle = border-top:#aaa 1px solid;font-size:90%;
| label48 = Description
|  data48 = {{{description|}}}
 
| label49    = Location in Sarkarverse
| data49      = [[File:SVmap LiteraryWorks.png|center|220px]]
 
| below = {{{notes|{{{note|}}}}}}
| below = {{{notes|{{{note|}}}}}}


14,061

edits