Template:Cite web: Difference between revisions

    m>Luna Santin
    (span doesn't seem to need a specified position, is apparently causing faulty display in IE)
    m>Omegatron
    (add parameter list when no parameters entered, as per talk (certainly subject to re-formatting or whatever))
    Line 1: Line 1:
    <includeonly>{{
    <includeonly>{{
    #if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
    #if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
       ||Error on call to [[Template:cite web]]: Parameters '''url''' and '''title''' must be specified
       ||<div style="border:1px solid red; background-color:#ffdab9; display:table;">
    You must specify  '''''title = ''''' and '''''url = ''''' when using {{tl|cite web}}.  Available parameters:
    {{Cite web/doc/parameterlist}}
    </div>
    [[Category:Articles with broken citations]]
    }}{{
    }}{{
    #if: {{{archiveurl|}}}{{{archivedate|}}}  
    #if: {{{archiveurl|}}}{{{archivedate|}}}  
       | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
       | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
         ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted
         ||<div style="border:1px solid red; background-color:#ffdab9; display:table;">
    You must specify '''''archiveurl=''''' and '''''archivedate=''' when using {{tl|cite web}}.  Available parameters:
    {{Cite web/doc/parameterlist}}
    </div>
    [[Category:Articles with broken citations]]
    }}
    }}
    }}{{#if: {{{author|}}}{{{last|}}}
    }}{{#if: {{{author|}}}{{{last|}}}