「テンプレート:Cite book」の版間の差分

提供: miniwiki
移動先:案内検索
ja>ネイ
(微修正)
 
(1版 をインポートしました)
 
(同じ利用者による、間の1版が非表示)
1行目: 1行目:
<includeonly>{{#if: {{#ifeq: {{{1|}}} | 和書 | 和書}}{{#ifeq: {{{language|}}} | ja-jp | 和書}}{{#ifeq: {{{language|}}} | ja | 和書}}
+
<includeonly>{{
 +
#ifeq: {{{1|}}} | 和書
 
| {{Template:Cite book/和書
 
| {{Template:Cite book/和書
  |ref = {{{ref|}}}
+
|ref={{{ref|}}} |last={{{last|}}} |first={{{first|}}} |authorlink={{{authorlink|}}} |coauthors={{{coauthors|}}} |author={{{author|}}} |editor={{{editor|}}} |others={{{others|}}} |title={{{title|}}} |origdate={{{origdate|}}} |origyear={{{origyear|}}} |origmonth={{{origmonth|}}} |url={{{url|}}} |format={{{format|}}} |accessdate={{{accessdate|}}} |accessyear={{{accessyear|}}} |accessmonth={{{accessmonth|}}} |edition={{{edition|}}} |series={{{series|}}} |date={{{date|}}} |year={{{year|}}} |month={{{month|}}} |publisher={{{publisher|}}} |location={{{location|}}} |language={{{language|}}} |isbn={{{isbn|}}} |oclc={{{oclc|}}} |doi={{{doi|}}} |doilabel={{{doilabel|}}} |id={{{id|}}} |pages={{{pages|}}} |chapter={{{chapter|}}} |chapterurl={{{chapterurl|}}} |quote={{{quote|}}} |LANG={{{LANG|}}} |translator={{{translator|}}} |volume={{{volume|}}}}}
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|}}}}}}}}}}}}}}}}}}}}}
+
| <cite class="book" style="font-style:normal" {{
  |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
+
  #if: {{{ref|}}}
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
+
   |{{#ifeq:{{{ref}}}|none||id="{{{ref}}}"}}
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
+
   |{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Reference-{{{last}}}-{{{year}}}" }} }}
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
+
}}>{{
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
+
   #if: {{{author|}}}{{{last|}}}
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
+
   | {{
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
+
    #if: {{{authorlink|}}}
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
+
    | [[{{{authorlink}}}|{{
  |EditorGiven2 = {{{editor2-first|{{{editor2-given|}}}}}}
+
      #if: {{{last|}}}
  |EditorGiven3 = {{{editor3-first|{{{editor3-given|}}}}}}
+
      | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }}
  |EditorGiven4 = {{{editor4-first|{{{editor4-given|}}}}}}
+
      | {{{author}}}
   |Editorlink1 = {{{editor-link|{{{editor1-link|}}}}}}
+
    }}]]
   |Editorlink2 = {{{editor2-link|}}}
+
    | {{
  |Editorlink3 = {{{editor3-link|}}}
+
      #if: {{{last|}}}
  |Editorlink4 = {{{editor4-link|}}}
+
      | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }}
  |author = {{{author|{{{author1|}}}}}}
+
      | {{{author}}}
   |last = {{{last|{{{last1|}}}}}}
+
    }}
   |first = {{{first|{{{first1|}}}}}}
+
   }}
  |authorlink = {{{authorlink|{{{authorlink1|}}}}}}
+
}}{{
  |author2 = {{{author2|}}}
+
   #if: {{{author|}}}{{{last|}}}
  |last2 = {{{last2|}}}
+
   | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
  |first2 = {{{first2|}}}
+
}}{{
  |authorlink2 = {{{authorlink2|}}}
+
   #if: {{{origdate|}}}
  |author3 = {{{author3|}}}
+
   | &#32;<nowiki>[</nowiki>{{{origdate}}}]
  |last3 = {{{last3|}}}
+
   | {{
  |first3 = {{{first3|}}}
+
    #if: {{{origyear|}}}
  |authorlink3 = {{{authorlink3|}}}
+
    | {{
  |author4 = {{{author4|}}}
+
      #if: {{{origmonth|}}}
   |last4 = {{{last4|}}}
+
      | &#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
   |first4 = {{{first4|}}}
+
      | &#32;<nowiki>[</nowiki>{{{origyear}}}]
  |authorlink4 = {{{authorlink4|}}}
+
    }}
   |coauthors = {{{coauthors|}}}
+
   }}
  |editor = {{{editor|}}}
+
}}{{
   |others = {{{others|}}}
+
   #if: {{{translator|}}}
   |title = {{{title|}}}
+
   | &#32;{{{translator}}}
   |origdate = {{{origdate|}}}
+
}}{{
  |origyear = {{{origyear|}}}
+
  #if: {{{date|}}}
  |url = {{{url|}}}
+
  | &#32;({{{date}}})
  |format = {{{format|}}}
+
  | {{
  |accessdate = {{{accessdate|}}}
+
    #if: {{{year|}}}
   |edition = {{{edition|}}}
+
    | {{
   |series = {{{series|}}}
+
      #if: {{{month|}}}
   |date = {{{date|}}}
+
      | &#32;({{{month}}} {{{year}}})
  |year = {{{year|{{    <!-- attempt to derive year from date, if possible -->
+
      | &#32;({{{year}}})
            #if: {{{date|}}}
+
    }}
            |{{
+
  }}
                #iferror:{{#time:Y|{{{date|}}} }}
+
}}{{ #if: {{{author|}}}{{{last|}}} | .
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
+
}}{{
                |{{#time:Y|{{{date|}}} }}
+
   #if: {{{chapter|}}}
              }}
+
   | &#32;“{{
            |{{{publication-date|}}} <!-- last resort -->
+
    #if: {{{chapterurl|}}}
          }}
+
    | [{{{chapterurl}}} {{{chapter}}}]
        }}}
+
    | {{{chapter}}}
  |month = {{{month|}}}
+
}}”,}}{{
  |publisher = {{{publisher|}}}
+
   #if: {{{editor|}}}
   |location = {{{location|}}}
+
   | &#32;in {{{editor}}}:
   |language = {{#ifeq: {{ISO639言語名|{{{language|}}}}}||{{{language|}}}|{{ISO639言語名|{{{language|}}}}}}}
+
}}{{#ifeq: {{{language|}}} | 日本語 | &#32;『 | &#32;<i>}}{{
   |ISBN={{{isbn|{{{ISBN|}}}}}}
+
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
   |NCID={{{ncid|{{{NCID|}}}}}}
+
}}{{#ifeq: {{{language|}}} | 日本語 | 』 | </i>}}{{
  |oclc = {{{oclc|}}}
+
   #if: {{{format|}}} | &#32;({{{format}}})
  |doi = {{{doi|}}}
+
}}{{
   |doilabel = {{{doilabel|}}}
+
   #if: {{{others|}}} | , {{{others}}}
  |id = {{{id|}}}
+
}}{{
  |asin = {{{asin|}}}
+
   #if: {{{edition|}}} | , {{{edition}}}
  |lcc = {{{lcc|}}}
+
}}{{
  |page = {{{page|}}}
+
   #if: {{{series|}}} | , {{{series}}}
  |pages = {{{pages|}}}
+
}}{{
   |chapter = {{{chapter|}}}
+
   #if: {{{language|}}} | &#32;({{{language}}})
  |chapterurl = {{{chapterurl|}}}
+
}}{{
   |quote = {{{quote|}}}
+
  #if: {{{publisher|}}}
  |LANG = {{{LANG|}}}
+
  | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,&#32; | .&#32; }}{{
   |translator = {{{translator|}}}
+
    #if: {{{location|}}}  
  |volume = {{{volume|}}}
+
    | {{{location}}}:&#32;
}}|{{Template:Citation/core
+
  }}{{{publisher}}}
   |Citation class=book
+
}}{{
  |AuthorMask = {{{authormask|{{{author-mask|}}}}}}
+
   #if: {{{pages|}}} | ,&#32;{{{pages}}}
   |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|}}}}}}}}}}}}}}}}}}}}}
+
}}{{
   |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
+
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]
   |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
+
}}{{
   |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
+
   #if: {{{id|}}} | . {{{id}}}
   |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
+
}}{{
   |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
+
   #if: {{{isbn|}}} | . ISBN {{{isbn}}}
   |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
+
}}{{
   |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
+
   #if: {{{oclc|}}} | . [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
+
}}{{
  |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
+
   #if: {{{accessdate|}}}
  |Given2 = {{{first2|{{{given2|}}}}}}
+
  | . Retrieved on {{{accessdate}}}
   |Given3 = {{{first3|{{{given3|}}}}}}
+
   | {{
   |Given4 = {{{first4|{{{given4|}}}}}}
+
    #if: {{{accessyear|}}}
   |Given5 = {{{first5|{{{given5|}}}}}}
+
    | . Retrieved {{
   |Given6 = {{{first6|{{{given6|}}}}}}
+
      #if: {{{accessmonth|}}}
   |Given7 = {{{first7|{{{given7|}}}}}}
+
      | on {{{accessmonth}}} {{{accessyear}}}
  |Given8 = {{{first8|{{{given8|}}}}}}
+
      | during {{{accessyear}}}
   |Given9 = {{{first9|{{{given9|}}}}}}
+
    }}
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
+
  }}
   |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
+
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
+
}}</cite>
   |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
+
}}<!--
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
+
--><span class="Z3988" title="ctx_ver=Z39.88-2004<!--
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
+
   -->&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook<!--
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
+
  -->&rft.genre=book<!--
   |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
+
  -->&rft.btitle={{urlencode:{{{title|}}}}}<!--
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
+
   -->&rft.title={{urlencode:{{{title|}}}}}<!--
   |Coauthors = {{{coauthor|{{{coauthors|}}}}}}
+
   -->{{#if: {{{chapter|}}}  | &rft.atitle={{urlencode:{{{chapter}}}}}   }}<!--
  |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
+
   -->{{#if: {{{last|}}}     | &rft.aulast={{urlencode:{{{last}}}}}     }}<!--
            #if: {{{date|}}}
+
   -->{{#if: {{{first|}}}     | &rft.aufirst={{urlencode:{{{first}}}}}   }}<!--
            |{{
+
   -->{{#if: {{{author|}}}   | &rft.au={{urlencode:{{{author}}}}}       }}<!--
                #iferror:{{#time:Y|{{{date|}}} }}
+
   -->{{#if: {{{date|}}}  
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
+
      | &rft.date={{urlencode:{{{date}}}}}
                |{{#time:Y|{{{date|}}} }}
+
      | {{#if: {{{year|}}} | &rft.date={{urlencode:{{{year}}}}} }}     }}<!--
              }}
+
   -->{{#if: {{{edition|}}}   | &rft.edition={{urlencode:{{{edition}}}}} }}<!--
            |{{{publication-date|}}} <!-- last resort -->
+
   -->{{#if: {{{publisher|}}} | &rft.pub={{urlencode:{{{publisher}}}}}   }}<!--
          }}
+
  -->{{#if: {{{location|}}} | &rft.place={{urlencode:{{{location}}}}}   }}<!--
        }}}
+
  -->{{#if: {{{pages|}}}     | &rft.pages={{urlencode:{{{pages}}}}}     }}<!--
  |YearNote = {{#if:{{{origdate|}}}|{{{origdate}}}|{{{origyear|}}}}}
+
  -->{{#if: {{{series|}}}   | &rft.series={{urlencode:{{{series}}}}}     }}<!--
   |Date = {{#if:{{{date|}}}{{{month|}}}{{{year|}}}{{{publication-date|}}}
+
  -->{{#if: {{{isbn|}}}     | &rft.isbn={{{isbn}}}                     }}<!--
    |{{Citation/showdateEN|{{{date|}}}|{{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}|{{{month|}}}}}|}}
+
   -->{{#if: {{{oclc|}}}     | &rft_id=info:oclcnum/{{{oclc}}}           }}<!--
  |Title = {{{title|}}}
+
  -->{{#if: {{{doi|}}}       | &rft_id=info:doi/{{urlencode:{{{doi}}}}} }}<!--
  |TransTitle = {{{trans_chapter|}}}
+
  -->{{#if: {{{url|}}}       | &rft_id={{urlencode:{{{url}}}}}           }}<!--
  |TransItalic = {{{trans_title|}}}
+
  -->">{{#ifeq: {{{1|}}} | 和書 | |&nbsp;}}</span></includeonly><noinclude>{{Documentation}}</noinclude>
  |URL={{#if:{{{archiveurl|}}}
 
    | {{#ifeq: {{{deadurl|}}} | no | {{{url|}}} | {{{archiveurl|}}} }}
 
    | {{{url|}}} }}
 
  |ArchiveURL = {{{archiveurl|}}}
 
  |DeadURL = {{{deadurl|}}}
 
  |OriginalURL = {{{url|}}}
 
  |ArchiveDate = {{{archivedate|}}}
 
  |TitleType = {{{type|}}}
 
  |Series = {{{series|}}}
 
  |Volume = {{{volume|}}}
 
  |Issue = {{{issue|{{{number|}}}}}}
 
  |At = {{
 
          #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
 
          |{{{pages|{{{page|{{{at|}}}}}}}}}
 
          |{{
 
            #if: {{{page|}}}
 
            |{{#if:{{{nopp|}}}||p.&nbsp;}}{{{page}}}
 
            |{{
 
                #if: {{{pages|}}}
 
                |{{#if:{{{nopp|}}}||pp.&nbsp;}}{{{pages}}}
 
                |{{{at|}}}
 
              }}
 
          }}
 
        }}
 
  |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
 
  |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
 
  |Other = {{{others|}}}
 
  |Edition = {{{edition|}}}
 
  |Place = {{{place|{{{location|}}}}}}
 
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
 
  |Publisher = {{{publisher|}}}
 
  |PublicationDate = {{{publication-date|}}}
 
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
 
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
 
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
 
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
 
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
 
  |EditorGiven2 = {{{editor2-first|{{{editor2-given|}}}}}}
 
  |EditorGiven3 = {{{editor3-first|{{{editor3-given|}}}}}}
 
  |EditorGiven4 = {{{editor4-first|{{{editor4-given|}}}}}}
 
  |Editorlink1 = {{{editor-link|{{{editor1-link|}}}}}}
 
  |Editorlink2 = {{{editor2-link|}}}
 
  |Editorlink3 = {{{editor3-link|}}}
 
  |Editorlink4 = {{{editor4-link|}}}
 
  |language = {{{language|{{{in|}}}}}}
 
  |format = {{{format|}}}
 
  |ARXIV = {{{arxiv|}}}
 
  |ASIN = {{{asin|{{{ASIN|}}}}}}
 
  |BIBCODE = {{{bibcode|}}}
 
  |DOI = {{{doi|{{{DOI|}}}}}}
 
  |DoiBroken = {{{doi_inactivedate|{{{doi_brokendate|}}}}}}
 
  |ISBN = {{{isbn|{{{ISBN|}}}}}}
 
  |ISSN = {{{issn|{{{ISSN|}}}}}}
 
  |JFM = {{{jfm|{{{JFM|}}}}}}
 
  |JSTOR = {{{jstor|{{{JSTOR|}}}}}}
 
  |LCCN = {{{lccn|{{{LCCN|}}}}}}
 
  |MR = {{{mr|{{{MR|}}}}}}
 
  |NCID = {{{ncid|{{{NCID|}}}}}}
 
  |OCLC = {{{oclc|{{{OCLC|}}}}}}
 
  |OL = {{{ol|{{{OL|}}}}}}
 
  |OSTI = {{{osti|{{{OSTI|}}}}}}
 
  |PMC = {{{pmc|{{{PMC|}}}}}}
 
  |PMID = {{{pmid|{{{PMID|}}}}}}
 
  |RFC = {{{rfc|{{{RFC|}}}}}}
 
  |SSRN = {{{ssrn|{{{SSRN|}}}}}}
 
  |ZBL = {{{zbl|}}}
 
  |ID = {{{id|{{{ID|}}}}}}
 
  |AccessDate = {{{accessdate|}}}
 
  |DateFormat = none
 
  |quote = {{{quote|}}}
 
  |laysummary = {{{laysummary|}}}
 
  |laysource = {{{laysource|}}}
 
  |laydate = {{{laydate|}}}
 
  |Ref = {{{ref|}}}
 
  |Sep = {{{separator|{{{seperator|.}}}}}}
 
  |PS = {{#if:{{{quote|}}}||{{{postscript|.}}}}}
 
  |AuthorSep = {{#ifeq:{{{author-separator|}}}|;|&#059;|{{{author-separator|&#059;}}}}}&#32;
 
  |NameSep = {{{author-name-separator|,}}}&#32;
 
  |Trunc = {{{display-authors|8}}}
 
  |amp = {{{lastauthoramp|}}}
 
  |Translator = {{{translator|}}}
 
}}
 
}}{{#if:{{{origmonth|}}}{{#if:{{{origyear|}}}|{{{origdate|}}}|}}
 
|{{Citation/showdateError|origyear=1}}
 
|{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|{{Citation/showdateError|accessyear={{{accessyear|}}}|day={{{day|}}}|dateformat={{{dateformat|}}}}}|}}
 
}}</includeonly><noinclude>
 
{{Documentation}}
 
</noinclude>
 

2018/8/2/ (木) 07:18時点における最新版

edit Documentation