Template:Citation: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ligulem
(leftover)
m (2 revisions imported)
 
(122 intermediate revisions by 42 users not shown)
Line 1: Line 1:
'''FOR TESTING ONLY'''
<includeonly>{{#invoke:citation/CS1|citation
<cite style="font-style:normal">{{qif
|CitationClass=citation
  |test={{{surname|{{{last|{{{surname1|{{{last1|{{{author|{{{author1}}}}}}}}}}}}}}}}}}
}}</includeonly><noinclude>
  |then={{qif
{{Documentation}}
    |test={{{authorlink|{{{authorlink1|}}}}}}
    |then={{wikilink
        |1={{{authorlink1|{{{authorlink}}}}}}
        |2={{{author1|{{{author
            |{{{surname1|{{{last1|{{{surname|{{{last}}}}}}}}}}}}{{qif
              |test={{{given|{{{first|{{{given1|{{{first1|{{{initials|{{{initials1|}}}}}}}}}}}}}}}}}}
              |then=, {{{initials1|{{{given1|{{{first1|{{{initials|{{{given|{{{first}}}}}}}}}}}}}}}}}}
            }}
        }}}}}}
      }}
    |else={{{author1|{{{author
        |{{{surname1|{{{last1|{{{surname|{{{last}}}}}}}}}}}}{{qif
            |test={{{given|{{{first|{{{given1|{{{first1|{{{initials|{{{initials1}}}}}}}}}}}}}}}}}}
            |then=, {{{initials1|{{{given1|{{{first1|{{{initials|{{{given|{{{first}}}}}}}}}}}}}}}}}}
          }}
      }}}}}}
  }}{{qif
    |test={{{surname2|{{{last2|{{{author2|}}}}}}}}}
    |then={{qif
        |test={{{author3|{{{surname3|{{{last3|}}}}}}}}}
        |then=,&#32;
        |else=&#32;&amp;&#32;
      }}{{qif
        |test={{{authorlink2|}}}
        |then={{wikilink
          |1={{{authorlink2}}}
          |2={{{author2|{{{surname2|{{{last2|}}}}}}{{qif|test={{{given2|{{{first2|{{{initials2|}}}}}}}}}|then=, {{{initials2|{{{given2|{{{first2}}}}}}}}}}}}}}
        }}
        |else={{{author2|{{{surname2|{{{last2|}}}}}}{{qif|test={{{given2|{{{first2|{{{initials2|}}}}}}}}}|then=, {{{initials2|{{{given2|{{{first2}}}}}}}}}}}}}}
      }}{{qif
        |test={{{surname3|{{{last3|{{{author3|}}}}}}}}}
        |then=&#32;&amp; {{qif
          |test={{{authorlink3|}}}
          |then={{wikilink
            |1={{{authorlink3}}}
            |2={{{author3|{{{surname3|{{{last3|}}}}}}{{qif|test={{{given3|{{{first3|{{{initials3|}}}}}}}}}|then=, {{{initials3|{{{given3|{{{first3}}}}}}}}}}}}}}
            }}
          |else={{{author3|{{{surname3|{{{last3|}}}}}}{{qif|test={{{given3|{{{first3|{{{initials3|}}}}}}}}}|then=, {{{initials3|{{{given3|{{{first3}}}}}}}}}}}}}}
        }}{{qif
          |test={{{surname4|{{{last4|{{{author4|}}}}}}}}}
          |then=, et al.
        }}
      }}
  }}
  |…
}} ({{{year}}}){{qif
  |test={{{journal|{{{periodical|}}}}}}
  |then={{qif
      |test={{{title|}}}
      |then=, {{link|1={{{url|}}}|2="{{{title}}}"}}
    }}, ''{{{journal|{{{periodical}}}}}}''{{qif
      |test={{{volume|}}}
      |then=, vol. {{{volume}}}
    }}{{qif
      |test={{{issue|{{{number|}}}}}}
      |then=, no. {{{number|{{{issue}}}}}}
    }}{{qif
      |test={{{pages|}}}
      |then=, pp. {{{pages}}}
      |else={{qif
          |test={{{page|}}}
          |then=, p. {{{page}}}
        }}
    }}
  |else={{qif
      |test={{{chapter|{{{contribution|}}}}}}
      |then=, {{link|1={{{url|}}}|2="{{{chapter|{{{contribution}}}}}}"}} in {{qif
            |test={{{editor|}}}
            |then={{{editor}}}, ed.,&#32;
          }}''{{{title}}}''{{qif
              |test={{{edition|}}}
              |then=&#32;({{{edition}}} ed.)
          }}{{qif
              |test={{{publisher|}}}
              |then=, {{{publisher}}}
          }}{{qif
              |test={{{place|}}}
              |then=, {{{Place}}}
          }}{{qif
              |test={{{ISBN|{{{id|}}}}}}
              |then=, {{{id|ISBN {{{ISBN}}}}}}
          }}{{qif
            |test={{{pages|}}}
            |then=, pp. {{{pages}}}
            |else={{qif
              |test={{{page|}}}
              |then=, p. {{{page}}}
            }}
          }}
      |else={{qif
            |test={{{title|}}}
            |then=, {{link|1={{{url|}}}|2=''{{{title}}}''}}
          }}{{qif
              |test={{{edition|}}}
              |then=&#32;({{{edition}}} ed.)
          }}{{qif
              |test={{{publisher|}}}
              |then=, {{{publisher}}}
          }}{{qif
              |test={{{place|}}}
              |then=, {{{place}}}
          }}{{qif
              |test={{{ISBN|{{{id|}}}}}}
              |then=, {{{id|ISBN {{{ISBN}}}}}}
          }}
    }}
}}{{qif
    |test={{{accessdate|}}}
    |then=&#32;<nowiki>[</nowiki>{{{accessdate}}}<nowiki>]</nowiki>
}}</cite><noinclude>
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
'''This template is subject to periodic changes and breaking, and for now should be used only by testers and developers who can correct problems when they appear.'''
</noinclude>
</noinclude>

Latest revision as of 00:37, 2 September 2020