Difference between revisions of "Template:Citation/quick/sandbox"
< Template:Citation | quick
Jump to navigation
Jump to search
imported>AlanM1 (Trying to resolve missing punct after author with no date) |
imported>Plastikspork |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <noinclude><!-- | + | <noinclude>{{historical}}<!-- |
--==================================================================== | --==================================================================== | ||
-- Template:Cite_quick - Quick citation for author, title, URL, etc. | -- Template:Cite_quick - Quick citation for author, title, URL, etc. | ||
--==================================================================== | --==================================================================== | ||
-- (see NOTES at bottom) | -- (see NOTES at bottom) | ||
| − | --></noinclude><span class="citation {{{1|web}}}" {{ | + | --></noinclude>{{main other||<span class="citation {{{1|web}}}" {{ |
#if:{{{ref|}}} | #if:{{{ref|}}} | ||
|{{#ifeq:{{{ref}}}|harv | |{{#ifeq:{{{ref}}}|harv | ||
| Line 86: | Line 86: | ||
|<nowiki/> ({{ | |<nowiki/> ({{ | ||
#if:||{{{day|}}} {{{month|}}} {{{year}}} }}). <nowiki/> | #if:||{{{day|}}} {{{month|}}} {{{year}}} }}). <nowiki/> | ||
| + | |<nowiki/>. <nowiki/> | ||
}} | }} | ||
}}<!--endif-else {date}--> | }}<!--endif-else {date}--> | ||
| Line 96: | Line 97: | ||
|{{ | |{{ | ||
#if:{{{url|}}} | #if:{{{url|}}} | ||
| − | |[{{{ | + | |[{{#if:{{{archiveurl|}}} |
| + | |{{{archiveurl}}}|{{{url|}}} }} "{{{chapter}}}"] | ||
|"{{{chapter}}}" | |"{{{chapter}}}" | ||
}}<!--endif-else {url} #1 | }}<!--endif-else {url} #1 | ||
| Line 102: | Line 104: | ||
|<!--else no chapter-->{{ | |<!--else no chapter-->{{ | ||
#if:{{{url|}}} | #if:{{{url|}}} | ||
| − | |[{{{ | + | |[{{#if:{{{archiveurl|}}} |
| + | |{{{archiveurl}}}|{{{url|}}} }} <i>{{{title}}}</i>] | ||
|<i>{{{title}}}</i> | |<i>{{{title}}}</i> | ||
}}<!--endif-else {url} #2--> | }}<!--endif-else {url} #2--> | ||
| Line 108: | Line 111: | ||
|<!--else not book-->{{ | |<!--else not book-->{{ | ||
#if:{{{url|}}} | #if:{{{url|}}} | ||
| − | |[{{{ | + | |[{{#if:{{{archiveurl|}}} |
| + | |{{{archiveurl}}}|{{{url|}}} }} "{{{title}}}"] | ||
|"{{{title}}}" | |"{{{title}}}" | ||
}}<!--endif-else {url} #3--> | }}<!--endif-else {url} #3--> | ||
| Line 119: | Line 123: | ||
#if:{{{work|{{{newspaper|{{{journal|}}} }}} }}}|{{ | #if:{{{work|{{{newspaper|{{{journal|}}} }}} }}}|{{ | ||
#if:{{{url|}}} | #if:{{{url|}}} | ||
| − | |[{{{ | + | |[{{#if:{{{archiveurl|}}} |
| + | |{{{archiveurl}}}|{{{url|}}} }} <i>{{{work|{{{newspaper|{{{journal}}}}}}}}}</i>] | ||
|<i>{{{work|{{{newspaper|{{{journal}}}}}}}}}</i> | |<i>{{{work|{{{newspaper|{{{journal}}}}}}}}}</i> | ||
}}<!--endif-else {url}--> | }}<!--endif-else {url}--> | ||
}}<!--endif {work}--> | }}<!--endif {work}--> | ||
}}<!--endif-else {title} | }}<!--endif-else {title} | ||
| − | + | --------------------------------------------------- Pub/location/volume | |
-->{{ | -->{{ | ||
| − | #if:{{{publisher|{{{location|{{{place|{{{agency|<!-- | + | #if:{{{publisher|}}}{{{location|{{{place|{{{agency|<!-- |
| − | --> | + | -->}}} }}} }}} |
|<!--then take time to check each...-->{{ | |<!--then take time to check each...-->{{ | ||
#if:{{{journal|{{{work|{{{newspaper|}}} }}} }}} | #if:{{{journal|{{{work|{{{newspaper|}}} }}} }}} | ||
|<nowiki/> ({{ | |<nowiki/> ({{ | ||
| − | #if:{{{location|{{{place| | + | #if:{{{location|}}}{{{place|}}} |
|{{{location|{{{place}}}}}}{{ | |{{{location|{{{place}}}}}}{{ | ||
#if:{{{publisher|{{{agency|}}} }}} | #if:{{{publisher|{{{agency|}}} }}} | ||
| Line 175: | Line 180: | ||
-------------------------------------------------------- Pages/page | -------------------------------------------------------- Pages/page | ||
-->{{ | -->{{ | ||
| − | #if:{{{pages|{{{page| | + | #if:{{{pages|}}}{{{page|}}} |
|{{ | |{{ | ||
#if:{{{pages|}}} | #if:{{{pages|}}} | ||
| Line 190: | Line 195: | ||
}} | }} | ||
}} | }} | ||
| − | }}<!--endif {pages|page} | + | }}<!--endif {pages|page}-->{{{at|}}}<!-- |
| − | + | -------------------------------------------- doi/ISBN/ISSN / archiveurl | |
-->{{ | -->{{ | ||
| − | #if:{{{isbn|{{{issn|{{{archiveurl|{{{doi|{{{pmid|<!-- | + | #if:{{{isbn|}}}{{{issn|}}}{{{archiveurl|}}}{{{doi|{{{pmid|<!-- |
| − | --> | + | -->}}} }}} |
|{{ | |{{ | ||
#if:{{{doi|}}} | #if:{{{doi|}}} | ||
| Line 236: | Line 241: | ||
-->{{{notes|.}}}{{ | -->{{{notes|.}}}{{ | ||
#if:{{{quote|}}}| "{{{quote}}}" | #if:{{{quote|}}}| "{{{quote}}}" | ||
| − | }}</span><noinclude><!-- | + | }}</span>}}<noinclude><!-- |
----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ||
--NOTES: | --NOTES: | ||
| Line 287: | Line 292: | ||
--01Nov12 Added "ref=" for anchor-id <span class="citation.." id="xx">. | --01Nov12 Added "ref=" for anchor-id <span class="citation.." id="xx">. | ||
--26Nov12 Added authorlink, authorlink2 (but not: author1-link, etc.) | --26Nov12 Added authorlink, authorlink2 (but not: author1-link, etc.) | ||
| + | --19Feb13 When there was no date and no year param given, author (or last, first, etc.) was not being followed by trailing ". ". Fixed. | ||
| + | --27Jun13 Fixed to handle empty "archiveurl=" to use "url=". | ||
| + | --27Jun13 Fixed to handle empty "publisher=" or "location=" or "isbn=". | ||
| + | --27Jun13 Fixed to handle empty "pages=" and show "at=xx". | ||
-- | -- | ||
--> | --> | ||
| − | {{documentation|Template: | + | {{documentation|Template:Citation/quick}} |
| − | |||
| − | |||
| − | |||
<!--PUT INTERWIKI LINKS in /doc page, not here --> | <!--PUT INTERWIKI LINKS in /doc page, not here --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 23:37, 5 July 2013
| This page is currently inactive and is retained for historical reference. Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via a forum such as the village pump. |
| This is the template sandbox page for Template:Citation/quick (diff). |
| The above documentation is transcluded from Template:Citation/quick. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |