Difference between revisions of "Template:Cite"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m
m (Add some speeece)
Line 4: Line 4:


</noinclude><includeonly>{{
</noinclude><includeonly>{{
#switch: {{#if:{{{auth|}}}||noauth}}{{#if:{{{date|}}}||nodate}}{{#if:{{{notitle|}}}||notitle}}
#switch: {{#if:{{{auth |}}} | | noauth}}{{#if:{{{date |}}} | | nodate}}{{#if:{{{notitle |}}} | | notitle}}
| 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}}}]..                                           <!-- No title set -->
| nofetch = {{{auth}}}. ({{{date}}}). ''{{{title}}}''.                                                    <!-- No retrieval date 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}}}].                                                             <!-- No author nor title set -->
| nodatenotitle     = {{{auth}}}. [{{{desc}}}].                                                         <!-- No date nor title set -->
| nodatenotitle = {{{auth}}}. [{{{desc}}}].                                                               <!-- No date nor title set -->
|  = {{{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 -->
}}<!--
}}<!--
-->{{
-->{{
#switch: {{#if:{{{fetch|}}}||nofetch}}{{#if:{{{url|}}}||nourl}}
#switch: {{#if:{{{fetch |}}} | | nofetch}}{{#if:{{{url |}}} | | nourl}}
| nofetch = Retrieved from [{{{url}}} {{{dom|Crikey. Need a domain here, kthnxbye}}}].
| nofetch   = Retrieved from [{{{url}}} {{{dom |Crikey. Need a domain here, kthnxbye}}}].
| nourl = Retrieved {{{date}}}.
| nourl     = Retrieved {{{date}}}.
| = Retrieved {{{date}}} from [{{{url}}} {{{dom}}}].
|           = Retrieved {{{date}}} from [{{{url}}} {{{dom}}}].
| #default =  
| #default   =  
}}</includeonly>{{#ifeq:{{{type}}} | int | [''[[{{{doc}}} {{vb}}Verify this source]]'']}}
}}</includeonly>{{#ifeq:{{{type}}} | int | [''[[{{{doc}}} {{vb}}Verify this source]]'']}}

Revision as of 15:41, 9 January 2011


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