Difference between revisions of "Template:Cite"
Jump to navigation
Jump to search
m (Accommodated two authors) |
(fixed previous revision--needed encoded space) |
||
Line 12: | Line 12: | ||
| nodate = {{#ifeq:{{{med}}} | magazine <!-- ------------- --> | | nodate = {{#ifeq:{{{med}}} | magazine <!-- ------------- --> | ||
| {{{auth}}}{{#if:{{{auth2 |}}} <!-- ----------- --> | | {{{auth}}}{{#if:{{{auth2 |}}} <!-- ----------- --> | ||
| & {{{auth2}}} <!-- ----------- --> | |  & {{{auth2}}} <!-- ----------- --> | ||
}}. {{{title}}} <!-- ----------- --> | }}. {{{title}}} <!-- ----------- --> | ||
| {{{auth}}}{{#if:{{{auth2 |}}} <!-- No date set --> | | {{{auth}}}{{#if:{{{auth2 |}}} <!-- No date set --> | ||
| & {{{auth2}}} <!-- ----------- --> | |  & {{{auth2}}} <!-- ----------- --> | ||
}}. ''{{{title}}}''. <!-- ----------- --> | }}. ''{{{title}}}''. <!-- ----------- --> | ||
}} <!-- ----------- --> | }} <!-- ----------- --> | ||
| notitle = {{{auth}}}{{#if:{{{auth2 |}}} <!-- ------------ --> | | notitle = {{{auth}}}{{#if:{{{auth2 |}}} <!-- ------------ --> | ||
| & {{{auth2}}} <!-- No title set --> | |  & {{{auth2}}} <!-- No title set --> | ||
}}. ({{{date}}}). [{{{desc |'''Description missing'''}}}]. <!-- ------------ --> | }}. ({{{date}}}). [{{{desc |'''Description missing'''}}}]. <!-- ------------ --> | ||
| noauthnodate = {{#ifeq:{{{med}}} | magazine <!-- ---------------------- --> | | noauthnodate = {{#ifeq:{{{med}}} | magazine <!-- ---------------------- --> | ||
Line 27: | Line 27: | ||
| noauthnotitle = ({{{date}}}). [{{{desc |'''Description missing'''}}}]. <!-- No author nor title set --> | | noauthnotitle = ({{{date}}}). [{{{desc |'''Description missing'''}}}]. <!-- No author nor title set --> | ||
| nodatenotitle = {{{auth}}}{{#if:{{{auth2 |}}} <!-- --------------------- --> | | nodatenotitle = {{{auth}}}{{#if:{{{auth2 |}}} <!-- --------------------- --> | ||
| & {{{auth2}}} <!-- No date nor title set --> | |  & {{{auth2}}} <!-- No date nor title set --> | ||
}}. [{{{desc |'''Description missing'''}}}]. <!-- --------------------- --> | }}. [{{{desc |'''Description missing'''}}}]. <!-- --------------------- --> | ||
| noauthnodatenotitle = [{{{desc |'''Description missing'''}}}]. <!-- None set, so print description --> | | noauthnodatenotitle = [{{{desc |'''Description missing'''}}}]. <!-- None set, so print description --> | ||
| = {{#ifeq:{{{med}}} | magazine <!-- -------------------- --> | | = {{#ifeq:{{{med}}} | magazine <!-- -------------------- --> | ||
| {{{auth}}}{{#if:{{{auth2 |}}} <!-- -------------------- --> | | {{{auth}}}{{#if:{{{auth2 |}}} <!-- -------------------- --> | ||
| & {{{auth2}}} <!-- -------------------- --> | |  & {{{auth2}}} <!-- -------------------- --> | ||
}}. ({{{date}}}). {{{title}}}. <!-- All's fine and dandy --> | }}. ({{{date}}}). {{{title}}}. <!-- All's fine and dandy --> | ||
| {{{auth}}}{{#if:{{{auth2 |}}} <!-- -------------------- --> | | {{{auth}}}{{#if:{{{auth2 |}}} <!-- -------------------- --> | ||
| & {{{auth2}}} <!-- -------------------- --> | |  & {{{auth2}}} <!-- -------------------- --> | ||
}}. ({{{date}}}). ''{{{title}}}''. <!-- -------------------- --> | }}. ({{{date}}}). ''{{{title}}}''. <!-- -------------------- --> | ||
}} <!-- -------------------- --> | }} <!-- -------------------- --> |
Revision as of 15:50, 30 April 2011
Here be a reference template with lots of cases depending on the variables set.