Difference between revisions of "Template:Cite"
Jump to navigation
Jump to search
(Print "[Description missing]" if even desc is unset) |
m (Same here) |
||
Line 8: | Line 8: | ||
| noauth = ''{{{title}}}'' ({{{date}}}). <!-- No author set --> | | noauth = ''{{{title}}}'' ({{{date}}}). <!-- No author set --> | ||
| nodate = {{{auth}}}. ''{{{title}}}''. <!-- No date set --> | | nodate = {{{auth}}}. ''{{{title}}}''. <!-- No date set --> | ||
| notitle = {{{auth}}}. ({{{date}}}). [{{{desc}}}]. | | notitle = {{{auth}}}. ({{{date}}}). [{{{desc |'''Description missing'''}}}]. <!-- No title set --> | ||
| noauthnodate = ''{{{title}}}''. <!-- No author nor date set --> | | noauthnodate = ''{{{title}}}''. <!-- No author nor date set --> | ||
| noauthnotitle = ({{{date}}}). [{{{desc}}}]. | | noauthnotitle = ({{{date}}}). [{{{desc |'''Description missing'''}}}]. <!-- No author nor title set --> | ||
| nodatenotitle = {{{auth}}}. [{{{desc}}}]. | | nodatenotitle = {{{auth}}}. [{{{desc |'''Description missing'''}}}]. <!-- No date nor title set --> | ||
| noauthnodatenotitle = [{{{desc |'''Description missing'''}}}]. | | noauthnodatenotitle = [{{{desc |'''Description missing'''}}}]. <!-- None set, so print description --> | ||
| = {{{auth}}}. ({{{date}}}). ''{{{title}}}''. <!-- All's fine and dandy --> | | = {{{auth}}}. ({{{date}}}). ''{{{title}}}''. <!-- All's fine and dandy --> | ||
| #default = Say, my good chap. Have you checked the validity of your arguments? <!-- Brain fart --> | | #default = Say, my good chap. Have you checked the validity of your arguments? <!-- Brain fart --> |
Revision as of 12:19, 2 February 2011
Here be a reference template with lots of cases depending on the variables set.