Template:Cite web: Difference between revisions

    m>JHunterJ
    (change the accessdate logic, copied from cite news)
    m>Smith609
    (Update error messages per talk page)
    Line 46: Line 46:
       |Title={{{work|}}}
       |Title={{{work|}}}
       |At = {{#if:{{{page|}}}|{{{page}}}|{{{pages|}}}}}
       |At = {{#if:{{{page|}}}|{{{page}}}|{{{pages|}}}}}
       |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|No {{para|title}} specified{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}|You must specify {{para|url}} when using {{tl|cite web}}{{#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|}}}}}
       |Place = {{{location|}}}
       |Place = {{{location|}}}