ESP Wiki is looking for moderators and active contributors!

Difference between revisions of "Template:Cite web"

(insert code snippet copied from English Wikipedia)
 
(revert my change, returning to being an exact copy of wikipedia)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Citation/core
+
<includeonly>{{Citation/core
 
   |Citation class=web
 
   |Citation class=web
 
   |Surname1 = {{#if:{{{last|}}}
 
   |Surname1 = {{#if:{{{last|}}}
Line 8: Line 8:
 
                 }}
 
                 }}
 
               }}
 
               }}
   |Surname2 = {{#if:{{{last2|}}}|{{{last2}}}|{{{coauthors|}}}}}
+
   |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}  
 
   |Surname3 = {{{last3|}}}
 
   |Surname3 = {{{last3|}}}
 
   |Surname4 = {{{last4|}}}
 
   |Surname4 = {{{last4|}}}
Line 34: Line 34:
 
   |Authorlink8 = {{{authorlink8|}}}
 
   |Authorlink8 = {{{authorlink8|}}}
 
   |Authorlink9 = {{{authorlink9|}}}
 
   |Authorlink9 = {{{authorlink9|}}}
 +
  |Coauthors = {{{coauthor|{{{coauthors|}}}}}}
 +
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor1|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}}}}
 +
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|{{{editor2|}}}}}}}}}
 +
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|{{{editor3|}}}}}}}}}
 +
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|{{{editor4|}}}}}}}}}
 +
  |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|}}}
 
   |Year={{#if:{{{year|}}}|{{{year}}}    <!-- attempt to derive year from date, if possible -->
 
   |Year={{#if:{{{year|}}}|{{{year}}}    <!-- attempt to derive year from date, if possible -->
 
           |{{#if: {{{date|}}}
 
           |{{#if: {{{date|}}}
Line 45: Line 58:
 
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
 
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
 
   |Title={{{work|}}}
 
   |Title={{{work|}}}
   |At = {{#if:{{{page|}}}|{{{page}}}|{{{pages|}}}}}
+
  |TransTitle={{{trans_title|}}}
  |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]]}}}}
+
   |At = {{#if:{{{page|}}}|p. {{{page}}}|{{#if:{{{pages|}}}|pp. {{{pages|}}}|{{{at|}}} }} }}
 +
  |IncludedWorkTitle = {{
 +
    #if:{{{title|}}}
 +
    |{{{title}}}
 +
    |{{
 +
      #if:{{{trans_title|}}}
 +
      |
 +
      |{{Citation error|no <code>&#124;title&#61;</code> specified|Cite web}}
 +
      }}
 +
    }}
 
   |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
 
   |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
   |Place = {{{location|}}}
+
   |PublicationPlace = {{{location|}}}
 
   |Publisher = {{{publisher|}}}
 
   |Publisher = {{{publisher|}}}
 
   |language = {{{language|}}}
 
   |language = {{{language|}}}
 
   |format = {{{format|}}}
 
   |format = {{{format|}}}
 
   |DOI={{{doi|{{{DOI|}}}}}}
 
   |DOI={{{doi|{{{DOI|}}}}}}
   |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate|}}}|{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}}}
+
   |AccessDate={{#if:{{{accessdate|}}}
 +
                |{{#if: {{{accessyear|}}}
 +
                  |{{{accessdate}}} {{{accessyear}}}
 +
                  |{{{accessdate}}}
 +
                }}
 +
                |{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
 +
  }}
 
   |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
 
   |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
 
   |quote = {{{quote|}}}
 
   |quote = {{{quote|}}}
 
   |Ref={{{ref|}}}
 
   |Ref={{{ref|}}}
   |Sep = {{{separator|{{{seperator|.}}}}}}
+
   |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
   |PS={{#if:{{{quote|}}}||.}}
+
   |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
   |OriginalURL = {{#if:{{{archiveurl|}}}|{{{url|}}}}}
+
   |ArchiveURL = {{{archiveurl|}}}
 +
  |OriginalURL = {{{url|}}}
 
   |ArchiveDate= {{{archivedate|}}}
 
   |ArchiveDate= {{{archivedate|}}}
}}<noinclude>
+
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude>
{{pp-template|small=yes}}
+
{{Pp-template|small=yes}}
{{documentation}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:27, 25 June 2010

[create] 50px Template documentation