Array

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

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


3) Start only: 2) Start and finish: John Doe, ''Funky Book Title'' (Acme Co.){{#if:{{{end|}}}|, {{{start}}}–{{{end}}}.|{{#if:{{{start|}}}|, {{{start}}}.}}}}}}
3) Start only: 2) Start and finish: John Doe, ''Funky Book Title'' (Acme Co.){{#if:{{{end|}}}|, {{{start}}}–{{{end}}}.|{{#if:{{{start|}}}|, {{{start}}}.}}}}


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

Revision as of 02:55, 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: 2) Start and finish: John Doe, Funky Book Title (Acme Co.)

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


Start does not exist