Difference between revisions of "Template:Cite"
Jump to navigation
Jump to search
m |
m (Argh) |
||
Line 1: | Line 1: | ||
<!-- WTF is wrong with this logic --> | |||
If auth,date,title entered, case NULL | |||
If auth,date entered, condition and case are notitle | |||
...etc. | |||
--> | |||
{{#switch: {{{auth|noauth}}}{{{date|nodate}}}{{{title|notitle}} | {{#switch: {{{auth|noauth}}}{{{date|nodate}}}{{{title|notitle}} | ||
| noauth = ''{{{title}}}''. ({{{date}}}). | | noauth = ''{{{title}}}''. ({{{date}}}). | ||
Line 5: | Line 12: | ||
| noauthnodate = ''{{{title}}}''. | | noauthnodate = ''{{{title}}}''. | ||
| noauthnotitle = ({{{date}}}). | | noauthnotitle = ({{{date}}}). | ||
| nodatenotitle = | | nodatenotitle = Auth has been entered | ||
|    = {{{auth}}}. ({{{date}}}). ''{{{title}}}''. | |    = {{{auth}}}. ({{{date}}}). ''{{{title}}}''. | ||
| = {{{auth}}}. ({{{date}}}). ''{{{title}}}''. | | = {{{auth}}}. ({{{date}}}). ''{{{title}}}''. |
Revision as of 03:13, 9 January 2011
If auth,date,title entered, case NULL
If auth,date entered, condition and case are notitle
...etc.
-->
{{{auth}}} entered
{{{date}}} entered
{{{title}}} entered