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

m
m
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: John Doe, ''Funky Book Title'' (Acme Co.), {{{start}}}–{{{end}}}.
+
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 19:55, 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: 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