Difference between revisions of "Template:Cite book"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (1 revision: Importing articles created in Chronicles of Astinus (http://dragonlance.wikia.com/wiki/Main_Page) at Wikia D part3)
(Now based on the publication template)
Line 1: Line 1:
{{Citation/core
+
<includeonly>{{Cite publication
|Citation class=book
+
| author = {{{author|}}}
  |AuthorMask = {{{authormask|{{{author-mask|}}}}}}
+
| title = {{ #if: {{{short_story|}}} | ''“{{{short_story}}}”''  | ''{{{title|}}}'' }}
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
+
| year = {{ #if: {{{date|}}} | {{{date}}} | {{{year|}}} }}
  |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
+
| work = {{ #if: {{{short_story|}}} | ''{{{title|}}}'' }}
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
+
| publisher = {{{publisher|}}}
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
+
| ISBN = {{{ISBN|}}}
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
+
| pages = {{{pages|}}}
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
+
}}</includeonly><noinclude>
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
+
{{Documentation}}
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
+
[[Category:Sourcebook citation templates|*]]
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
+
[[Category:Novel citation templates|*]]
  |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
 
 
 
  |Given2 = {{{first2|{{{given2|}}}}}}
 
  |Given3 = {{{first3|{{{given3|}}}}}}
 
  |Given4 = {{{first4|{{{given4|}}}}}}
 
  |Given5 = {{{first5|{{{given5|}}}}}}
 
  |Given6 = {{{first6|{{{given6|}}}}}}
 
  |Given7 = {{{first7|{{{given7|}}}}}}
 
  |Given8 = {{{first8|{{{given8|}}}}}}
 
  |Given9 = {{{first9|{{{given9|}}}}}}
 
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
 
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
 
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
 
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
 
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
 
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
 
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
 
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
 
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
 
  |Coauthors = {{{coauthor|{{{coauthors|}}}}}}
 
  |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
 
            #if: {{{date|}}}
 
            |{{
 
                #iferror:{{#time:Y|{{{date|}}} }}
 
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
 
                |{{#time:Y|{{{date|}}} }}
 
              }}
 
            |{{{publication-date|}}} <!-- last resort -->
 
          }}
 
        }}}
 
  |YearNote = {{{origyear|}}}
 
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
 
  |Title={{{title|}}}
 
  |TransTitle={{{trans_chapter|}}}
 
  |TransItalic={{{trans_title|}}}
 
  |URL={{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
 
  |ArchiveURL = {{{archiveurl|}}}
 
  |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|}}}}}}
 
  |OCLC={{{oclc|{{{OCLC|}}}}}}
 
  |OL={{{ol|{{{OL|}}}}}}
 
  |OSTI={{{osti|{{{OSTI|}}}}}}
 
  |PMC={{{pmc|{{{PMC|}}}}}}
 
  |Embargo={{{pmc-embargo-date|1010-10-10}}}
 
  |PMID={{{pmid|{{{PMID|}}}}}}
 
  |RFC={{{rfc|{{{RFC|}}}}}}
 
  |SSRN={{{ssrn|{{{SSRN|}}}}}}
 
  |ZBL={{{zbl|}}}
 
  |ID={{{id|{{{ID|}}}}}}
 
  |AccessDate={{{access-date|{{{accessdate|}}}}}}
 
  |DateFormat={{{dateformat|none}}}
 
  |quote = {{{quote|}}}
 
  |laysummary = {{{laysummary|}}}
 
  |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|}}}
 
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}<noinclude>
 
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Revision as of 01:20, 8 October 2014

Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:Cite book/doc to edit this text! (How does this work?)