Template:Cite web: Difference between revisions
Refactoring. I believe this coding is easier to understand.
m>Ligulem (Fixed a bug with ":". This is getting nasty) |
m>Ligulem (Refactoring. I believe this coding is easier to understand.) |
||
Line 34: | Line 34: | ||
}}{{#if: {{{pages|}}} | }}{{#if: {{{pages|}}} | ||
|  pp. {{{pages}}} | |  pp. {{{pages}}} | ||
}}{{#if: {{{author|}}}{{{last|}}} | }}{{#if: {{{author|}}}{{{last|}}} | ||
| {{#if: {{{publisher|}}} | . }} | | {{#if: {{{publisher|}}} |  {{{publisher}}}. }} | ||
| {{#if: {{{ | | {{#if: {{{date|}}} | ||
| {{#if: {{{ | | {{#if: {{{publisher|}}} |  {{{publisher}}}: }} {{{date}}}. | ||
| {{#if: {{{year|}}} | | {{#if: {{{year|}}} | ||
| {{#if: {{{month|}}} | | {{#if: {{{month|}}} | ||
|  {{{month}}} {{{year}}}. | | {{#if: {{{publisher|}}} |  {{{publisher}}}: }} {{{month}}} {{{year}}}. | ||
|  {{{year}}}. | | {{#if: {{{publisher|}}} |  {{{publisher}}}: }} {{{year}}}. | ||
}} | }} | ||
}} | }} |