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

m
m
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 21:00, 22 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