Difference between revisions of "Template:Citation/fcite journal"
Jump to navigation
Jump to search
Template documentation[create]
imported>Wikid77 (put "Fcite_journal" in 22 warning messages; put ending dot (".").) |
imported>Wikid77 (for {ref}=harv, set anchor at start of template with editor[n]-last.) |
||
| Line 5: | Line 5: | ||
-- (see NOTES at bottom) | -- (see NOTES at bottom) | ||
--></noinclude>{{#if:{{{ref|}}} | --></noinclude>{{#if:{{{ref|}}} | ||
| − | + | |{{#ifeq:{{{ref}}}|harv | |
| − | + | |<!--then anchor authors/editors+year-->{{anchor | |
| − | + | |CITEREF{{{last|{{{last1|{{{author1|{{{editor-last|{{{editor1-last<!-- | |
| − | + | -->|}}}}}}}}}}}}}}}<!-- | |
| − | + | -->{{{last2|{{{author2|{{{editor2-last|}}}}}}}}}<!-- | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
-->{{{last3|{{{author3|}}}}}}<!-- | -->{{{last3|{{{author3|}}}}}}<!-- | ||
-->{{{last4|{{{author4|}}}}}}<!-- | -->{{{last4|{{{author4|}}}}}}<!-- | ||
| − | -->{{{year|{{<!--else year from date/pub-date or use pub-date | + | -->{{{year|{{<!--else year from date/pub-date or use pub-date 2010b--> |
#if: {{{date|}}} | #if: {{{date|}}} | ||
|{{ | |{{ | ||
| Line 29: | Line 23: | ||
}}<!--endif-else {date} | }}<!--endif-else {date} | ||
-->}}}|}}<!--end-anchor--> | -->}}}|}}<!--end-anchor--> | ||
| − | }}<!--endif-else ref="harv" -->{{ | + | |{{anchor|{{{ref}}}}} |
| − | #if:{{{authorlink | + | }}<!--endif-else ref="harv" --> |
| + | }}{{ | ||
| + | #if:{{{author|}}}|<!--if author set-->{{ | ||
| + | #if:{{{authorlink|{{{author1-link|}}} }}}|<!--if authorlink set then | ||
| + | link-->[[{{{authorlink|{{{author1-link}}}}}}|{{{author}}}]]<!-- | ||
| + | else-->|{{{author}}}<!--full-->}}<!-- | ||
| + | else-->|{{<!--NOT {author}--> | ||
| + | #if:{{{last|{{{last1|{{{author1|}}} }}} }}}|<!--if last set-->{{ | ||
| + | #if:{{{authorlink|{{{author1-link|}}} }}}|<!--if authorlink set | ||
--then-wikilink-->[[{{{authorlink|{{{author1-link}}}}}}|<!-- | --then-wikilink-->[[{{{authorlink|{{{author1-link}}}}}}|<!-- | ||
-->{{{last|{{{last1|{{{author1}}}}}}}}}<!--last name-->{{ | -->{{{last|{{{last1|{{{author1}}}}}}}}}<!--last name-->{{ | ||
| Line 44: | Line 46: | ||
-->{{#if: | -->{{#if: | ||
| − | {{{ | + | {{{last2|{{{author2|{{{coauthors|{{{coauthor|}}} }}} }}} }}}<!--if last2 |
| − | -->|<b/>{{{author-separator|;}}} {{{ | + | -->|<b/>{{{author-separator|;}}} {{{last2|<!-- |
| − | -->{{{ | + | -->{{{author2|{{{coauthors|{{{coauthor}}}}}}}}}}}}{{ |
#if:{{{first2|}}}|, {{{first2}}}}}{{ | #if:{{{first2|}}}|, {{{first2}}}}}{{ | ||
#if:{{{last3|{{{author3|}}} }}} | #if:{{{last3|{{{author3|}}} }}} | ||
| Line 53: | Line 55: | ||
#if:{{{last4|{{{author4|}}} }}} | #if:{{{last4|{{{author4|}}} }}} | ||
|<b/>{{{author-separator|;}}} {{{last4|{{{author4}}}}}}{{ | |<b/>{{{author-separator|;}}} {{{last4|{{{author4}}}}}}{{ | ||
| − | #if:{{{first4|}}}|, {{{first4}}} }} | + | #if:{{{first4|}}}|, {{{first4}}} }} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}}<!--endif last4--> | }}<!--endif last4--> | ||
}}<!--endif last3--> | }}<!--endif last3--> | ||
| Line 75: | Line 61: | ||
------------------------------------------------------------- Editors | ------------------------------------------------------------- Editors | ||
-->{{ | -->{{ | ||
| − | #if:{{{editor|{{{editor1-last|}}} }}}<!--if editor | + | #if:{{{editor|{{{editor-last|{{{editor1-last|}}} }}} }}}<!--if editor#1a--> |
|{{#if:{{{author|{{{last|{{{last1|{{{author1|}}} }}} }}} }}} | |{{#if:{{{author|{{{last|{{{last1|{{{author1|}}} }}} }}} }}} | ||
|<b/>{{{author-separator|;}}} }}<!--separator | |<b/>{{{author-separator|;}}} }}<!--separator | ||
| − | -->{{{editor|{{{editor1-last | + | -->{{{editor|{{{editor-last|{{{editor1-last}}}}}}}}}{{ |
#if:{{{editor1-first|}}}|, {{{editor1-first}}} | #if:{{{editor1-first|}}}|, {{{editor1-first}}} | ||
}}{{ | }}{{ | ||
| Line 101: | Line 87: | ||
}}<!--endif {editor2-last} --> | }}<!--endif {editor2-last} --> | ||
}}<!--endif {editor|editor1-last} | }}<!--endif {editor|editor1-last} | ||
| − | ----------------------------------------------------- Date if authors/ | + | ----------------------------------------------------- Date if authors/editors |
-->{{ | -->{{ | ||
#if:{{{last|{{{author|{{{last1|{{{author1|{{{editor|{{{editor1-last|<!-- | #if:{{{last|{{{author|{{{last1|{{{author1|{{{editor|{{{editor1-last|<!-- | ||
| Line 452: | Line 438: | ||
--22Jul12 New parameters: editor2-last/editor2-first... editor4-last/first. | --22Jul12 New parameters: editor2-last/editor2-first... editor4-last/first. | ||
--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. | ||
--> | --> | ||
{{documentation|Template:Fcite_journal/doc}} | {{documentation|Template:Fcite_journal/doc}} | ||
Revision as of 07:47, 23 July 2012
Template:Template for discussion/dated{{{title}}}..
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |