Template:Cite book: Difference between revisions
From All Skies Encyclopaedia
imported>Ligulem (Reverted. We need backwards compatibility with book reference. Please discuss on talk before making such major changes compared to book reference. Thanks.) |
imported>Ligulem (Removing id attribute of <cite> tag. See talk) |
||
Line 1: | Line 1: | ||
<cite style="font-style:normal" |
<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 |