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

Undo revision 378260813 by ~riley (talk) Did not have intended outcome
bsd>Salix alba
(put TD in a collapse top / bottom section)
bsd>~riley
(Undo revision 378260813 by ~riley (talk) Did not have intended outcome)
1行目: 1行目:
<includeonly>{{#invoke:citation/CS1|citation
<cite class="book" style="font-style:normal" {{#if:{{{ref|}}}
|CitationClass=book
  |{{#ifeq:{{{ref}}}|none||id="{{{ref}}}" }}
}}</includeonly><noinclude>
  |{{#if:{{{last|}}} | {{#if:{{{year|}}}|id="Reference-{{{last}}}-{{{year}}}"}} }}
{{documentation}}
}}>{{Cite book/label|order
{{collapse top|TemplateData}}
<!--
{{Cite book/TemplateData}}
 
{{collapse bottom}}
** author **
</noinclude>
-->|author = {{#if:{{{author|{{{last|}}}}}}
    |{{#if:{{{authorlink|}}}
        |[[{{{authorlink}}} | {{#if:{{{last|}}}
          |{{{last}}}{{#if:{{{first|}}}|, {{{first}}} }}
          |{{{author}}}
        }}]]
    |{{#if:{{{last|}}}
        |{{{last}}}{{#if:{{{first|}}}|, {{{first}}} }}
        |{{{author|}}}
      }}
  }}
}}{{#if:{{{coauthors|}}}
    |  <nowiki>;</nowiki> {{{coauthors}}}
}}{{#if:{{{others|}}} | <nowiki>;</nowiki> {{{others|}}} }}<!--
 
 
** title **
 
-->|title = {{#if: {{{title|}}}
    | {{cite book/label|title
      | {{#if:{{{url|}}}
          |[{{{url}}} {{{title}}}]
          |{{{title}}}}}|language={{{language|}}}  }} }}<!--
 
 
** in **
-->|in = {{#if: {{{chapter|}}} | {{#if: {{{title|}}} | {{cite book/label|in}} }} }}<!--
 
** editor **
 
-->|editor = {{#if: {{{editor|{{{editor-last|}}}}}}
    | {{cite book/label|editor
    |{{#if:{{{editorlink|}}}
          |  [{{{editor-link|}}} {{{editor|{{{editor-last|}}}}}}{{#if: {{{editor-first|}}} |,  {{{editor-first}}} }}]
          |  {{{editor|{{{editor-last|}}}}}}{{#if: {{{editor-first|}}} |,  {{{editor-first}}} }}
}} }} }}<!--
 
** date  **
 
-->|date    = {{#if: {{{date|}}} | {{ISOdate|{{{date|}}}}} | {{#if: {{{year|}}} | {{ISOdate|{{{year|}}}{{#if: {{{month|}}}|-{{{month}}}}} }} }} }}<!--
 
** origdate  **
 
-->|origdate = {{#if: {{{origdate|}}} | {{ISOdate|{{{origdate|}}}}} | {{#if: {{{origyear|}}} | {{ISOdate|{{{origyear|}}}{{#if: {{{origmonth|}}}|-{{{origmonth}}}}} }} }} }}<!--
 
** chapter **
-->|chapter = {{#if: {{{chapter|}}}
            | {{cite book/label|chapter|{{#if:{{{chapterurl|}}}
                |[{{{chapterurl}}} {{{chapter}}}]
                |{{{chapter|}}}}}}}}}<!--
 
** ids ***
-->|ids={{#if: {{{doi|}}}  | {{cite book/label|doi|{{{doi}}}}}{{int:colon}} [http://dx.doi.org/{{{doi}}} {{{doi}}}].&#32; }}<!--
    -->{{#if: {{{isbn|}}} | {{cite book/label|isbn|{{{isbn}}}}}{{int:colon}} [[Special:BookSources/{{{isbn}}}|{{{isbn}}}]].&#32; }} <!--
    -->{{#if: {{{oclc|}}} | {{cite book/label|oclc|{{{oclc}}}}}{{int:colon}}  [http://www.worldcat.org/oclc/{{{oclc}}} {{{oclc}}}].&#32; }}<!--
    -->{{{id|}}}<!---
 
** other things **
-->|page    = {{#if: {{{page|}}}
              | {{#if: {{{nopp|}}}
                                    | {{formatnum:{{{page|}}}}}
                                    | {{cite book/label|page|{{formatnum:{{{page}}}}}}}
                  }}
              | {{#if: {{{pages|}}}
                | {{#if: {{{nopp|}}}
                                      | {{formatnum:{{{pages|}}}}}
                                      | {{cite book/label|pages|{{formatnum:{{{pages}}}}}}}
             
                    }}
                }}
}}
  |accessdate  ={{#if: {{{accessdate|}}}  | {{cite book/label|accessdate|{{ISOdate|{{{accessdate}}}}} }} }}
  |archive  = {{#if: {{{archiveurl|}}} | {{cite book/label|archive|{{{archiveurl}}}|date={{#if: {{{archivedate|}}} | {{ISOdate|{{{archivedate}}}}} }} }} }}
  |number  = {{#if: {{{number|}}} | {{no.|{{{number|}}}}} }}<!-- number associated with an artwork in a catalogue-->
  |format  = {{{format|}}}
  |series  = {{{series|}}}
  |volume  = {{{volume|}}}
  |edition  = {{#if: {{{edition|}}} | {{cite book/label|edition|{{{edition|}}}}} }}
  |language = {{#if: {{{language|}}} | {{cite book/label|language|{{language|{{{language|}}}}}}} }}
  |location = {{city|{{{location|}}}}}
  |publisher= {{{publisher|}}}
  |quote    = {{#if: {{{quote|}}} | {{quoted text| {{{quote|}}} }} }}
}}</cite><noinclude>{{Documentation}}</noinclude>
匿名利用者