Cite web: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
Undid revision 291719082 by TKD (talk): breaks "|page= |pages=3-4" case
better implementation of "at" param that doesn't break empty page param and filled pages param
Line 45: Line 45:
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
   |Title={{{work|}}}
   |Title={{{work|}}}
   |At = {{#if:{{{page|}}}|{{{page}}}|{{{pages|}}}}}
   |At = {{#if:{{{page|}}}|{{{page}}}|{{#if:{{{pages|}}|{{{pages|}}}|{{{at|}}} }} }}
   |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|<span class="error">Error: no {{para|title}} specified when using {{tl|cite web}}</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}|<span class="error">Error: no {{para|url}} specified when using {{tl|cite web}}</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
   |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|<span class="error">Error: no {{para|title}} specified when using {{tl|cite web}}</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}|<span class="error">Error: no {{para|url}} specified when using {{tl|cite web}}</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
   |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
   |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}

Revision as of 00:16, 23 May 2009