Difference between revisions of "Template:Cite"
Jump to navigation
Jump to search
m (Add some speeece) |
m (Removed extraneous ., added (included) space, moved includeonly terminating tag) |
||
Line 7: | Line 7: | ||
| 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}}}]. <!-- 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}}}]. <!-- No author nor title set --> | ||
Line 16: | Line 16: | ||
-->{{ | -->{{ | ||
#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 = | ||
}} | }}{{#ifeq:{{{type}}} | int |  [''[[{{{doc}}} {{vb}}Verify this source]]'']}}</includeonly> |
Revision as of 14:48, 9 January 2011
Here be a reference template with lots of cases depending on the variables set.