Cite book: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
(revert. Only lower case parameters please. I haven't done all the hard work to convert to lower case everything to open this wormbox again. Thanks!)
(convert to {{#if:}})
Line 1: Line 1:
<cite class="book" style="font-style:normal">{{qif
<cite class="book" style="font-style:normal">{{#if:
   |test={{{author|{{{last|}}}}}}
   {{{author|{{{last|}}}}}}
   |then={{qif
   |{{#if:
     |test={{{authorlink|}}}
     {{{authorlink|}}}
     |then=[[{{{authorlink}}}|{{qif
     |[[{{{authorlink}}}|{{#if:
       |test={{{last|}}}
       {{{last|}}}
       |then={{{last}}}{{qif
       |{{{last}}}{{#if:
         |test={{{first|}}}
         {{{first|}}}
         |then=, {{{first}}}
         |, {{{first}}}
       }}
       }}
       |else={{{author}}}
       |{{{author}}}
     }}]]
     }}]]
     |else={{qif
     |{{#if:
       |test={{{last|}}}
       {{{last|}}}
       |then={{{last}}}{{qif
       |{{{last}}}{{#if:
         |test={{{first|}}}
         {{{first|}}}
         |then=, {{{first}}}
         |, {{{first}}}
       }}
       }}
       |else={{{author}}}
       |{{{author}}}
     }}
     }}
   }}
   }}
}}{{qif
}}{{#if:
   |test={{{author|{{{last|}}}}}}
   {{{author|{{{last|}}}}}}
   |then={{qif
   |{{#if:
     |test={{{coauthors|}}}
     {{{coauthors|}}}
     |then=<nowiki>;</nowiki>&#32;{{{coauthors}}}
     |<nowiki>;</nowiki>&#32;{{{coauthors}}}
   }}
   }}
}}{{qif
}}{{#if:
   |test={{{origdate|}}}
   {{{origdate|}}}
   |then=&#32;<nowiki>[</nowiki>{{{origdate}}}]
   |&#32;<nowiki>[</nowiki>{{{origdate}}}]
   |else={{qif
   |{{#if:
     |test={{{origyear|}}}
     {{{origyear|}}}
     |then={{qif
     |{{#if:
       |test={{{origmonth|}}}
       {{{origmonth|}}}
       |then=&#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
       |&#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
       |else=&#32;<nowiki>[</nowiki>{{{origyear}}}]
       |&#32;<nowiki>[</nowiki>{{{origyear}}}]
     }}
     }}
   }}
   }}
}}{{qif
}}{{#if:
   |test={{{date|}}}
   {{{date|}}}
   |then=&#32;({{{date}}})
   |&#32;({{{date}}})
   |else={{qif
   |{{#if:
     |test={{{year|}}}
     {{{year|}}}
     |then={{qif
     |{{#if:
       |test={{{month|}}}
       {{{month|}}}
       |then=&#32;({{{month}}} {{{year}}})
       |&#32;({{{month}}} {{{year}}})
       |else=&#32;({{{year}}})
       |&#32;({{{year}}})
     }}
     }}
   }}
   }}
}}{{qif
}}{{#if:
   |test={{{author|{{{last|}}}}}}
   {{{author|{{{last|}}}}}}
   |then=.
   |.
}}{{qif
}}{{#if:
   |test={{{chapter|}}}
   {{{chapter|}}}
   |then=&#32;“{{qif
   |&#32;“{{#if:
   |test={{{chapterurl|}}}
   {{{chapterurl|}}}
   |then=[{{{chapterurl}}} {{{chapter}}}]
   |[{{{chapterurl}}} {{{chapter}}}]
   |else={{{chapter}}}
   |{{{chapter}}}
}}”,}}{{qif
}}”,}}{{#if:
   |test={{{editor|}}}
   {{{editor|}}}
   |then=&#32;{{{editor}}}
   |&#32;{{{editor}}}
}} ''{{qif
}} ''{{#if:
   |test={{{url|}}}
   {{{url|}}}
   |then=[{{{url}}} {{{title}}}]
   |[{{{url}}} {{{title}}}]
   |else={{{title}}}
   |{{{title}}}
}}''{{qif
}}''{{#if:
   |test={{{format|}}}
   {{{format|}}}
   |then=&#32;({{{format}}})
   |&#32;({{{format}}})
}}{{qif
}}{{#if:
   |test={{{others|}}}
   {{{others|}}}
   |then=, {{{others}}}
   |, {{{others}}}
}}{{qif
}}{{#if:
   |test={{{edition|}}}
   {{{edition|}}}
   |then=, {{{edition}}}
   |, {{{edition}}}
}}{{qif
}}{{#if:
   |test={{{language|}}}
   {{{language|}}}
   |then=&#32;(in {{{language}}})
   |&#32;(in {{{language}}})
}}{{qif
}}{{#if:
   |test={{{pages|}}}
   {{{pages|}}}
   |then=,&#32;{{{pages}}}
   |,&#32;{{{pages}}}
}}{{qif
}}{{#if:
   |test={{{publisher|}}}
   {{{publisher|}}}
   |then=, {{qif
   |, {{#if:
     |test={{{location|}}}
     {{{location|}}}
     |then={{{location}}}:&#32;
     |{{{location}}}:&#32;
   }}{{{publisher}}}
   }}{{{publisher}}}
}}{{qif
}}{{#if:
   |test={{{id|}}}
   {{{id|}}}
   |then=. {{{id}}}
   |. {{{id}}}
}}{{qif
}}{{#if:
   |test={{{accessdate|}}}
   {{{accessdate|}}}
   |then=. URL accessed [[{{{accessdate}}}]]
   |. URL accessed [[{{{accessdate}}}]]
   |else={{qif
   |{{#if:
     |test={{{accessyear|}}}
     {{{accessyear|}}}
     |then=. URL accessed {{qif
     |. URL accessed {{#if:
       |test={{{accessmonth|}}}
       {{{accessmonth|}}}
       |then=on [[{{{accessmonth}}} {{{accessyear}}}]]
       |on [[{{{accessmonth}}} {{{accessyear}}}]]
       |else=during [[{{{accessyear}}}]]
       |during [[{{{accessyear}}}]]
     }}
     }}
   }}
   }}
}}.{{qif
}}.{{#if:
   |test={{{quote|}}}
   {{{quote|}}}
   |then=&nbsp;“{{{quote}}}”
   |&nbsp;“{{{quote}}}”
}}</cite><noinclude>
}}</cite><noinclude>



Revision as of 17:00, 15 April 2006