Difference between revisions of "Template:Citation/fcite journal"
Jump to navigation
Jump to search
Template documentation[create]
imported>Br'er Rabbit (in /doc) |
imported>Wikid77 (set to <span class="citation journal" id="x"> to handle "ref=".) |
||
| Line 4: | Line 4: | ||
--========================================================================= | --========================================================================= | ||
-- (see NOTES at bottom) | -- (see NOTES at bottom) | ||
| − | --></noinclude>{{#if:{{{ref|}}} | + | --></noinclude><span class="citation journal" {{ |
| + | #if:{{{ref|}}} | ||
|{{#ifeq:{{{ref}}}|harv | |{{#ifeq:{{{ref}}}|harv | ||
| − | |<!--then anchor authors/editors+year-->{{ | + | |<!--then anchor authors/editors+year |
| − | + | --> id="CITEREF{{anchorencode:{{ | |
| − | + | #if:{{{last|{{{last1|{{{author|{{{author1|}}} }}} }}} }}} | |
| − | + | |{{{last|{{{last1|{{{author|{{{author1}}}}}}}}}}}}<!-- | |
| − | + | -->{{{last2|{{{author2|}}}}}}<!-- | |
| − | + | -->{{{last3|{{{author3|}}}}}}<!-- | |
| − | + | -->{{{last4|{{{author4|}}}}}}<!-- | |
| + | --else-->|{{{editor-last|{{{editor1-last|}}}}}}<!-- | ||
| + | -->{{{editor2-last|}}}{{{editor3-last|}}}{{{editor4-last|}}} | ||
| + | }}<!-- | ||
| + | -->{{{year|{{<!--or year from date/pub-date or use pub-date 2010b--> | ||
#if: {{{date|}}} | #if: {{{date|}}} | ||
|{{ | |{{ | ||
| Line 22: | Line 27: | ||
|{{{publication-date|}}}<!--else pub like: 2010b --> | |{{{publication-date|}}}<!--else pub like: 2010b --> | ||
}}<!--endif-else {date} | }}<!--endif-else {date} | ||
| − | -->}}}|}}<!--end- | + | -->}}}|}}"<!--end-anchorencode--> |
| − | |{{ | + | | id="{{anchorencode:{{{ref}}}}}" |
}}<!--endif-else ref="harv" --> | }}<!--endif-else ref="harv" --> | ||
| − | }}{{ | + | }}><!--end open-span tag-->{{ |
| + | |||
#if:{{{author|}}}|<!--if author set-->{{ | #if:{{{author|}}}|<!--if author set-->{{ | ||
#if:{{{authorlink|{{{author1-link|}}} }}}|<!--if authorlink set then | #if:{{{authorlink|{{{author1-link|}}} }}}|<!--if authorlink set then | ||
| Line 105: | Line 111: | ||
----------------------------------------------------- Date if authors/editors | ----------------------------------------------------- Date if authors/editors | ||
-->{{ | -->{{ | ||
| − | #if:{{{last|{{{author|{{{last1|{{{author1|{{{editor|{{{ | + | #if:{{{last|{{{author|{{{last1|{{{author1|{{{editor|{{{editor-last|<!-- |
| − | -->}}} }}} }}} }}} }}} }}} | + | -->{{{editor1-last|}}} }}} }}} }}} }}} }}} }}} |
|{{<!--check if date here--> | |{{<!--check if date here--> | ||
#if:{{{date|{{{year|{{{month|}}} }}} }}} | #if:{{{date|{{{year|{{{month|}}} }}} }}} | ||
| Line 330: | Line 336: | ||
|  ({{{laydate}}}) }}<!-- | |  ({{{laydate}}}) }}<!-- | ||
-->.<!--end main citation | -->.<!--end main citation | ||
| − | --------------------------------------------------------- Quote / | + | --------------------------------------------------------- Quote / postscript |
-->{{ | -->{{ | ||
| − | #if:{{{quote| | + | #if:{{{quote|}}} |
| − | + | | "{{{quote}}}"}}{{ | |
| − | + | #if:{{{postscript|{{{notes|}}} }}} | |
| − | + | | {{{postscript|{{{notes}}}}}} }}<!--endif {postscript|notes} | |
| − | + | --></span><!--end citation span | |
| − | |||
| − | |||
| − | |||
--------------------------------------------------------- Help option | --------------------------------------------------------- Help option | ||
-->{{ | -->{{ | ||
| Line 456: | Line 459: | ||
--22Jul12 Process omitted date 3x faster (checked before author/editor names). | --22Jul12 Process omitted date 3x faster (checked before author/editor names). | ||
--23Jul12 For {ref}=harv, also linked by editor[1]-last or editor2-last. | --23Jul12 For {ref}=harv, also linked by editor[1]-last or editor2-last. | ||
| + | --01Aug12 Set to <span class="citation journal" id="x"> to handle "ref=". | ||
--> | --> | ||
{{documentation|Template:Fcite_journal/doc}} | {{documentation|Template:Fcite_journal/doc}} | ||
Revision as of 00:33, 1 August 2012
{{{title}}}.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |