Jump to content

Template:Cite web: Difference between revisions

transplant {{{author}}} handling from {{cite book}}
m>Phil Boswell
(removing extraneous full-stop: there's one too many somewhere)
m>Phil Boswell
(transplant {{{author}}} handling from {{cite book}})
Line 5: Line 5:
     }}
     }}
   |then=Error on call to [[template:cite web]]: Parameters '''url''' and '''title''' must be specified 
   |then=Error on call to [[template:cite web]]: Parameters '''url''' and '''title''' must be specified 
}}</includeonly>{{{author|}}}{{qif
}}</includeonly>{{qif
  |test={{{author|{{{last|}}}}}}
  |then={{qif
    |test={{{authorlink|}}}
    |then=[[{{{authorlink}}}|{{qif
      |test={{{last|}}}
      |then={{{last}}}{{qif
        |test={{{first|}}}
        |then=, {{{first}}}
      }}
      |else={{{author}}}
    }}]]
    |else={{qif
      |test={{{last|}}}
      |then={{{last}}}{{qif
        |test={{{first|}}}
        |then=, {{{first}}}
      }}
      |else={{{author}}}
    }}
  }}
}}{{qif
  |test={{{author|{{{last|}}}}}}
  |then={{qif
    |test={{{coauthors|}}}
    |then=, {{{coauthors}}}
  }}
}}{{qif
   |test={{{year|}}}
   |test={{{year|}}}
   |then=&#32;({{{year|}}})
   |then=&#32;({{{year|}}})
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.