Jump to content

Template:Cite book: Difference between revisions

Removing id attribute of <cite> tag. See talk
m>Ligulem
(Reverted. We need backwards compatibility with book reference. Please discuss on talk before making such major changes compared to book reference. Thanks.)
m>Ligulem
(Removing id attribute of <cite> tag. See talk)
Line 1: Line 1:
<cite style="font-style:normal" {{qif
<cite style="font-style:normal">{{qif
  |test={{{ref}}}
  |then={{qif
      |test={{booleq
            |{{{ref}}}
            |none
          }}
      |then=
      |else=id="{{{ref}}}"
    }}
  |else={{qif
    |test={{booland
      |1={{{last|}}}
      |2={{{year|}}}
    }}
    |then=id="Reference-{{{last}}}-{{{year}}}"
  }}
}}
}}>{{qif
   |test={{{authorlink|}}}
   |test={{{authorlink|}}}
   |then={{wikilink
   |then={{wikilink
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.