Array

Template:FAIRWiki-Reference template code demo: Difference between revisions

mNo edit summary
mNo edit summary
Line 5: Line 5:
3) Start only: John Doe, ''Funky Book Title'' (Acme Co.){{#if:{{{end|}}}|, {{{start}}}–{{{end}}}.|{{#if:{{{start|}}}|, {{{start}}}.}}}}
3) Start only: John Doe, ''Funky Book Title'' (Acme Co.){{#if:{{{end|}}}|, {{{start}}}–{{{end}}}.|{{#if:{{{start|}}}|, {{{start}}}.}}}}


4) Pages (final): John Doe, ''Funky Book Title'' (Acme Co.){{#if:{{{end|}}}|, {{{start}}}–{{{end}}}.|{{#if:{{{start|}}}|, {{{start}}}.}}|#if:{{{pages}}}|, {{{pages}}}.}}
4) Pages (final): John Doe, ''Funky Book Title'' (Acme Co.){{#if:{{{end|}}}|, {{{start}}}–{{{end}}}.|{{#if:{{{start|}}}|, {{{start}}}.}}|{{#if:{{{pages}}}|, {{{pages}}}.}}
----
----
{{#if:{{{start|}}}|Start exists: {{{start}}}|Start does not exist}}
{{#if:{{{start|}}}|Start exists: {{{start}}}|Start does not exist}}

Revision as of 03:00, 23 April 2010

1) Initial: John Doe, Funky Book Title (Acme Co.), {{{start}}}–{{{end}}}.

2) Start and finish: John Doe, Funky Book Title (Acme Co.)

3) Start only: John Doe, Funky Book Title (Acme Co.)

4) Pages (final): John Doe, Funky Book Title (Acme Co.){{#if:|, {{{start}}}–{{{end}}}.||, {{{pages}}}.


Start does not exist