|
|
Line 1: |
Line 1: |
| <includeonly>{{#if:{{{Author|}}}|{{{Author}}}: }}[{{{Address}}} {{{Title}}}]{{ #if: {{{Filetype|}}} |  <small>({{{Filetype}}})</small> }}{{ #if: {{{Legend|}}} | ({{{Legend}}})}}}}}} |  ''{{{Publication|{{Website|}}}}}}}''. }}{{ #if: {{{Time|}}} | {{{Time}}}. }}{{ #if: {{{PublicationPlace|<noinclude>-</noinclude>}}} |  {{{PublicationPlace}}} }}{{ #if: {{{PublicationPlace|}}} | {{ #if: {{{Publisher|}}}} | :  }} }}{{#if: {{{Publisher|}}} | {{{Publisher}}}.}} {{ #if: {{{Cited|{{Read|}}}}} |Cited {{{Cited|{{Read|}}}}}}. }}{{ #if: {{{Language|}}}| {{{Language}}} }}</includeonly><noinclude> | | <noinclude> |
| | '''Very simple web reference''' |
|
| |
|
| __NOTOC__
| | Usage: {{webref |
| This template can be used to mark web references. Most commonly, the template is used as a footnote within ref tags.
| |
| | |
| Citation code:
| |
| | |
| <nowiki>{{Web reference | Address = | Title = | Author = | File format = | Description = | Publication = |
| |
| Date = | Publication place = | Published = | Cited = | Language = }}</nowiki>
| |
| | |
| === Parameters ===
| |
| | |
| {| class="wikitable" style="text-align: left"
| |
| |-
| |
| !style="text-align: left; | Parameter !! Parameter type !! Help !! Examples
| |
| |-
| |
| ! style="text-align: left; " |Address
| |
| | '''required''' || page [[URL]] || <nowiki>http://www.ipcc.ch/SPM2feb07.pdf</nowiki>
| |
| |-
| |
| ! style="text-align: left; " |Title
| |
| | '''required''' || page title ||
| |
| |-
| |
| ! style="text-align: left; " |File format
| |
| | optional || page file format, if different than the one readable on the page ||
| |
| |-
| |
| ! style="text-align: left; " |Legend
| |
| | optional || specifies the part of a large web page where the necessary information can be found ||
| |
| |-
| |
| ! style="text-align: left; " |Publication or Website
| |
| | optional || if the page is part of a larger publication or (e.g. services), the name of the website news website here || YLE Uutiset; Kaleva.plus; HS.fi
| |
| |-
| |
| ! style="text-align: left; " |Place of publication
| |
| | optional || the place of publication of the page or website (if mentioned) || Helsinki; London
| |
| |-
| |
| ! style="text-align: left; " |Publisher
| |
| | optional || the publisher of the page or website || Yleisradio Oy; Sanoma Osakeyhtiö
| |
| |-
| |
| ! style="text-align: left; " |Cited or Read
| |
| | optional || date, page was revised || 31.1.2007
| |
| |-
| |
| ! style="text-align: left; " |Author
| |
| | optional || the author of the page's subject's last name, first name||
| |
| |-
| |
| ! style="text-align: left; " |Time
| |
| | optional || page last updated || 2007; January 2007; 31.1.2007; 31.1.2007 at 12:34
| |
| |-
| |
| ! style="text-align: left; " |Language
| |
| | optional || page language [[:Category:Language symbol templates| language symbol template]], if other than Finnish || <nowiki>{{en}}</nowiki>
| |
| |}
| |
| | |
| For language templates, preferably use <nowiki>{{code|parameters}}</nowiki>, where the code is the ISO 639 language code of the language, for which <nowiki>{{sv|Du har satt din sista potatis}}</nowiki> produces {{sv|Du har satt din sista potatis}}. See [https://en.wikipedia.org/wiki/IETF_language_tag IETF Language Tags @ wikipedia].
| |
| | |
| === Example using ===
| |
| | |
| Source code:
| |
| : <nowiki>{{Web-reference | Author = | Title = Climate Change 2007: Physical Sciences – Summary for Policymakers | Address = http://www.ipcc.ch/SPM2feb07.pdf | Legend = Page 5 | Date = | Publisher = Intergovernmental Panel on Climate Change | Cited = 27.2.2007 | Language = {{en}} }}</nowiki>
| |
| | |
| Result:
| |
| : {{Web-reference | Author = | Title = Climate Change 2007: Physical Sciences – Summary for Policymakers | Address = http://www.ipcc.ch/SPM2feb07.pdf | Legend = Page 5 | Date = | Publisher = Intergovernmental Panel on Climate Change | Viewed = 27.2.2007 | Language = {{en}} }}
| |
| </noinclude>
| |
Very simple web reference
Usage: {{webref