Difference between revisions of "Template:Cite"
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}}}). | | noauth = ''{{{title}}}'' ({{{date}}}). <!-- No author set --> | ||
| nodate = {{{auth}}}. ''{{{title}}}''. | | 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}}}''. | | noauthnotitle = ({{{date}}}). [{{{desc}}}]. <!-- No author nor title set --> | ||
| noauthnotitle = ({{{date}}}). [{{{desc}}}]. | | nodatenotitle = {{{auth}}}. [{{{desc}}}]. <!-- No date nor title set --> | ||
| nodatenotitle = {{{auth}}}. [{{{desc}}}]. | |||
| = {{{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}}}]. | ||
| #default = | | #default = | ||
}}</includeonly>{{#ifeq:{{{type}}} | int | [''[[{{{doc}}} {{vb}}Verify this source]]'']}} | }}</includeonly>{{#ifeq:{{{type}}} | int | [''[[{{{doc}}} {{vb}}Verify this source]]'']}} |
Revision as of 14:41, 9 January 2011
Here be a reference template with lots of cases depending on the variables set.