Cite web: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
(removing extraneous full-stop: there's one too many somewhere)
(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|}}})

Revision as of 14:37, 2 March 2006