Difference between revisions of "Template:Citation/core"
From Self-sufficiency
(Show DOI in print version, even if there is no URL.) |
(Reflect moving DOI-URL issue to Template:Citation. Simplifies code.) |
||
Line 128: | Line 128: | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
|{{ | |{{ | ||
− | #if:{{{Surname1|}}}{{{EditorSurname1|}}} | + | #if:{{{Surname1|}}} |
− | + | |{{ | |
+ | #if: {{{EditorSurname1|}}} | ||
+ | |,  | ||
+ | }} | ||
}}{{Link | }}{{Link | ||
− | | 1= | + | | 1={{{IncludedWorkURL|}}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
| 2={{ | | 2={{ | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
Line 230: | Line 222: | ||
#if: {{{Title|}}} | #if: {{{Title|}}} | ||
|"{{Link | |"{{Link | ||
− | | 1= | + | | 1={{{URL|}}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
| 2={{{Title}}} | | 2={{{Title}}} | ||
}}",  | }}",  | ||
Line 295: | Line 273: | ||
}} | }} | ||
}}''{{Link | }}''{{Link | ||
− | | 1= | + | | 1={{{URL|}}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
| 2={{{Title}}} | | 2={{{Title}}} | ||
}}''{{ | }}''{{ | ||
Line 381: | Line 345: | ||
#if: {{{DOI|}}} | #if: {{{DOI|}}} | ||
|{{ | |{{ | ||
− | # | + | #ifeq: {{{URL|}}} | {{{DOIURL|}}} |
− | + | ||
|<span class="printonly">, DOI {{{DOI}}}</span> | |<span class="printonly">, DOI {{{DOI}}}</span> | ||
+ | |, [[Digital object identifier|DOI]]:[{{{DOIURL}}} {{{DOI}}}] | ||
}} | }} | ||
}}{{ | }}{{ |
Revision as of 23:36, 4 September 2007