Difference between revisions of "Template:Cite web"

From Surfing Wiki
Jump to navigation Jump to search
 
(2 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}}}).
        {{#if: {{{date|}}}  
    | <!--else-->
            | ({{{date}}}).
        .<!--no date-->
    }}
| <!--else-->
    {{#if: {{{last|}}}  
        | {{{last}}}
        {{#if: {{{first|}}}  
            | , {{{first}}}
            {{#if: {{{date|}}}  
                | ({{{date}}}).
            | <!--else-->
                .<!--no date-->
            }}
         | <!--else-->
         | <!--else-->
             .<!--no date-->
             .<!--no last name, no first name-->
         }}
         }}
     | <!--else-->
     | <!--else-->
         <!--no last name, no first name-->
         <!--no last name-->
     }}
     }}
| <!--else-->
    <!--no last name-->
}}
}}
{{#if: {{{title|}}}  
{{#if: {{{title|}}}  
Line 55: Line 64:
| <!--else-->
| <!--else-->
     <!--no accessdate-->
     <!--no accessdate-->
}}
{{#if: {{{quote|}}}
    | "{{{quote}}}"
| <!--else-->
    <!--no quote-->
}}
}}
</includeonly>
</includeonly>
Line 65: 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=}}