Difference between revisions of "Template:Citation/core"
From Self-sufficiency
(Reflect moving DOI-URL issue to Template:Citation. Simplifies code.) |
|||
Line 128: | Line 128: | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
|{{ | |{{ | ||
− | #if:{{{Surname1|}}} | + | #if:{{{Surname1|}}}{{{EditorSurname1|}}} |
− | + | | ,  | |
− | + | ||
− | + | ||
− | + | ||
}}{{Link | }}{{Link | ||
− | | 1={{{IncludedWorkURL|}}} | + | | 1={{ |
+ | #if: {{{IncludedWorkURL|}}} | ||
+ | |{{{IncludedWorkURL}}} | ||
+ | |{{ | ||
+ | #if: {{{URL|}}} | ||
+ | |{{{URL}}} | ||
+ | |{{ | ||
+ | #if: {{{DOI|}}} | ||
+ | |http://dx.doi.org/{{urlencode:{{{DOI}}}}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
| 2={{ | | 2={{ | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
Line 222: | Line 230: | ||
#if: {{{Title|}}} | #if: {{{Title|}}} | ||
|"{{Link | |"{{Link | ||
− | | 1={{{URL|}}} | + | | 1={{ |
+ | #if: {{{IncludedWorkTitle|}}} | ||
+ | |{{ | ||
+ | #if: {{{IncludedWorkURL|}}} | ||
+ | |{{{URL|}}} | ||
+ | }} | ||
+ | |{{ | ||
+ | #if: {{{URL|}}} | ||
+ | |{{{URL}}} | ||
+ | |{{ | ||
+ | #if: {{{DOI|}}} | ||
+ | |http://dx.doi.org/{{urlencode:{{{DOI}}}}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
| 2={{{Title}}} | | 2={{{Title}}} | ||
}}",  | }}",  | ||
Line 273: | Line 295: | ||
}} | }} | ||
}}''{{Link | }}''{{Link | ||
− | | 1={{{URL|}}} | + | | 1={{ |
+ | #if: {{{IncludedWorkTitle|}}} | ||
+ | |{{ | ||
+ | #if: {{{IncludedWorkURL|}}} | ||
+ | |{{{URL|}}} | ||
+ | }} | ||
+ | |{{ | ||
+ | #if: {{{URL|}}} | ||
+ | |{{{URL}}} | ||
+ | |{{ | ||
+ | #if: {{{DOI|}}} | ||
+ | |http://dx.doi.org/{{urlencode:{{{DOI}}}}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
| 2={{{Title}}} | | 2={{{Title}}} | ||
}}''{{ | }}''{{ | ||
Line 345: | Line 381: | ||
#if: {{{DOI|}}} | #if: {{{DOI|}}} | ||
|{{ | |{{ | ||
− | # | + | #if: {{{URL|}}}{{{IncludedWorkURL|}}} |
− | + | |, [[Digital object identifier|DOI]]:[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{{DOI}}}] | |
− | |, [[Digital object identifier|DOI]]:[{{{ | + | |
}} | }} | ||
}}{{ | }}{{ |
Revision as of 00:21, 5 September 2007