Template:Citation: Difference between revisions
Jump to navigation
Jump to search
(Note abt rewrite. Please give some feedback on the rewrite!) |
(Template update) |
||
Line 1: | Line 1: | ||
{{doc}} | {{doc}} | ||
<includeonly><onlyinclude><div id="ref{{{cite id|}}}" style="padding: 0px 5px"> | <includeonly><onlyinclude><div id="ref{{{cite id|}}}" style="padding: 0px 5px"> | ||
:{| style="background:transparent" | :{| style="background:transparent" | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
|[[#cite{{{cite id|}}}|{{{cite id|}}}.]] | |{{#if:{{{cite id|}}}|[[#cite{{{cite id|}}}|{{{cite id|}}}.]]|{{tpl error|missing necessary {{param|cite id}}!}}}} | ||
|{{{ | || <!-- | ||
author/date | |||
}} | --> {{#if:{{{last|}}}{{{first|}}}{{{date|}}}{{{author|}}} | ||
| {{{author|{{#if:{{{last|}}}|{{{last|}}}{{#if:{{{first|}}}|, |}}}}{{{first|}}}}}}{{#if:{{{date|{{{year|}}}}}}| ({{{date|{{{year|No date set. How???}}}}}})|}}, <!-- | |||
-->|}}<!-- | |||
title | |||
-->{{#if:{{{title|{{{1|}}}}}} | |||
| {{#if:{{{url|}}} | |||
| [{{#if:{{{archive-url|}}} | |||
| {{#switch:{{{url-status}}} | |||
| live = {{{url}}} | |||
| #default = {{{archive-url}}}}}<!-- | |||
-->| {{{url}}}<!-- | |||
-->}} {{{title|{{{1|}}}No title set. How???}}}]{{#ifeq:{{{url-status}}}|live|| (Archived)|}}<!-- | |||
-->|{{{title|{{{1|}}}}}}}}<!-- | |||
-->|{{tpl error|missing necessary {{param|title}}!}}}}. <!-- | |||
Website/work | |||
-->{{#if:{{{website|{{{work|}}}}}}|<i>{{{website|{{{work}}}}}}</i>. |}}<!-- | |||
Location | |||
-->{{#if:{{{location|}}}|{{{location}}}{{#if:{{{publisher|}}}|<nowiki>:</nowiki>|.}} |}}<!-- | |||
Publisher | |||
-->{{#if:{{{publisher|}}}|{{{publisher}}}. |}}<!-- | |||
Archived text | |||
-->{{#if:{{{archive-url|}}} | |||
| {{#switch:{{{url-status|}}} | |||
| live = [{{{archive-url}}} Archived] from the original | |||
| dead | deviated | #default = Archived from the [{{{url}}} original]{{#ifeq:{{{url-status|}}}|deviated| (Deviated)|}}}}<!-- | |||
-->}}{{#if:{{{archive-date|}}}| on {{{archive-date|}}}. |}}<!-- | |||
Retrieved | |||
-->{{#if:{{{access-date|}}}|Retrieved on {{{access-date}}}.}} | |||
|}</div></onlyinclude></includeonly> | |}</div></onlyinclude></includeonly> |
Revision as of 14:16, 31 July 2025
The above documentation is transcluded from Template:Citation/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.