Difference between revisions of "Template:Cite web"

From Surfing Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if: {{{last|}}}  
{{#if: {{{author|}}}  
     | {{{last}}}
     | {{{author}}}
     {{#if: {{{first|}}}  
     {{#if: {{{date|}}}  
         | , {{{first}}}
         | ({{{date}}}).
     | <!--else-->
     | <!--else-->
         <!--no first name-->
         .<!--no date-->
     }}
     }}
| <!--else-->
| <!--else-->
     <!--no last name-->
     {{#if: {{{last|}}}
}}
        | {{{last}}}
{{#if: {{{date|}}}  
        {{#if: {{{first|}}}
    | ({{{date}}})
            | , {{{first}}}
| <!--else-->
            {{#if: {{{date|}}}  
     <!--no date-->
                | ({{{date}}}).
            | <!--else-->
                .<!--no date-->
            }}
        | <!--else-->
            .<!--no last name, no first name-->
        }}
     | <!--else-->
        <!--no last name-->
    }}
}}
}}
{{#if: {{{title|}}}  
{{#if: {{{title|}}}  
Line 37: Line 46:
}}
}}
{{#if: {{{website|}}}  
{{#if: {{{website|}}}  
     | ''{{{website}}}''
     | ''{{{website}}}''.
| <!--else-->
| <!--else-->
     <!--no website-->
     <!--no website-->
}}
}}
{{#if: {{{publisher|}}}  
{{#if: {{{publisher|}}}  
     | {{{publisher}}}
     | {{{publisher}}}.
| <!--else-->
| <!--else-->
     <!--no publisher-->
     <!--no publisher-->
}}
}}
{{#if: {{{archiveurl|}}}  
{{#if: {{{archiveurl|}}}  
     | Archived from [{{{url}}} the original] on {{{archivedate}}}
     | Archived from [{{{url}}} the original] on {{{archivedate}}}.
| <!--else-->
| <!--else-->
     <!--no archiveurl-->
     <!--no archiveurl-->
}}
}}
Archived from the original on 7 September 2005.
{{#if: {{{accessdate|}}}  
{{#if: {{{accessdate|}}}  
     | Retrieved {{{accessdate}}}
     | Retrieved {{{accessdate}}}.
| <!--else-->
| <!--else-->
     <!--no accessdate-->
     <!--no accessdate-->
}}
{{#if: {{{quote|}}}
    | "{{{quote}}}"
| <!--else-->
    <!--no quote-->
}}
}}
</includeonly>
</includeonly>
Line 66: Line 79:
* 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= |archiveurl= |archivedate=}}
{{cite web |url= |title= |author= |publisher= |date= |website= |accessdate= |archiveurl= |archivedate= |quote=}}
{{cite web |url= |title= |last= |first= |publisher= |date= |website= |accessdate= |archiveurl= |archivedate= |quote=}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 07:45, 13 February 2015



Usage:

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