Difference between revisions of "Template:Cite web"

From Surfing Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if: {{{last|}}}
    | {{{last}}}
    {{#if: {{{first|}}}
        | , {{{first}}}
    | <!--else-->
        <!--no first name-->
    }}
| <!--else-->
    <!--no last name-->
}}
{{#if: {{{date|}}}
    | ({{{date}}})
| <!--else-->
    <!--no date-->
}}
{{#if: {{{title|}}}  
{{#if: {{{title|}}}  
     | {{#if: {{{url|}}}  
     | {{#if: {{{url|}}}  
Line 14: Line 29:
}}
}}
{{#if: {{{website|}}}  
{{#if: {{{website|}}}  
     | {{{website}}}  
     | ''{{{website}}}''
| <!--else-->
| <!--else-->
     <!--no website-->
     <!--no website-->
}}
{{#if: {{{publisher|}}}
    | {{{publisher}}}
| <!--else-->
    <!--no publisher-->
}}
{{#if: {{{accessdate|}}}
    | Retrieved {{{accessdate}}}
| <!--else-->
    <!--no accessdate-->
}}
}}
</includeonly>
</includeonly>
Line 24: Line 49:
<noinclude>
<noinclude>
==Usage:==
==Usage:==
* Everything is optional;
* Everything is optional.
* Must have a last name if you want a first name.
<pre>
<pre>
{{cite web |url= |title= |last1= |first1= |last2= |first2= |date= |website= |publisher= |accessdate=}}
{{cite web |url= |title= |last= |first= |publisher= |date= |website= |accessdate=}}
</pre>
</pre>
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |date=30 April 2005 |website=Encyclopedia of Things |accessdate=2 February 2015}}
Doe, John (30 April 2005). "My Favorite Things, Part II". Encyclopedia of Things. Retrieved 2 February 2015.
</noinclude>
</noinclude>

Revision as of 06:12, 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=}}