Difference between revisions of "Template:Cite"

MuseWiki, wiki for the band Muse
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}}}].                                           <!-- No title set -->
     | 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}}}].                                                       <!-- No author nor title set -->
     | noauthnotitle      = ({{{date}}}). [{{{desc |'''Description missing'''}}}].                             <!-- No author nor title set -->
     | nodatenotitle      = {{{auth}}}. [{{{desc}}}].                                                         <!-- No date nor title set -->
     | nodatenotitle      = {{{auth}}}. [{{{desc |'''Description missing'''}}}].                               <!-- No date nor title set -->
     | noauthnodatenotitle = [{{{desc |'''Description missing'''}}}].                                                                     <!-- None set, so print description -->
     | 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 13:19, 2 February 2011


Here be a reference template with lots of cases depending on the variables set.