Difference between revisions of "Template:Cite web"
From DoomWiki.org
m (Most existing citations just use "Retrieved" and not "Retrieved on" so I'll change this to match.) |
(Add optional name argument) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#tag:ref|{{{author|}}}{{#if:{{{publishdate|}}}| ({{{publishdate}}}).|{{#if:{{{author|}}}|.|}}}} {{#if:{{{title|}}}|[{{{url}}} "{{{title}}}."]|{{{url}}}.}} {{#if:{{{publication|}}}|''{{{publication}}}.''|}} {{#if:{{{retrievedate|}}}|Retrieved {{{retrievedate}}}.|}}}}</includeonly><noinclude> | + | <includeonly>{{#tag:ref|{{{author|}}}{{#if:{{{publishdate|}}}| ({{{publishdate}}}).|{{#if:{{{author|}}}|.|}}}} {{#if:{{{title|}}}|[{{{url}}} "{{{title}}}."]|{{{url}}}.}} {{#if:{{{publication|}}}|''{{{publication}}}.''|}} {{#if:{{{retrievedate|}}}|Retrieved {{{retrievedate}}}.|}} {{#if:{{{name|}}}|{{!}}name="{{{name}}}"|}} }}</includeonly><noinclude> |
Simple website {{wp|Wikipedia:Citing_sources|citation}} template. | Simple website {{wp|Wikipedia:Citing_sources|citation}} template. | ||
==Usage== | ==Usage== | ||
Line 8: | Line 8: | ||
* {{c|publication}}: Title of publishing site, journal, blog, etc. Optional. If provided, will be automatically italicized. | * {{c|publication}}: Title of publishing site, journal, blog, etc. Optional. If provided, will be automatically italicized. | ||
* {{c|retrievedate}}: Date article or page was retrieved by the wiki editor. Optional. If included, the text "Retreived" will appear before the provided date. | * {{c|retrievedate}}: Date article or page was retrieved by the wiki editor. Optional. If included, the text "Retreived" will appear before the provided date. | ||
+ | * {{c|name}}: Name argument to the reference, in case this reference must be repeated multiple times in the article. | ||
[[Category:Citation templates]] | [[Category:Citation templates]] | ||
</noinclude> | </noinclude> |
Revision as of 10:11, 4 September 2014
Simple website citation template.
Usage
- author: Principal author or editor of the work.
- publishdate: Date article or page was originally published.
- url: URL of the webpage. Required.
- title: Title of article. Optional. If provided, this is used as the link text for the provided URL. Quotation marks will be automatically included.
- publication: Title of publishing site, journal, blog, etc. Optional. If provided, will be automatically italicized.
- retrievedate: Date article or page was retrieved by the wiki editor. Optional. If included, the text "Retreived" will appear before the provided date.
- name: Name argument to the reference, in case this reference must be repeated multiple times in the article.