Jump to content

Template:Infobox paper: Difference between revisions

From Natural Philosophy Wiki
No edit summary
mNo edit summary
 
(21 intermediate revisions by 2 users not shown)
Line 4: Line 4:
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }}
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }}


<!---------------Title----------------->
<!---------------Data------------------>
| titlestyle = font-style:italic;padding-bottom:0.2em<!--(so title doesn't touch border)-->;
| headerstyle = background:#D8BFD8;
| 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
| header1 = Scientific Paper
-->{{{name|{{PAGENAMEBASE}}}}} <!--
 
--><span class="Z3988"
| label2 = Title
          title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}&rft.genre=book&rft.btitle={{urlencode:{{{name|}}}}}<!--
| data2 = {{{title}}}
                -->{{#if:{{{author|}}}    |&rft.author={{urlencode:{{{author}}}}}}}<!--
 
                -->{{#if:{{{last|}}}      |&rft.aulast={{urlencode:{{{last}}}}}}}<!--
| label3 = Read in full
                -->{{#if:{{{first|}}}    |&rft.aufirst={{urlencode:{{{first}}}}}}}<!--
data3 = {{{url|}}}
                -->{{#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>


<!---------------Data------------------>
| label4 = Author(s)
| label1 = Editor{{#if:{{{editors|}}}|s}}
data4 = {{{author}}}
data1 = {{{editors|{{{editor|}}}}}}


| label2  = Author{{#if:{{{authors|}}}|s}}
| label5 = Keywords
data2  = {{{authors|{{{author|}}}}}}
data5 = {{{keywords}}}


| label3 = Language
| label6 = Year
data3 = {{{language|}}}
data6 = {{{year|}}}


| label4 = Keywords{{#if:{{{keywords|}}}|s}}
| label7 = Published
data4 = {{{keywords|{{{keywords|}}}}}}
data7 = {{{published|}}}


| label5 = Year
| label8 = Journal
data5 = {{{year|}}}
data8 = {{{journal|}}}


| label6 = Published
| label9 = Volume
data6 = {{{published|}}}
data9 = {{{volume|}}}


| label7 = Journal
| label10 = Number
data7 = {{{Journal|}}}
data10 = {{{number|}}}


| label8 = Publisher
| label11 = {{longitem|Publication date}}
data8 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }}
data11 = {{#invoke:Wikidata|getValue|P577|{{{pub_date|{{{release_date|}}}}}}}}


| label9 = {{longitem|Publication date}}
| label12 = {{longitem|Published&nbsp;in English}}
data9 = {{#invoke:Wikidata|getValue|P577|{{{pub_date|{{{release_date|}}}}}}}}
data12 = {{{english_pub_date|{{{english_release_date|}}}}}}


| label10 = {{longitem|Published&nbsp;in English}}
| label13 = No. of pages
data10 = {{{english_pub_date|{{{english_release_date|}}}}}}
data13 = {{{num_pages|}}}


| label11 = Pages
| label14 = Pages
data11 = {{#invoke:Wikidata|getValue|P1104|{{{pages|}}}}}
data14 = {{#invoke:Wikidata|getValue|P1104|{{{pages|}}}}}


| label12   = Website
| label15   = Website
| data12   = {{{website|{{{homepage|{{{URL|{{#ifeq:{{{website|{{{homepage|{{{URL|}}}}}}}}}
| data15   = {{{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 65: Line 56:
| below = {{{notes|{{{note|}}}}}}
| below = {{{notes|{{{note|}}}}}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox paper with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox paper]] 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 }}<noinclude>
}}<noinclude>
{{Documentation}}
<pre>
</noinclude>
{{Infobox paper
| title          =  
| url            = (optional)
| author         =
| keywords      = (optional)
| year          = (optional)
| published      =
| journal        = (optional)
| volume        = (optional)
| number        = (optional)
| pub_date      = (optional)
| num_pages      = (optional)
| pages         = (optional)
| website       = (optional)
}}
</pre>
<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude>

Latest revision as of 07:58, 27 March 2017

Scientific Paper
Title{{{title}}}
Author(s){{{author}}}
Keywords{{{keywords}}}
{{Infobox paper
| title          = 
| url            = (optional)
| author         =
| keywords       = (optional)
| year           = (optional)
| published      = 
| journal        = (optional)
| volume         = (optional)
| number         = (optional)
| pub_date       = (optional)
| num_pages      = (optional)
| pages          = (optional)
| website        = (optional)
}}