Difference between revisions of "Template: Cite web"

From A Wiki of Ice and Fire
Jump to: navigation, search
m (updated from wikipidea.)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Citation/core |Citation class=web |Surname1 = {{#if:{{{last|}}}                |{{{last}}}                |{{#if:{{{last1|}}}                  |{{{last1}}}                  |{{{author|}}}                 }}             }} |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}} |Surname3 = {{{last3|}}}  |Surname4 = {{{last4|}}} |Surname5 = {{{last5|}}}  |Surname6 = {{{last6|}}}  |Surname7 = {{{last7|}}} |Surname8 = {{{last8|}}}  |Surname9 = {{{last9|}}} |Given1 = {{#if:{{{first|}}}|{{{first}}}|{{{first1|}}}}} |Given2 = {{{first2|}}}  |Given3 = {{{first3|}}} |Given4 = {{{first4|}}}  |Given5 = {{{first5|}}} |Given6 = {{{first6|}}}  |Given7 = {{{first7|}}} |Given8 = {{{first8|}}}  |Given9 = {{{first9|}}}  |Authorlink1 = {{#if:{{{authorlink|}}}|{{{authorlink}}}|{{{authorlink1|}}}}} |Authorlink2 = {{{authorlink2|}}}  |Authorlink3 = {{{authorlink3|}}} |Authorlink4 = {{{authorlink4|}}}  |Authorlink5 = {{{authorlink5|}}} |Authorlink6 = {{{authorlink6|}}}  |Authorlink7 = {{{authorlink7|}}} |Authorlink8 = {{{authorlink8|}}}  |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 -->          |{{#if: {{{date|}}}             |{{#iferror: {{#time:Y|{{{date|}}} }}               |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}                |{{#time:Y|{{{date|}}} }}              }}            |{{{publication-date|}}} <!-- last resort -->          }}       }} |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}|Title={{{work|}}}  |TransTitle={{{trans_title|}}} |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|}}}}} |PublicationPlace = {{{location|}}} |Publisher = {{{publisher|}}} |language = {{{language|}}} |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={{#if:{{{accessdate|}}}               |{{#if: {{{accessyear|}}}                   |{{{accessdate}}} {{{accessyear}}}                  |{{{accessdate}}}                 }}               |{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}  }}  |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}  |quote = {{{quote|}}} |Ref={{{ref|}}} |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}  |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}} |ArchiveURL = {{{archiveurl|}}} |OriginalURL = {{{url|}}} |ArchiveDate= {{{archivedate|}}}  |template doc demo={{{template doc demo|}}}}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}{{{accessed|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude>{{Documentation}}{{EnWP|Cite Web}}</noinclude>
+
<includeonly>{{Citation/core
 +
  |Citation class=web
 +
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|}}}}}}}}}}}}}}}}}}}}}
 +
  |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
 +
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
 +
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
 +
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
 +
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
 +
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
 +
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
 +
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
 +
  |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|}}}}}}
 +
  |Other = {{{others|}}}
 +
  |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|}}}
 +
  |Year={{#if:{{{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 -->
 +
          }}
 +
        }}
 +
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
 +
  |Title={{{work|}}}
 +
  |TransTitle={{{trans_title|}}}
 +
  |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 = {{
 +
    #if:{{{title|}}}
 +
    |{{{title}}}
 +
    |{{
 +
      #if:{{{trans_title|}}}
 +
      |
 +
      |{{citation error|nocat={{{template doc demo|}}}|no <code>&#124;title&#61;</code> specified|Cite web}}
 +
      }}
 +
    }}
 +
  |IncludedWorkURL = {{#if:{{{archiveurl|}}}
 +
                      |{{#ifeq: {{{deadurl|}}} | no | {{{url|}}} | {{{archiveurl|}}} }}
 +
                      |{{{url|}}}
 +
                    }}
 +
  |AccessDate={{{access-date|{{{accessdate|}}}}}}
 +
  |PublicationPlace = {{{location|}}}
 +
  |Publisher = {{{publisher|}}}
 +
  |language = {{{language|}}}
 +
   |format = {{{format|}}}
 +
  |ID={{{id|{{{ID|}}}}}}
 +
  |ARXIV={{{arxiv|}}}
 +
  |ASIN={{{asin|{{{ASIN|}}}}}}
 +
  |ASIN-TLD={{{asin-tld|}}}
 +
  |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|}}}}}}
 +
  |PMID={{{pmid|{{{PMID|}}}}}}
 +
  |RFC={{{rfc|{{{RFC|}}}}}}
 +
  |SSRN={{{ssrn|{{{SSRN|}}}}}}
 +
  |ZBL={{{zbl|}}}
 +
  |quote = {{{quote|}}}
 +
  |Ref={{{ref|}}}
 +
  |laysummary = {{{laysummary|}}}
 +
  |laysource = {{{laysource|}}}
 +
  |laydate = {{{laydate|}}}
 +
  |ArchiveURL = {{{archiveurl|}}}
 +
  |OriginalURL = {{{url|}}}
 +
  |ArchiveDate= {{{archivedate|}}}
 +
  |DeadURL = {{{deadurl|}}}
 +
  |template doc demo={{{template doc demo|}}}
 +
  |AuthorMask = {{{authormask|{{{author-mask|}}}}}}
 +
  |NameSep = {{{author-name-separator|,}}}&#32;
 +
  |AuthorSep = {{#ifeq:{{{author-separator|}}}|;|&#059;|{{{author-separator|&#059;}}}}}&#32;
 +
  |Trunc = {{{display-authors|8}}}
 +
  |amp = {{{lastauthoramp|}}}
 +
  |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
 +
  |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
 +
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}{{{accessed|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude>
 +
==Usage==
 +
 
 +
 
 +
===All parameters===
 +
 
 +
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
 +
 
 +
;All parameters, horizontal layout: <code><nowiki>{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}</nowiki></code>
 +
 
 +
;All parameters, vertical layout:
 +
<pre>
 +
{{cite web
 +
|url        =
 +
|title      =
 +
|first      =
 +
|last        =
 +
|author      =
 +
|authorlink  =
 +
|coauthors  =
 +
|date        =
 +
|month      =
 +
|year        =
 +
|work        =
 +
|publisher  =
 +
|location    =
 +
|page        =
 +
|pages      =
 +
|at          =
 +
|language    =
 +
|trans_title =
 +
|format      =
 +
|arxiv      =
 +
|asin        =
 +
|bibcode    =
 +
|doi        =
 +
|doibroken  =
 +
|isbn        =
 +
|issn        =
 +
|jfm        =
 +
|jstor      =
 +
|lccn        =
 +
|mr          =
 +
|oclc        =
 +
|ol          =
 +
|osti        =
 +
|pmc        =
 +
|pmid        =
 +
|rfc        =
 +
|ssrn        =
 +
|zbl        =
 +
|id          =
 +
|archiveurl  =
 +
|archivedate =
 +
|deadurl    =
 +
|accessdate  =
 +
|quote      =
 +
|ref        =
 +
|separator  =
 +
|postscript  =
 +
}}
 +
</pre>
 +
 
 +
 
 +
[[Category:Cross-reference templates|{{PAGENAME}}]]
 +
{{EnWP|Template:Cite web}}</noinclude>

Latest revision as of 01:28, 9 March 2012

Usage

All parameters

When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.

All parameters, horizontal layout
{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |location= |page= |pages= |at= |language= |trans_title= |format= |arxiv= |asin= |bibcode= |doi= |doibroken= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc = |pmid= |rfc= |ssrn= |zbl= |id= |archiveurl= |archivedate= |deadurl= |accessdate= |quote= |ref= |separator= |postscript=}}
All parameters, vertical layout
{{cite web
|url         = 
|title       = 
|first       = 
|last        = 
|author      = 
|authorlink  = 
|coauthors   = 
|date        = 
|month       = 
|year        = 
|work        = 
|publisher   = 
|location    = 
|page        = 
|pages       = 
|at          = 
|language    = 
|trans_title = 
|format      = 
|arxiv       =
|asin        =
|bibcode     =
|doi         =
|doibroken   =
|isbn        =
|issn        =
|jfm         =
|jstor       =
|lccn        =
|mr          =
|oclc        =
|ol          =
|osti        =
|pmc         =
|pmid        =
|rfc         =
|ssrn        =
|zbl         =
|id          =
|archiveurl  = 
|archivedate =
|deadurl     =
|accessdate  = 
|quote       = 
|ref         = 
|separator   = 
|postscript  = 
}}

This page uses content from the English Wikipedia. The original content was at Template:Cite web.
The list of authors can be seen in the page history of Template:Cite web.
As with A Wiki of Ice and Fire, the content of Wikipedia is available under the GNU Free Documentation License.