Template:Cite book: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Gracefool
(updated from User:Gracefool/cite book)
meta>Gracefool
(rv)
Line 1: Line 1:
<cite class="book" style="font-style:normal">{{qif
<cite style="font-style:normal">{{qif
   |test={{{last|}}}
   |test={{{authorlink|}}}
   |then={{qif
   |then={{wikilink
     |test={{{authorlink|}}}
     |1={{{authorlink}}}
     |then={{wikilink
     |2={{qif
      |1={{{authorlink}}}
      |test={{{author|}}}
      |2={{qif
      |then={{{author}}}
        |test={{{last|}}}
       |else={{{last|}}}{{qif
        |then={{{last}}}{{qif
          |test={{{first|}}}
          |then=, {{{first}}}
        }}
        |else={{{author}}}
       }}
    }}
    |else={{qif
      |test={{{last|}}}
      |then={{{last}}}{{qif
         |test={{{first|}}}
         |test={{{first|}}}
         |then=, {{{first}}}
         |then=, {{{first}}}
Line 22: Line 12:
     }}
     }}
   }}
   }}
}}{{qif
  |test={{{last|}}}}
  |then={{qif
    |test={{{coauthors|}}}
    |then=, {{{coauthors}}}
  }}
}}{{qif
  |test={{{origdate|}}}
  |then=&#32;<nowiki>[</nowiki>[[{{{origdate}}}]]]
   |else={{qif
   |else={{qif
     |test={{{origyear|}}}
     |test={{{author|}}}
     |then={{qif
     |then={{{author}}}
      |test={{{origmonth|}}}
    |else={{{last|}}}{{qif
       |then=&#32;<nowiki>[</nowiki>[[{{{origmonth}}} {{{origyear}}}]]]
       |test={{{first|}}}
       |else=&#32;<nowiki>[</nowiki>[[{{{origyear}}}]]]
       |then=, {{{first}}}
     }}
     }}
   }}
   }}
}}{{qif
  |test={{{coauthors|}}}
  |then=<nowiki>,</nowiki> {{{coauthors}}}
}}{{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}}})
     }}
     }}
   }}
   }}
}}{{qif
}}{{qif
   |test={{{last|}}}
   |test={{{author|{{{last|{{{year|}}}}}}}}}
   |then=.
   |then=.
}}{{qif
}}{{qif
Line 63: Line 47:
   |then=&#32;{{{editor}}}
   |then=&#32;{{{editor}}}
}} ''{{qif
}} ''{{qif
   |test={{{url|}}}
   |test={{{link|}}}
  |then=[{{{url}}} {{{title}}}]
  |then={{wikilink
  |else={{{title}}}
    |1={{{link}}}
    |2={{{title}}}
    }}
  |else={{qif
    |test={{{url|}}}
    |then=[{{{url}}} {{{title}}}]
    |else={{{title}}}
  }}
}}''{{qif
}}''{{qif
   |test={{{format|}}}
   |test={{{link|}}}
  |then=&#32;({{{format}}})
  |then=
  |else={{qif
    |test={{{format|}}}
    |then=&#32;({{{format}}})
  }}
}}{{qif
}}{{qif
   |test={{{others|}}}
   |test={{{others|}}}
Line 75: Line 70:
   |test={{{edition|}}}
   |test={{{edition|}}}
   |then=, {{{edition}}}
   |then=, {{{edition}}}
}}{{qif
  |test={{{language|}}}
  |then=&#32;(in {{{language}}})
}}{{qif
}}{{qif
   |test={{{pages|}}}
   |test={{{pages|}}}
Line 91: Line 83:
   |then=. {{{id}}}
   |then=. {{{id}}}
}}{{qif
}}{{qif
   |test={{{accessdate|}}}
   |test={{{link|}}}
   |then=. URL accessed [[{{{accessdate}}}]]
   |then=
   |else={{qif
   |else={{qif
     |test={{{accessyear|}}}
     |test={{{accessdate|}}}
     |then=. URL accessed {{qif
     |then=. URL accessed {{{accessdate}}}
       |test={{{accessmonth|}}}
    |else={{qif
      |then=on [[{{{accessmonth}}} {{{accessyear}}}]]
       |test={{{accessyear|}}}
      |else=during [[{{{accessyear}}}]]
      |then=. URL accessed {{qif
        |test={{{accessmonth|}}}
        |then=on {{{accessmonth}}} {{{accessyear}}}
        |else=during {{{accessyear}}}
      }}
     }}
     }}
   }}
   }}

Revision as of 03:18, 20 February 2006