Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Editing Template:Cite web

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
<includeonly>{{
<includeonly>{{
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
   || {{#if:{{{archiveurl|}}}||Error on call {{tl|cite web}} template: Parameters '''url''' and '''title''' ''must'' be specified.}}
   || Error on call {{tl|cite web}} template: Parameters '''url''' and '''title''' ''must'' be specified.
}}{{
}}{{
#if: {{{archiveurl|}}}{{{archivedate|}}}  
#if: {{{archiveurl|}}}{{{archivedate|}}}  
Line 9: Line 9:
}}{{#if: {{{author|}}}{{{last|}}}
}}{{#if: {{{author|}}}{{{last|}}}
   | {{#if: {{{authorlink|}}} <!-- Work on this to do external link -->
   | {{#if: {{{authorlink|}}} <!-- Work on this to do external link -->
     | [[{{{authorlink}}}{{!}}{{#if: {{{last|}}}|{{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}| {{{author}}}}}]]
     | [[{{{authorlink}}}|{{#if: {{{last|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
      | {{{author}}}
    }}]]
     | {{#if: {{{last|}}}
     | {{#if: {{{last|}}}
       | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
       | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
Line 30: Line 33:
   | .&#32;}}{{#if: {{{archiveurl|}}}
   | .&#32;}}{{#if: {{{archiveurl|}}}
     | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
     | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
|{{#if: {{{archive|}}}
     | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
    | {{#if: {{{url|}}} | {{#if: {{{title|}}} | {{#if: {{{archive|}}} | [http://wayback.archive.org/web/1000/{{{url}}} {{{title}}}] (content archived on Archive.org)}}}}}}
}}{{#if: {{{language|}}} | &#32;(in {{{language}}})  
     | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] ([http://wayback.archive.org/web/1000/{{{url}}} backup available] on Archive.org)}}}}
}}}}
{{#if: {{{language|}}} | |&#32;(in {{{language|English}}})  
}}.{{#if: {{{format|}}}
}}.{{#if: {{{format|}}}
   | &#32;({{formattype|{{{format}}}}})
   | &#32;({{formattype|{{{format}}}}})
Line 57: Line 57:
   }}
   }}
}}{{#if: {{{archivedate|}}}
}}{{#if: {{{archivedate|}}}
   | &#32;Archived from [{{{url}}} the original] on {{{archivedate}}}.
   | &#32;archived from [{{{url}}} the original] on {{{archivedate}}}
}}{{#if: {{{accessdate|}}}
}}{{#if: {{{accessdate|}}}
   | &#32;Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
   | &#32;Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
Line 67: Line 67:
= Documentation =
= Documentation =
__NOEDITSECTION__
__NOEDITSECTION__
This template is used to [[BW:CITE|cite sources]] in ''Battlestar Wiki''. It is specifically for web sites which are not '''news sources'''. If you are citing news sources, view the {{tl|cite news}} template. It provides lower case parameters only. This template should be encased in '''<nowiki><ref></ref></nowiki>''' tags.
This template is used to [[BW:CITE|cite sources]] in ''Battlestar Wiki''. It is specifically for web sites which are not '''news sources'''. If you are citing news sources, view the {{tl|cite news}} template. It provides lower case parameters only.


== Usage ==
== Usage ==
Line 90: Line 90:
| pages =  
| pages =  
| language =  
| language =  
| archive=
| archiveurl =
| archiveurl =
| archivedate =
| archivedate =
}}</pre>
}}</pre>
<code><nowiki>{{cite web|url= |title= |date= |accessdate= |last= |first= |format= |language= }}</nowiki></code> - Most Common Fields
<code><nowiki>{{cite web|url= |title= |accessdate= |accessmonthday= |accessyear= |author= |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= }}</nowiki></code>
<br/>
<br/>
<code><nowiki>{{cite web|url= |title= }}</nowiki></code> - Most Basic Fields
<code><nowiki>{{cite web|url= |title= }}</nowiki></code> - Most Basic Fields
Line 100: Line 99:
=== Required parameters ===
=== Required parameters ===
* '''url''': URL of online item.
* '''url''': URL of online item.
* '''title''': Title of online item, which may '''not''' contain any newlines.
* '''title''': Title of online item.
* One of the two date format parameters:
* One of the two date format parameters:
** '''accessdate''': Full date when item was accessed, in [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked.
** '''accessdate''': Full date when item was accessed, in [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked.
Line 118: Line 117:
* '''pages''': Pages, if any, especially if PDF format
* '''pages''': Pages, if any, especially if PDF format
* '''language''': language of publication
* '''language''': language of publication
* '''archive''': Place '''Y''' in order to enable. Enabling this prefixes the current link (in the '''url''' parameter) with http://wayback.archive.org/web/*/, if the original link died.
** This overrides '''archiveurl''' and '''archivedate''', and thus enabling these parameters is not required.
* '''archiveurl''': URL of the archive location of the item (requires '''archivedate''')
* '''archiveurl''': URL of the archive location of the item (requires '''archivedate''')
** Usually found on http://www.archive.org
** Usually found on http://www.archive.org
Line 129: Line 126:
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[fr:Modèle:Citer site]]
[[de:Vorlage:Cite web]]


</noinclude>
</noinclude>

To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s>


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).

Template used on this page: