Difference between revisions of "Template:Citation/fcite journal"
Jump to navigation
Jump to search
Template documentation[create]
imported>Wikid77 (show "eds." plural when editor2-last; for {1}=help, if found "editor2=" - use "editor2-last"; faster check for date#1.) |
imported>Wikid77 (fixed to omit date#2 when "editor1-last=" set.) |
||
| Line 97: | Line 97: | ||
}}<!--endif {editor4-last} --> | }}<!--endif {editor4-last} --> | ||
}}<!--endif {editor3-last} | }}<!--endif {editor3-last} | ||
| − | -->{{{ | + | --><b/>{{{author-separator|;}}} eds.  |
| − | |<!--else no editor2-->{{{ | + | |<!--else no editor2--><b/>{{{author-separator|;}}} ed.  |
}}<!--endif {editor2-last} --> | }}<!--endif {editor2-last} --> | ||
}}<!--endif {editor|editor1-last} | }}<!--endif {editor|editor1-last} | ||
----------------------------------------------------- Date if authors/editor | ----------------------------------------------------- Date if authors/editor | ||
-->{{ | -->{{ | ||
| − | + | #if:{{{last|{{{author|{{{last1|{{{author1|{{{editor|{{{editor1-last|<!-- | |
| − | |||
| − | |||
-->}}} }}} }}} }}} }}} }}} | -->}}} }}} }}} }}} }}} }}} | ||
| + | |{{<!--check if date here--> | ||
| + | #if:{{{date|{{{year|{{{month|}}} }}} }}} | ||
| ({{{date|{{ | | ({{{date|{{ | ||
#if:{{{month|}}} | #if:{{{month|}}} | ||
|{{{month}}}{{#if:{{{year|}}} }} | |{{{month}}}{{#if:{{{year|}}} }} | ||
}}{{{year|}}}|}}}){{ | }}{{{year|}}}|}}}){{ | ||
| − | + | #if:{{{origyear|}}}| [{{{origyear}}}] | |
| − | + | }}{{{sep|.}}}  | |
|<b/>{{{author-separator|;}}} <!-- | |<b/>{{{author-separator|;}}} <!-- | ||
| − | -->}}<!--endif { | + | -->}}<!--endif {date|year|month} |
| − | -->}}<!--endif { | + | -->}}<!--endif {last|author|last1|author1|editor...} |
------------------------------------------------------- | ------------------------------------------------------- | ||
-->{{#if:{{{work|{{{journal|{{{periodical|{{{magazine|{{{newspaper|<!-- | -->{{#if:{{{work|{{{journal|{{{periodical|{{{magazine|{{{newspaper|<!-- | ||
| Line 186: | Line 186: | ||
| ({{{issue|{{{number}}}}}})}} | | ({{{issue|{{{number}}}}}})}} | ||
}}<!--endif vol/pub/ed/loc set-->{{ | }}<!--endif vol/pub/ed/loc set-->{{ | ||
| − | #if:{{{ | + | #if:{{{date|{{{year|{{{month|}}} }}} }}} |
| − | ||<!-- | + | ||<!--check to put date here-->{{ |
| − | #if:{{{ | + | #if:{{{last|{{{author|{{{last1|{{{author1|{{{editor|{{{editor1-last| |
| + | -->}}} }}} }}} }}} }}} }}} | ||
|{{{sep|.}}} {{{month|}}} {{{date|{{{year|}}}}}}{{ | |{{{sep|.}}} {{{month|}}} {{{date|{{{year|}}}}}}{{ | ||
#if:{{{origyear|}}}| [{{{origyear}}}] }} | #if:{{{origyear|}}}| [{{{origyear}}}] }} | ||
| − | }}<!--endif { | + | }}<!--endif {last|author|last1|author1|editor...} |
| − | -->}}<!--endif { | + | -->}}<!--endif {date|year|month}-->{{ |
#if:{{{archiveurl|}}} | #if:{{{archiveurl|}}} | ||
|. Archived from [{{{archiveurl}}}{{{archiveurlx|}}}<!--url+urlx | |. Archived from [{{{archiveurl}}}{{{archiveurlx|}}}<!--url+urlx | ||
| Line 316: | Line 317: | ||
-->{{ | -->{{ | ||
#ifeq:{{{1|none}}}|none|<!--if nothing | #ifeq:{{{1|none}}}|none|<!--if nothing | ||
| − | then--> | + | then--><!--end main citation |
else-->|{{ | else-->|{{ | ||
#if:{{{laysummary|}}} | #if:{{{laysummary|}}} | ||
| Line 450: | Line 451: | ||
--22Jul12 For {ref}=harv, defaulted {year} as {#time:Y|date/publication-date}. | --22Jul12 For {ref}=harv, defaulted {year} as {#time:Y|date/publication-date}. | ||
--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). | ||
--> | --> | ||
{{documentation|Template:Fcite_journal/doc}} | {{documentation|Template:Fcite_journal/doc}} | ||
Revision as of 05:17, 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. |