Difference between revisions of "Template:Citation"

MyWikiBiz, Author Your Legacy — Friday November 22, 2024
Jump to navigationJump to search
(New page: <includeonly>{{ #if: {{{inventor-surname|{{{inventor1-surname|{{{inventor-last|{{{inventor1-last|{{{inventor|}}}}}}}}}}}}}}} <!-- CITATIONS FOR PATENTS --> |{{Citation/patent |Surna...)
 
(made change per talk request)
 
Line 45: Line 45:
 
             #if: {{{date|}}}
 
             #if: {{{date|}}}
 
             |{{
 
             |{{
                 #switch: {{#time:Y|{{{date|}}}}}
+
                 #iferror:{{#time:Y|{{{date|}}} }}
                 |Error: invalid time = {{{publication-date|}}}
+
                 |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
                 |{{#time:Y|{{{date|}}}}}
+
                 |{{#time:Y|{{{date|}}} }}
 
               }}
 
               }}
 
             |{{{publication-date|}}} <!-- last resort -->
 
             |{{{publication-date|}}} <!-- last resort -->
Line 55: Line 55:
 
   |Title={{{title|}}}
 
   |Title={{{title|}}}
 
   |URL={{{url|}}}
 
   |URL={{{url|}}}
 +
  |Series={{{series|}}}
 
   |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
 
   |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
 
   |Volume = {{{volume|}}}
 
   |Volume = {{{volume|}}}
 
   |Issue = {{{issue|{{{number|}}}}}}
 
   |Issue = {{{issue|{{{number|}}}}}}
   |Pages = {{{pages|{{{page|}}}}}}
+
   |At = {{
 +
          #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
 +
          |{{{pages|{{{page|{{{at|}}}}}}}}}
 +
          |{{
 +
            #if: {{{page|}}}
 +
            |p. {{{page}}}
 +
            |{{
 +
                #if: {{{pages|}}}
 +
                |pp. {{{pages}}}
 +
                |{{{at|}}}
 +
              }}
 +
          }}
 +
        }}
 
   |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
 
   |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
 
   |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
 
   |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}

Latest revision as of 08:22, 20 January 2008