Difference between revisions of "Template:Cite web"

From Surfing Wiki
Jump to navigation Jump to search
Line 16: Line 16:
}}
}}
{{#if: {{{title|}}}  
{{#if: {{{title|}}}  
     | {{#if: {{{url|}}}  
     | {{#if: {{{archiveurl|}}}  
         | [{{{url}}} {{{title}}}].
         | [{{{archiveurl}}} {{{title}}}].
     | <!--else-->
     | <!--else-->
         {{{title}}}.
         {{#if: {{{url|}}}
            | [{{{url}}} {{{title}}}].
        | <!--else-->
            {{{title}}}.
        }}
     }}
     }}
| <!--else-->
| <!--else-->
     {{#if: {{{url|}}}  
     {{#if: {{{archiveurl|}}}  
         | {{{url}}}.
         | {{{archiveurl}}}.
     | <!--else-->
     | <!--else-->
         <!--no title, no url-->  
         {{#if: {{{url|}}}
            | {{{url}}}.
        | <!--else-->
            <!--no title, no url, no archiveurl-->  
        }}
     }}
     }}
}}
}}
Line 38: Line 46:
     <!--no publisher-->
     <!--no publisher-->
}}
}}
{{#if: {{{archiveurl|}}}
    | Archived from [{{{url}}} the original] on {{{archivedate}}}
| <!--else-->
    <!--no archiveurl-->
}}
Archived from the original on 7 September 2005.
{{#if: {{{accessdate|}}}  
{{#if: {{{accessdate|}}}  
     | Retrieved {{{accessdate}}}
     | Retrieved {{{accessdate}}}
Line 52: Line 66:
* Must have a last name if you want a first name.
* Must have a last name if you want a first name.
<pre>
<pre>
{{cite web |url= |title= |last= |first= |publisher= |date= |website= |accessdate=}}
{{cite web |url= |title= |last= |first= |publisher= |date= |website= |accessdate= |archiveurl= |archivedate=}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 06:30, 7 February 2015



Usage:

  • Everything is optional.
  • Must have a last name if you want a first name.
{{cite web |url= |title= |last= |first= |publisher= |date= |website= |accessdate= |archiveurl= |archivedate=}}