Difference between revisions of "Template:Citation/fcite journal"
Jump to navigation
Jump to search
imported>Wikid77 (put new parameters: last5/first5, ... last8/first8.) |
imported>Wikid77 (for {ref}=harv, defaulted {year} as {#time:Y|date/publication-date}; new parameters: editor2-last/editor2-first... editor4-last/first.) |
||
| Line 14: | Line 14: | ||
#if:{{{last|{{{last1|{{{author1|}}} }}} }}}|<!--if last set-->{{ | #if:{{{last|{{{last1|{{{author1|}}} }}} }}}|<!--if last set-->{{ | ||
#ifeq:{{{ref|}}}|harv|{{anchor | #ifeq:{{{ref|}}}|harv|{{anchor | ||
| − | + | |CITEREF{{{last|{{{last1|{{{author1|}}}}}}}}}<!-- | |
| − | + | -->{{{last2|{{{author2|}}}}}}<!-- | |
| − | + | -->{{{last3|{{{author3|}}}}}}<!-- | |
| − | }}<!--endif-else ref-->{{ | + | -->{{{last4|{{{author4|}}}}}}<!-- |
| + | -->{{{year|{{<!--else year from date/pub-date or use pub-date 2010a--> | ||
| + | #if: {{{date|}}} | ||
| + | |{{ | ||
| + | #iferror: {{#time:Y|{{{date|}}} }} | ||
| + | |{{#iferror: {{#time:Y|{{{publication-date|einval}}} }} | ||
| + | |<!--none-->|{{#time:Y|{{{publication-date|}}} }} }} | ||
| + | | {{#time:Y|{{{date|}}} }} | ||
| + | }}<!--endiferror-else #time|{date} --> | ||
| + | |{{{publication-date|}}}<!--else pub like: 2010b --> | ||
| + | }}<!--endif-else {date} | ||
| + | -->}}}|}}<!--end-anchor--> | ||
| + | }}<!--endif-else ref="harv" -->{{ | ||
#if:{{{authorlink||{{{author1-link|}}} }}}|<!--if authorlink set | #if:{{{authorlink||{{{author1-link|}}} }}}|<!--if authorlink set | ||
--then-wikilink-->[[{{{authorlink|{{{author1-link}}}}}}|<!-- | --then-wikilink-->[[{{{authorlink|{{{author1-link}}}}}}|<!-- | ||
| Line 61: | Line 73: | ||
}}<!--endif last3--> | }}<!--endif last3--> | ||
}}<!--endif full name2 | }}<!--endif full name2 | ||
| − | + | ------------------------------------------------------------- Editors | |
| − | + | -->{{ | |
| − | + | #if:{{{editor|{{{editor1-last|}}} }}}<!--if editor set#1a--> | |
| + | |{{#if:{{{author|{{{last|{{{last1|{{{author1|}}} }}} }}} }}} | ||
| + | |<b/>{{{author-separator|;}}} }}<!--separator | ||
-->{{{editor|{{{editor1-last|J. Olson}}}}}}{{ | -->{{{editor|{{{editor1-last|J. Olson}}}}}}{{ | ||
| − | #if:{{{editor1-first|}}}|, {{{editor1-first}}} | + | #if:{{{editor1-first|}}}|, {{{editor1-first}}}<!-- |
| − | }}{{{sep|.}}} ed. | + | -->}}{{{sep|.}}} ed.{{ |
| − | + | ||
| + | #if:{{{editor2-last|}}}<!--if editor2 set--> | ||
| + | |<b/>{{{author-separator|;}}} <!--separator | ||
| + | -->{{{editor2-last}}}{{ | ||
| + | #if:{{{editor2-first|}}}|, {{{editor2-first}}}<!-- | ||
| + | -->}}{{{sep|.}}} ed.{{ | ||
| + | |||
| + | #if:{{{editor3-last|}}}<!--if editor3 set--> | ||
| + | |<b/>{{{author-separator|;}}} <!--separator | ||
| + | -->{{{editor3-last}}}{{ | ||
| + | #if:{{{editor3-first|}}}|, {{{editor3-first}}}<!-- | ||
| + | -->}}{{{sep|.}}} ed.{{ | ||
| + | |||
| + | #if:{{{editor4-last|}}}<!--if editor4 set--> | ||
| + | |<b/>{{{author-separator|;}}} <!--separator | ||
| + | -->{{{editor4-last}}}{{ | ||
| + | #if:{{{editor4-first|}}}|, {{{editor4-first}}}<!-- | ||
| + | -->}}{{{sep|.}}} ed. | ||
| + | }}<!--endif {editor4-last} --> | ||
| + | }}<!--endif {editor3-last} --> | ||
| + | }}<!--endif {editor2-last} --> | ||
| + | }}<!--endif {editor|editor1-last} --> | ||
| − | + | {{#if:{{{last|{{{author|{{{last1|{{{author1|{{{editor|}}} }}} }}} }}} }}} | |
|{{<!--put any date here | |{{<!--put any date here | ||
-->#if:{{{date|{{{year|{{{month|}}} }}} }}} | -->#if:{{{date|{{{year|{{{month|}}} }}} }}} | ||
| Line 419: | Line 454: | ||
--20Jul12 New parameters: encyclopedia, series/version, number, nopp. | --20Jul12 New parameters: encyclopedia, series/version, number, nopp. | ||
--21Jul12 New parameters: last5/first5, last6/first6,... last8/first8. | --21Jul12 New parameters: last5/first5, last6/first6,... last8/first8. | ||
| + | --22Jul12 For {ref}=harv, defaulted {year} as {#time:Y|date/publication-date}. | ||
| + | --22Jul12 New parameters: editor2-last/editor2-first... editor4-last/first. | ||
--> | --> | ||
{{documentation|Template:Fcite_journal/doc}} | {{documentation|Template:Fcite_journal/doc}} | ||
Revision as of 03:50, 22 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. |