Template:Cite web: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Urhixidur
m Reverted edits by Urhixidur (talk) to last version by Avraham
meta>Happy-melon
update to citation/core version after testing and discussion on talk
Line 1: Line 1:
<includeonly>{{
<noinclude>{{Template sandbox notice}}</noinclude>{{Citation/core
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
  |Citation class=web
  ||You must specify  '''''title = ''''' and '''''url = ''''' when using {{[[Template:cite web|cite web]]}}.
  |Surname1 = {{#if:{{{last|}}}
{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
                |{{{last}}}
}}{{
                |{{#if:{{{last1|}}}
#if: {{{archiveurl|}}}{{{archivedate|}}}  
                  |{{{last1}}}
   | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
                  |{{{author|}}}
    ||You must specify '''''archiveurl = ''''' and '''''archivedate = ''''' when using {{[[Template:cite web|cite web]]}}.
                }}
{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
              }}
}}
   |Surname2 = {{#if:{{{last2|}}}|{{{last2}}}|{{{coauthors|}}}}}
}}{{#if: {{{author|}}}{{{last|}}}
  |Surname3 = {{{last3|}}}
   | {{#if: {{{authorlink|}}}
  |Surname4 = {{{last4|}}}
    | [[{{{authorlink}}}|{{#if: {{{last|}}}
  |Surname5 = {{{last5|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
  |Surname6 = {{{last6|}}}
      | {{{author}}}
   |Surname7 = {{{last7|}}}
    }}]]
  |Surname8 = {{{last8|}}}
    | {{#if: {{{last|}}}
  |Surname9 = {{{last9|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
  |Given1 = {{#if:{{{first|}}}|{{{first}}}|{{{first1|}}}}}
      | {{{author}}}
  |Given2 = {{{first2|}}}
    }}
  |Given3 = {{{first3|}}}
   }}
  |Given4 = {{{first4|}}}
}}{{#if: {{{author|}}}{{{last|}}}
  |Given5 = {{{first5|}}}
   | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
  |Given6 = {{{first6|}}}
}}{{#if: {{{author|}}}{{{last|}}}|
  |Given7 = {{{first7|}}}
    {{#if: {{{date|}}}
   |Given8 = {{{first8|}}}
    | &#32;({{{date}}})
  |Given9 = {{{first9|}}}
    | {{#if: {{{year|}}}
   |Authorlink1 = {{#if:{{{authorlink|}}}|{{{authorlink}}}|{{{authorlink1|}}}}}
      | {{#if: {{{month|}}}
  |Authorlink2 = {{{authorlink2|}}}
        | &#32;({{{month}}} {{{year}}})
  |Authorlink3 = {{{authorlink3|}}}
        | &#32;({{{year}}})
  |Authorlink4 = {{{authorlink4|}}}
      }}
  |Authorlink5 = {{{authorlink5|}}}
    }}
  |Authorlink6 = {{{authorlink6|}}}
   |}}
  |Authorlink7 = {{{authorlink7|}}}
}}{{#if: {{{last|}}}{{{author|}}}
  |Authorlink8 = {{{authorlink8|}}}
  | .&#32;}}{{
  |Authorlink9 = {{{authorlink9|}}}
  #if: {{{editor|}}}
   |Year={{#if:{{{year|}}}|{{{year}}}   <!-- attempt to derive year from date, if possible -->
  | &#32;{{{editor}}}:
          |{{#if: {{{date|}}}
}}"{{#if: {{{archiveurl|}}}
            |{{#iferror: {{#time:Y|{{{date|}}} }}
  | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
  | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
                |{{#time:Y|{{{date|}}} }}
}}"{{#if: {{{format|}}} | &#32;({{{format}}})
              }}
}}{{#if:{{{language|}}}  
            |{{{publication-date|}}} <!-- last resort -->
   | &#32;(in {{{language}}})
          }}
}}{{#if: {{{work|}}}
        }}
  | .&#32;''{{{work}}}''
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
}}{{#if: {{{pages|}}}
   |Title={{{work|}}}
   | &#32;{{{pages}}}
  |At = {{#if:{{{page|}}}|{{{page}}}|{{{pages|}}}}}
}}{{#if: {{{publisher|}}}
   |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|No {{para|title}} specified{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}|You must specify {{para|url}} when using {{tl|cite web}}{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
  | .&#32; {{#if: {{{location|}}}
  |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
    | {{{location}}}:&#32;
  |Place = {{{location|}}}
  }} {{{publisher}}}{{#if: {{{author|}}}{{{last|}}}
  |Publisher = {{{publisher|}}}
    |  
  |language = {{{language|}}}
    | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
  |format = {{{format|}}}
  }}
  |DOI={{{doi|{{{DOI|}}}}}}
}}{{#if: {{{author|}}}{{{last|}}}
   |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate|}}}|{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}}}
  ||{{#if: {{{date|}}}
   |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
    | &#32;({{{date}}})
  |quote = {{{quote|}}}
    | {{#if: {{{year|}}}
   |Ref={{{ref|}}}
      | {{#if: {{{month|}}}
  |Sep = {{{separator|{{{seperator|.}}}}}}
        | &#32;({{{month}}} {{{year}}})
  |PS={{#if:{{{quote|}}}||.}}
        | &#32;({{{year}}})
   |Archive = {{#if:{{{archiveurl|}}}|Archived from {{#if:{{{url|}}}|[{{{url|}}} the original]|the original}} {{#if:{{{archivedate|}}}|&#32;on {{{archivedate}}}|. You must specify the date the archive was made using the {{para|archivedate}} parameter.{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
      }}
            }}
    }}
}}<noinclude>
   }}
}}.{{#if: {{{archivedate|}}}
  | &#32;Archived from [{{{url}}} the original] on {{{archivedate}}}.
}}{{#if: {{{doi|}}}  
   | &#32;[[Digital object identifier|doi]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}].
}}{{#if: {{{accessdate|}}}
   | &#32;Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
}}{{#if: {{{accessmonthday|}}}
   | &#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
}}{{#if: {{{accessdaymonth|}}}
  | &#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | &#32;{{{accessyear}}} }}.
}}{{#if: {{{quote|}}}  
  | &nbsp;"{{{quote}}}"
}}</includeonly><noinclude>
 
{{pp-template|small=yes}}
{{pp-template|small=yes}}
{{Documentation}}
{{documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Revision as of 22:40, 28 January 2009

Template:Template sandbox notice"You must specify |url= when using {{cite web}}".