Difference between revisions of "Template:Cite web"

From radlines.org
Jump to navigation Jump to search
(Checked if no line break fixes it)
(not necessary)
 
Line 1: Line 1:
<includeonly>{{#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} ||Error on call to [[Template:cite web]]: Parameters '''url''' and '''title''' must be specified}}{{#if: {{{archiveurl|}}}{{{archivedate|}}}  | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}   ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted}}}}{{#if: {{{author|}}}{{{last|}}} | {{#if: {{{authorlink|}}}   | [[{{{authorlink}}}|{{#if: {{{last|}}}     | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}     | {{{author}}}   }}]]   | {{#if: {{{last|}}}     | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}     | {{{author}}}   }} }}}}{{#if: {{{author|}}}{{{last|}}} | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}}}{{#if: {{{author|}}}{{{last|}}}|   {{#if: {{{date|}}}   | &#32;({{#formatdate:{{{date}}}}})   | {{#if: {{{year|}}}     | {{#if: {{{month|}}}       | &#32;({{{month}}} {{{year}}})       | &#32;({{{year}}})     }}   }} |}}}}{{#if: {{{last|}}}{{{author|}}}tle | &#32;}}{{#if: {{{archiveurl|}}}   | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}   | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}}}{{#if: {{{doi|}}}  | . [[w:Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]}}{{#if: {{{language|}}} | &#32;(in {{{language}}}) }}{{#if: {{{format|}}} | &#32;({{{format|}}})}}{{#if: {{{work|}}} | .&#32;''{{{work}}}''}}{{#if: {{{pages|}}} | &#32;{{{pages}}}}}{{#if: {{{publisher|{{{website|}}}}}} | .&#32;{{{publisher|{{{website}}}}}}{{#if: {{{author|}}}{{{last|}}}   |    | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }} }}}}{{#if: {{{author|}}}{{{last|}}} ||{{#if: {{{date|}}}   | &#32;({{#if:{{{year|}}}{{{month|}}}|{{{date}}}|{{#formatdate:{{{date}}}}}}})   | {{#if: {{{year|}}}     | {{#if: {{{month|}}}       | &#32;({{{month}}} {{{year}}})       | &#32;({{{year}}})     }}   }} }}}}.{{#if: {{{archivedate|}}} | &#32;Archived from [{{{url}}} the original] on {{#formatdate:{{archivedate}}}}}.}}{{#if: {{{accessdate|}}} | &#32;Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.}}{{#if: {{{accessmonthday|}}} | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}.
+
<includeonly>{{
 +
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
 +
  ||Error on call to [[Template:cite web]]: Parameters '''url''' and '''title''' must be specified
 +
}}{{
 +
#if: {{{archiveurl|}}}{{{archivedate|}}}  
 +
   | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
 +
    ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted
 +
}}
 +
}}{{#if: {{{author|}}}{{{last|}}}
 +
  | {{#if: {{{authorlink|}}}
 +
    | [[{{{authorlink}}}|{{#if: {{{last|}}}
 +
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
 +
      | {{{author}}}
 +
    }}]]
 +
    | {{#if: {{{last|}}}
 +
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
 +
      | {{{author}}}
 +
    }}
 +
  }}
 +
}}{{#if: {{{author|}}}{{{last|}}}
 +
  | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
 +
}}{{#if: {{{author|}}}{{{last|}}}|
 +
    {{#if: {{{date|}}}
 +
    | &#32;({{#formatdate:{{{date}}}}})
 +
    | {{#if: {{{year|}}}
 +
      | {{#if: {{{month|}}}
 +
        | &#32;({{{month}}} {{{year}}})
 +
        | &#32;({{{year}}})
 +
      }}
 +
    }}
 +
  |}}
 +
}}{{#if: {{{last|}}}{{{author|}}}tle
 +
  | .&#32;}}{{#if: {{{archiveurl|}}}
 +
    | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
 +
    | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
 +
}}{{#if: {{{doi|}}}  
 +
   | . [[w:Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
 +
}}{{#if: {{{language|}}} | &#32;(in {{{language}}})  
 +
}}{{#if: {{{format|}}}
 +
  | &#32;({{{format|}}})
 +
}}{{#if: {{{work|}}}
 +
  | .&#32;''{{{work}}}''
 +
}}{{#if: {{{pages|}}}
 +
  | &#32;{{{pages}}}
 +
}}{{#if: {{{publisher|{{{website|}}}}}}
 +
  | .&#32;{{{publisher|{{{website}}}}}}{{#if: {{{author|}}}{{{last|}}}
 +
    |  
 +
     | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
 +
  }}
 +
}}{{#if: {{{author|}}}{{{last|}}}
 +
  ||{{#if: {{{date|}}}
 +
    | &#32;({{#if:{{{year|}}}{{{month|}}}|{{{date}}}|{{#formatdate:{{{date}}}}}}})
 +
    | {{#if: {{{year|}}}
 +
      | {{#if: {{{month|}}}
 +
        | &#32;({{{month}}} {{{year}}})
 +
        | &#32;({{{year}}})
 +
      }}
 +
    }}
 +
  }}
 +
}}.{{#if: {{{archivedate|}}}
 +
  | &#32;Archived from [{{{url}}} the original] on {{#formatdate:{{{archivedate}}}}}.
 +
}}{{#if: {{{accessdate|}}}
 +
  | &#32;Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
 +
}}{{#if: {{{accessmonthday|}}}
 +
  | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}.
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{Wikimedia documentation|site=Wikiquote}}
 
{{Wikimedia documentation|site=Wikiquote}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:01, 21 May 2018

This template is adapted from Wikiquote. See the corresponding page there for documentation.