Jump to content

Template:Cite book: Difference between revisions

rm wikilinking of year, month, date, origyear, origmonth and origdate. See talk
m>Gracefool
(updated from User:Gracefool/cite book)
m>Ligulem
(rm wikilinking of year, month, date, origyear, origmonth and origdate. See talk)
Line 31: Line 31:
}}{{qif
}}{{qif
   |test={{{origdate|}}}
   |test={{{origdate|}}}
   |then=&#32;<nowiki>[</nowiki>[[{{{origdate}}}]]]
   |then=&#32;<nowiki>[</nowiki>{{{origdate}}}]
   |else={{qif
   |else={{qif
     |test={{{origyear|}}}
     |test={{{origyear|}}}
     |then={{qif
     |then={{qif
       |test={{{origmonth|}}}
       |test={{{origmonth|}}}
       |then=&#32;<nowiki>[</nowiki>[[{{{origmonth}}} {{{origyear}}}]]]
       |then=&#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
       |else=&#32;<nowiki>[</nowiki>[[{{{origyear}}}]]]
       |else=&#32;<nowiki>[</nowiki>{{{origyear}}}]
     }}
     }}
   }}
   }}
}}{{qif
}}{{qif
   |test={{{date|}}}
   |test={{{date|}}}
   |then=&#32;([[{{{date}}}]])
   |then=&#32;({{{date}}})
   |else={{qif
   |else={{qif
     |test={{{year|}}}
     |test={{{year|}}}
     |then={{qif
     |then={{qif
       |test={{{month|}}}
       |test={{{month|}}}
       |then=&#32;([[{{{month}}} {{{year}}}]])
       |then=&#32;({{{month}}} {{{year}}})
       |else=&#32;([[{{{year}}}]])
       |else=&#32;({{{year}}})
     }}
     }}
   }}
   }}
Line 108: Line 108:
{{esoteric}}
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Citation templates|{{PAGENAME}}]]
[[sk:Šablóna:Knižná_referencia]]
[[sk:Šablóna:Knižná_referencia]]
</noinclude>
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.