Skip to content

Commit

Permalink
Create trinity-college-dublin-zoology-botany-environmental-sciences-h… (
Browse files Browse the repository at this point in the history
#5893)

Style I've developed for a requestor via emails.
Requestor is Asst. Professor at TCD and style has been reviewed and signed off.
  • Loading branch information
POBrien333 committed Feb 7, 2022
1 parent 6bd742c commit 1a2ea12
Showing 1 changed file with 202 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>Trinity College Dublin - Zoology Botany Environmental Sciences - Harvard</title>
<title-short>TCD - ZOBOES</title-short>
<id>http://www.zotero.org/styles/trinity-college-dublin-zoology-botany-environmental-sciences-harvard</id>
<link href="http://www.zotero.org/styles/trinity-college-dublin-zoology-botany-environmental-sciences-harvard" rel="self"/>
<link href="http://www.zotero.org/styles/harvard-the-university-of-northampton" rel="template"/>
<link href="https://github.com/citation-style-language/styles/pull/5893" rel="documentation"/>
<author>
<email>obrienpat86@gmail.com</email>
<name>Patrick O'Brien</name>
</author>
<category citation-format="author-date"/>
<category field="science"/>
<updated>2022-01-31T08:45:30+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="en">
<terms>
<term name="accessed">visited</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" delimiter=", ">
<name and="symbol" initialize-with="." name-as-sort-order="all"/>
<label form="short" strip-periods="true" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter=", "/>
<label form="short" strip-periods="true" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " delimiter-precedes-last="never"/>
<et-al font-style="italic"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="access">
<choose>
<if type="webpage post-weblog post" match="any">
<group delimiter=". ">
<text variable="URL"/>
<group delimiter=": ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed">
<date-part name="day" form="ordinal" suffix=" "/>
<date-part name="month" suffix=" "/>
<date-part name="year"/>
</date>
</group>
</group>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
<text variable="title" text-case="title" font-style="italic"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="pages">
<group>
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</group>
</macro>
<macro name="number-of-pages">
<group delimiter=" ">
<text variable="number-of-pages"/>
<label variable="number-of-pages" form="short"/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="year-date"/>
<group>
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography hanging-indent="false">
<sort>
<key macro="author"/>
<key variable="title"/>
</sort>
<layout suffix=".">
<group delimiter=". ">
<text macro="author"/>
<date variable="issued" prefix="(" suffix=")">
<date-part name="year"/>
</date>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=". ">
<text macro="title"/>
<text macro="edition"/>
<text macro="editor"/>
<group delimiter=", ">
<text macro="publisher" prefix=" "/>
<text macro="number-of-pages"/>
</group>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=". " prefix=" ">
<text macro="title" prefix=" " suffix="."/>
<group delimiter=" ">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<text macro="editor"/>
</group>
<text variable="container-title" text-case="title" font-style="italic" suffix="."/>
<text variable="event" suffix="."/>
</group>
<text variable="collection-title" suffix="."/>
<group delimiter=", ">
<text macro="publisher" prefix=" "/>
<text macro="pages"/>
</group>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=". ">
<text macro="title"/>
<group delimiter=", ">
<text variable="genre"/>
<text macro="publisher"/>
</group>
<text macro="number-of-pages"/>
</group>
</else-if>
<else>
<group delimiter=". ">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
<group delimiter=", ">
<text variable="container-title" font-style="italic"/>
<group delimiter=": ">
<text variable="volume" font-weight="bold"/>
<text variable="page"/>
</group>
</group>
</group>
</else>
</choose>
</group>
<text prefix=" " macro="access" suffix="."/>
</layout>
</bibliography>
</style>

0 comments on commit 1a2ea12

Please sign in to comment.